crash in GUI / ProjectCenter

Riccardo Mottola <[email protected]> Mon, 2 Jan 2023 01:11:10 +0100
Newsgroups gmane.comp.lib.gnustep.devel
Organization GNUstep
Message-ID <[email protected]>
Hi,

I am able to produce a crash in ProjectCenter, by opening a project, 
selecting a file to edit and then closing the project. If I just open 
and close a project, nothing happens. So it appears to depend by the 
presence of the editor.

I noticed this on my Rasperry PI so arm6, but now I can reproduce it on 
x86-64 too. Hmm.

#0  0xb6586340 in objc_msg_lookup ()
    from /usr/lib/arm-linux-gnueabihf/libobjc.so.4
#1  0xb6cba1e0 in -[NSSplitView _dividerRectForIndex:] (self=0x509a68,
     _cmd=<optimized out>, index=0) at NSSplitView.m:107
#2  0xb6cbc7e8 in -[NSSplitView resetCursorRects] (self=0x509a68,
     _cmd=<optimized out>) at NSSplitView.m:1399
#3  0xb6d356c4 in resetCursorRectsForView (theView=0x509a68) at 
NSWindow.m:3002
#4  0xb6d35750 in resetCursorRectsForView (theView=<optimized out>)
     at NSWindow.m:3017
#5  0xb6d35750 in resetCursorRectsForView (theView=<optimized out>)
     at NSWindow.m:3017
#6  0xb6d37510 in -[NSWindow resetCursorRects] (self=0x539328,
     _cmd=<optimized out>) at NSWindow.m:3189
#7  0xb6d39b58 in -[NSWindow sendEvent:] (self=0x539328, _cmd=<optimized 
out>,
     theEvent=0x1691d8) at NSWindow.m:4073
#8  0xb6b807c4 in -[NSApplication run] (self=0x1d8a78, _cmd=<optimized out>)
     at NSApplication.m:1585
#9  0xb6b5eed4 in NSApplicationMain (argc=<optimized out>,
     argv=<optimized out>) at Functions.m:119
#10 0xb637b294 in __libc_start_main (main=0xbefff3e4, argc=-1236664320,
     argv=0xb637b294 <__libc_start_main+276>, init=<optimized out>,
     fini=0x164d8 <__libc_csu_fini>, rtld_fini=0xb6fdfa14 <_dl_fini>,
     stack_end=0xbefff3e4) at libc-start.c:287


106       // Check with delegate for hit rect...
107       if (_delegate && [_delegate respondsToSelector: selector])

(gdb) p _delegate
$1 = (struct objc_object *) 0x3161e8

if I po _delegate, then I get a crash, appears it is not valid.


I try to understand if this is more a GUI or a ProjectCenter issueq