discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep app fails on Ubuntu 16


From: Andreas Höschler
Subject: Re: GNUstep app fails on Ubuntu 16
Date: Thu, 7 May 2020 01:01:44 +0200

Hi all,

The app used to be source code compatible with GNUstep, meaning that I just had to compile the complete software stack (a dozen frameworks, some bundles and the app) on GNUstep and were ready to go. However, I have only really used the app on Solaris 10 with some ancient GNUstep tree so far (worked perfectly). This is my first (serious) attempt to get it to run on Linux with latest GNUstep sources.

The cairo backend produces 

2020-05-06 18:04:06.087 SOObjectBrowser[2483:2483] Cairo status 'invalid value (typically too big) for the size of the input (surface, pattern, etc.)' in DPSinitgraphics
2020-05-06 18:04:06.087 SOObjectBrowser[2483:2483] returning controller <FBMarkupController: 0x276b8b0>
2020-05-06 18:04:06.092 SOObjectBrowser[2483:2483] WARNING: -drawGState called with a NULL target context ((null)) or source context (0x5ef4b50)
2020-05-06 18:04:06.102 SOObjectBrowser[2483:2483] WARNING: -drawGState called with a NULL target context ((null)) or source context (0x6251360)
...

and the libart backend

2020-05-06 18:43:11.295 SOObjectBrowser[8177:8177] File NSView.m: 1183. In -[NSView setFrame:] given negative width
2020-05-06 18:43:11.295 SOObjectBrowser[8177:8177] File NSView.m: 1188. In -[NSView setFrame:] given negative height
2020-05-06 18:43:11.384 SOObjectBrowser[8177:8177] Warning: shmget() failed: Invalid argument.
2020-05-06 18:43:11.384 SOObjectBrowser[8177:8177] Falling back to normal XImage (will be slower).
2020-05-06 18:43:11.384 SOObjectBrowser[8177:8177] Warning: failed to create image for window!
2020-05-06 18:43:11.387 SOObjectBrowser[8177:8177] Warning: shmget() failed: Invalid argument.
2020-05-06 18:43:11.387 SOObjectBrowser[8177:8177] Falling back to normal XImage (will be slower).
2020-05-06 18:43:11.387 SOObjectBrowser[8177:8177] Warning: failed to create image for window!
2020-05-06 18:43:12.696 SOObjectBrowser[8177:8177] X-Windows error - BadAlloc (insufficient resources for operation)
          on display: :0
                type: 0
       serial number: 21442
        request code: 130
2020-05-06 18:43:12.697 SOObjectBrowser[8177:8177] X-Windows error - BadPixmap (invalid Pixmap parameter)
          on display: :0
                type: 0
       serial number: 21443
        request code: 2


I googled some more and found this



$ ProjectCenter
Xlib:  extension "MIT-SHM" missing on display "localhost:11.0".
2009-02-09 20:43:11.131 ProjectCenter[9121] File NSView.m: 524. In [GSBackendWindowDecorationView -initWithFrame:] given negative width
2009-02-09 20:43:11.132 ProjectCenter[9121] File NSView.m: 529. In [GSBackendWindowDecorationView -initWithFrame:] given negative height
2009-02-09 20:43:11.140 ProjectCenter[9121] File NSView.m: 1082. In [GSBackendWindowDecorationView -setFrame:] given negative width
2009-02-09 20:43:11.140 ProjectCenter[9121] File NSView.m: 1087. In [GSBackendWindowDecorationView -setFrame:] given negative height
2009-02-09 20:43:11.156 ProjectCenter[9121] X-Windows error - BadAlloc (insufficient resources for operation)
          on display: localhost:11.0
                type: 0
       serial number: 3174
        request code: 53


Charles Philip Chan wrote:
2002-10-26 22:41:11.699 GWorkspace[3495] Warning: shmget() failed:
Invalid argument. Falling back to normal XImage:s (will be slower).
2002-10-26 22:41:11.743 GWorkspace[3495] Warning: failed to create image
for window! 2002-10-26 22:41:11.876 GWorkspace[3495] X-Windows error -
BadAlloc (insufficient resources for operation)          on display:
I assume this worked before with the same setup (art backend, etc)? Do you have problems with other images or just gifs? It seems to me some of the errors about may be causing this, but I don't really know. Maybe you could try it with the standard xlib backend.
Do you have WindowMaker installed?

You might also try starting the programs with --GNU-Debug=NSImage and looking for things like:
2002-10-26 20:10:16.893 ImageViewer[21857] Loading /home/users/fedor/align_pics/rx7/rx2s-0s.gif using wraster routines
2002-10-26 20:10:16.989 ImageViewer[21857] Cached image rep is 271589528
2002-10-26 20:10:17.002 ImageViewer[21857] Drawing in rect (0.000000 0.000000 510.000000 483.000000) 2002-10-26 20:10:17.217 ImageViewer[21857] Rendered rep 271589528 on background { ColorSpace = "NSCalibratedWhiteColorSpace"; W = "0.333000"; Alpha = "1.000000"; } 2002-10-26 20:10:17.226 ImageViewer[21857] composite rect {x=0; y=0; width=510; height=483} in {x=0; y=0; width=510; height=483}
It might give some additional info.

So others encountered this as well!?

Regards,

 Andreas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]