Hi, Riccardo!

> On 17 Dec 2019, at 00:57, Riccardo Mottola <riccardo.mott...@libero.it> wrote:
> 
> Hi!
> 
> I was testing Niels gnustep-make patch and while I discovered the issue with 
> "gnu-gnu-gnu" and clang-libobjc2, I actually found out that also ng-gnu-gnu 
> is not working anymore.
> 
> On FreeBSD - amd64 / clang, I get this stacktrace:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000008013a38dc in -[GSStandardWindowDecorationView updateRects] 
> (self=0x808d66e08, _cmd=0x8018dd400)
>     at GSStandardWindowDecorationView.m:98
> 98        if (hasTitleBar)
> Current language:  auto; currently minimal
> (gdb) bt
> #0  0x00000008013a38dc in -[GSStandardWindowDecorationView updateRects] 
> (self=0x808d66e08, _cmd=0x8018dd400)
>     at GSStandardWindowDecorationView.m:98
> #1  0x00000008013a46e3 in -[GSStandardWindowDecorationView 
> initWithFrame:window:] (self=0x808d66e08, _cmd=0x8018e0888,
>     frame={origin = {x = 0, y = 0}, size = {width = 0, height = 0}}, 
> w=0x808fd9408)
>     at GSStandardWindowDecorationView.m:167
> #2  0x00000008013a67b9 in +[GSWindowDecorationView 
> newWindowDecorationViewWithFrame:window:] (self=0x808874320,
>     _cmd=0x801860e38, frame={origin = {x = 0, y = 0}, size = {width = 0, 
> height = 0}}, aWindow=0x808fd9408)
>     at GSWindowDecorationView.m:77
> #3  0x00000008012f6862 in -[NSWindow 
> initWithContentRect:styleMask:backing:defer:] (self=0x808fd9408, 
> _cmd=0x801860b48,
>     contentRect={origin = {x = 0, y = 0}, size = {width = 0, height = 0}}, 
> aStyle=64, bufferingType=0, flag=0 '\0')
>     at NSWindow.m:1077
> #4  0x00000008012f6c49 in -[NSWindow 
> initWithContentRect:styleMask:backing:defer:screen:] (self=0x808fd9408,
>     _cmd=0x8016db960, contentRect={origin = {x = 0, y = 0}, size = {width = 
> 0, height = 0}}, aStyle=64, bufferingType=0,
>     flag=0 '\0', aScreen=0x0) at NSWindow.m:1140
> #5  0x00000008010c3e76 in -[NSApplication(Private) _appIconInit] 
> (self=0x808bf0e88, _cmd=0x8016db2a0)
>     at NSApplication.m:3884
> #6  0x00000008010ba724 in -[NSApplication _init] (self=0x808bf0e88, 
> _cmd=0x8016da940) at NSApplication.m:932
> #7  0x0000000801ec4c4b in -[NSObject performSelector:withObject:] ()
>    from /System/Library/Libraries/libgnustep-base.so.1.27
> #8  0x0000000801f60546 in -[NSObject(NSThreadPerformAdditions) 
> performSelector:onThread:withObject:waitUntilDone:modes:]
>     () from /System/Library/Libraries/libgnustep-base.so.1.27
> #9  0x0000000801f60256 in -[NSObject(NSThreadPerformAdditions) 
> performSelectorOnMainThread:withObject:waitUntilDone:modes:] () from 
> /System/Library/Libraries/libgnustep-base.so.1.27
> #10 0x0000000801f602d1 in -[NSObject(NSThreadPerformAdditions) 
> performSelectorOnMainThread:withObject:waitUntilDone:] ()
>    from /System/Library/Libraries/libgnustep-base.so.1.27
> #11 0x00000008010baa7f in -[NSApplication init] (self=0x808bf0e88, 
> _cmd=0x8016db180) at NSApplication.m:986
> #12 0x00000008010ba300 in +[NSApplication sharedApplication] 
> (self=0x808ac57a0, _cmd=0x8016c58c0) at NSApplication.m:858
> #13 0x0000000801091ccd in NSApplicationMain (argc=1, argv=0x7fffffffe7b0) at 
> Functions.m:78
> 
> 
> I don't think this has any relations to the runtime options checking, hasn't 
> it?
> 
> Riccardo
> 

I seems like old fixed bug in libobjc2. Look here 
https://github.com/gnustep/libobjc2/issues/96 
<https://github.com/gnustep/libobjc2/issues/96>.
What version of libobjc2 are you using?

Sergii

Reply via email to