[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gui apps segfault on Linux/x86/clang/libobjc2
From: |
Fred Kiefer |
Subject: |
Re: gui apps segfault on Linux/x86/clang/libobjc2 |
Date: |
Fri, 30 Nov 2018 08:58:54 +0100 |
Hi Riccardo,
my advise is as always, run this application under valgrind and let it figure
out what is going wrong here. As the issue itself is happening somewhere inside
of libX11 it is highly likely that this isn’t a GNUstep problem.
Cheers
Fred
> Am 30.11.2018 um 00:45 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:
>
> Hi,
>
> on plain Linux/x86, using clang, a simple gui app like Ink fails to start:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xb3ecb101 in xcb_writev () from /usr/lib/libxcb.so.1
> (gdb) bt
> #0 0xb3ecb101 in xcb_writev () from /usr/lib/libxcb.so.1
> #1 0xb40653ce in _XSend () from /usr/lib/libX11.so.6
> #2 0xb40659c1 in _XReply () from /usr/lib/libX11.so.6
> #3 0xb404b45e in XGetWindowProperty () from /usr/lib/libX11.so.6
> #4 0xb404a253 in XGetIconSizes () from /usr/lib/libX11.so.6
> #5 0xb443ba49 in -[XGServer(WindowOps) iconSize] (self=0x8434cd4,
> _cmd=0xb7f74b18 <.objc_selector_list+64>)
> at XGServerWindow.m:4565
> #6 0xb7d418ce in GSGetIconSize () from
> /System/Library/Libraries/libgnustep-gui.so.0.26
> #7 0xb7a56180 in +[NSAppIconView initialize] () from
> /System/Library/Libraries/libgnustep-gui.so.0.26
> #8 0xb714015c in objc_send_initialize () from
> /System/Library/Libraries/libobjc.so.4.6
> #9 0xb714c4d8 in slowMsgLookup () from
> /System/Library/Libraries/libobjc.so.4.6
> #10 0xb71525e1 in objc_msgSend () from
> /System/Library/Libraries/libobjc.so.4.6
> #11 0xb7a6243d in -[NSApplication(Private) _appIconInit] () from
> /System/Library/Libraries/libgnustep-gui.so.0.26
> #12 0xb7a57e3b in -[NSApplication _init] () from
> /System/Library/Libraries/libgnustep-gui.so.0.26
> #13 0xb74551a2 in -[NSObject performSelector:withObject:] () from
> /System/Library/Libraries/libgnustep-base.so.1.25
> #14 0xb74eb575 in -[NSObject(NSThreadPerformAdditions)
> performSelector:onThread:withObject:waitUntilDone:modes:] ()
> from /System/Library/Libraries/libgnustep-base.so.1.25
> #15 0xb74eb1ef in -[NSObject(NSThreadPerformAdditions)
> performSelectorOnMainThread:withObject:waitUntilDone:modes:] ()
> from /System/Library/Libraries/libgnustep-base.so.1.25
> #16 0xb74eb294 in -[NSObject(NSThreadPerformAdditions)
> performSelectorOnMainThread:withObject:waitUntilDone:] ()
> from /System/Library/Libraries/libgnustep-base.so.1.25
> #17 0xb7a58220 in -[NSApplication init] () from
> /System/Library/Libraries/libgnustep-gui.so.0.26
> #18 0xb7a579bf in +[NSApplication sharedApplication] () from
> /System/Library/Libraries/libgnustep-gui.so.0.26
> #19 0xb7a2c6f5 in NSApplicationMain () from
> /System/Library/Libraries/libgnustep-gui.so.0.26
> #20 0x0804aae0 in main (argc=<optimized out>, argv=<optimized out>,
> env=<optimized out>) at main.m:33
>
> I somehow have a de-ja-vu about iconsize, but it was fixed by Wolfgang Months
> ago!
>
> What's wrong??
>
> Riccardo
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep