|
From: | Andreas Höschler |
Subject: | Re: GNUstep app fails on Ubuntu 16 |
Date: | Wed, 6 May 2020 18:50:06 +0200 |
Hi all,
apt-get install libart-2.0-dev cd /usr/src/GNUstep cd libs-back ./configure --enable-graphics=art ... ## ------- ## ## WARNING ## ## ------- ## You are about to build the art backend which is deprecated and likely to be removed in the future. make make install cd .. I have retried my application under art. When I open one of the problematic forms I now get 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 and the app fails (hangs). Hmmgh!! Could the problem be related to this 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 message? My code works on MacOSX and used to work on older GNUstep releases. This of course does not mean much. There could still be a problem that is tolerated by the other two environments. I will try to figure out where this "given negative ..." stuff comes from. However, if this already rings any bells I would be glad to hear your suggestions. Thanks, Andreas |
[Prev in Thread] | Current Thread | [Next in Thread] |