gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crashes in GUI when applying a theme (Thematic)


From: Riccardo Mottola
Subject: Re: Crashes in GUI when applying a theme (Thematic)
Date: Sun, 22 Nov 2020 23:09:59 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 SeaMonkey/2.53.5.1

Hi,


Riccardo Mottola wrote:
#0 0x00007ffff72103ab in objc_msg_lookup () from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libobjc.so.4 #1  0x00007ffff7bf976c in -[NSMenuView sizeToFit] (self=0x555555da3560, _cmd=<optimized out>)
    at /System/Library/Headers/GNUstepBase/GSIArray.h:237
#2  0x00007ffff7befa79 in -[NSMenu sizeToFit] (self=0x555555db63f0, _cmd=<optimized out>) at NSMenu.m:1562

after a debugging evening with Fred, I know more, but am not much wiser.

[NSMenuView sizeToFit] calls _attachedMenu and [attachedMenu _owningPopUp] and the latter must be invalid because, if checked with "po" in gdb, it will crash. _owningPopUp just returns _popUpButtonCell which is set and trying to print directly _attachedMenu->_popUpButtonCell does work, as inspecting it with p *(_attachedMenu->_popUpButtonCell) but sometimes I found the isa pointer to be 0x0 or in any case not accessible.

So we suppose that either somehow has already invalidated the object or there is memory overwriting.
Where in the chain Thematic - gui - base the issue is, remains open!


Riccardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]