Hi all

> 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).
>> 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. 

I figured (rather guessed) that this has nothing to do with 

>> 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
> 

but rather with 

>> 2020-05-06 18:43:11.384 SOObjectBrowser[8177:8177] Warning: shmget() failed: 
>> Invalid argument.

shmget is not used by gui but by the backend.


/usr/src/GNUstep/libs-back# grep -r "shmget" .

./Source/x11/XWindowBuffer.m:    shminfo.shmid = shmget(IPC_PRIVATE,
./Source/x11/XWindowBuffer.m:        NSLog(@"XShm not supported, shmget() 
failed: %m.");
./Source/x11/XWindowBuffer.m:      wi->shminfo.shmid = shmget(IPC_PRIVATE,
./Source/x11/XWindowBuffer.m:          NSLog(@"Warning: shmget() failed: %m.");
./Source/x11/xutil.c:   rximg->info.shmid = shmget(IPC_PRIVATE, 

I get lost here. Any idea?

Thanks,

  Andreas

        • ... Andreas Höschler via Discussion list for the GNUstep programming environment
      • ... Liam Proven
        • ... Andreas Höschler via Discussion list for the GNUstep programming environment
          • ... Liam Proven
          • ... Johannes Brakensiek
            • ... Andreas Höschler via Discussion list for the GNUstep programming environment
  • ... Riccardo Mottola
    • ... Andreas Höschler via Discussion list for the GNUstep programming environment
      • ... Andreas Höschler via Discussion list for the GNUstep programming environment
        • ... Andreas Höschler via Discussion list for the GNUstep programming environment
          • ... Andreas Höschler via Discussion list for the GNUstep programming environment
            • ... Riccardo Mottola
              • ... Andreas Höschler via Discussion list for the GNUstep programming environment
              • ... Fred Kiefer
              • ... Fred Kiefer
              • ... Andreas Höschler via Discussion list for the GNUstep programming environment
              • ... Fred Kiefer
              • ... Andreas Höschler via Discussion list for the GNUstep programming environment
              • ... Fred Kiefer
              • ... Andreas Höschler via Discussion list for the GNUstep programming environment
              • ... Fred Kiefer

Reply via email to