bug-gnustep
[Top][All Lists]
Advanced

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

[bug #42717] Crash in -[NSBox(Private) calcSizesAllowingNegative:]


From: Yavor Doganov
Subject: [bug #42717] Crash in -[NSBox(Private) calcSizesAllowingNegative:]
Date: Mon, 14 Jul 2014 18:16:58 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

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/




reply via email to

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