Follow-up Comment #5, bug #42717 (project gnustep):

Moving the NSTitleCell decoding at the beginning as in the attached patch
makes Cenon load with 0.24.0.  -calcSizesAllowingNegative: accesses _cell so
at first glance it looks like the correct change.  However, if I apply the
patch against trunk I get a different crash:

Program received signal SIGSEGV, Segmentation fault.
0xb753c05b in objc_msg_lookup (receiver=0x548b5a59, 
    op=0xb7f392b8 <_OBJC_SELECTOR_TABLE+568>)
    at /build/gcc-4.9-C54cEj/gcc-4.9-4.9.0/src/libobjc/sendmsg.c:448
448     /build/gcc-4.9-C54cEj/gcc-4.9-4.9.0/src/libobjc/sendmsg.c: Няма
такъв файл или директория.
(gdb) bt
#0  0xb753c05b in objc_msg_lookup (receiver=0x548b5a59, 
    op=0xb7f392b8 <_OBJC_SELECTOR_TABLE+568>)
    at /build/gcc-4.9-C54cEj/gcc-4.9-4.9.0/src/libobjc/sendmsg.c:448
#1  0xb7c12567 in -[NSMenu(GNUstepPrivate) _setGeometry] (
    self=0xb7d1c173 <-[NSMenu(NibCompatibility) _setMain:]+675>, 
    _cmd=0x8a722a0) at NSMenu.m:505
#2  0x08a722a0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


(file #31714)
    _______________________________________________________

Additional Item Attachment:

File name: nsbox.patch                    Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42717>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to