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

When built with -O1, -calcSizesAllowingNegative: doesn't crash when called
from -setBorderType: (aType there is 3 as expected) but from
-setTitlePosition:


Breakpoint 1, -[NSBox setTitlePosition:] (self=0x921f6b0, 
    _cmd=0xb7edb618 <_OBJC_SELECTOR_TABLE+600>, aPosition=NSAtTop)
    at NSBox.m:192
192     {
(gdb) n
193       if (_title_position != aPosition)
(gdb) 
195           _title_position = aPosition;
(gdb) 
196           [_content_view setFrame: [self calcSizesAllowingNegative: NO]];
(gdb) 

Program received signal SIGSEGV, Segmentation fault.
0x0921f6c9 in ?? ()
(gdb) bt
#0  0x0921f6c9 in ?? ()
#1  0x42500000 in ?? ()
#2  0x00180071 in ?? ()
#3  0xb7edab8b in _OBJC_METH_VAR_TYPE_5 ()
   from /usr/lib/libgnustep-gui.so.0.24
#4  0x00120056 in ?? ()
#5  0xb7edab95 in _OBJC_METH_VAR_TYPE_4 ()
   from /usr/lib/libgnustep-gui.so.0.24
#6  0x000c0080 in ?? ()
#7  0xb7edab95 in _OBJC_METH_VAR_TYPE_4 ()
   from /usr/lib/libgnustep-gui.so.0.24
#8  0x00190069 in ?? ()
#9  0xb7edab95 in _OBJC_METH_VAR_TYPE_4 ()
   from /usr/lib/libgnustep-gui.so.0.24
#10 0x000f0036 in ?? ()
#11 0xb7edab6c in _OBJC_METH_VAR_TYPE_15 ()
   from /usr/lib/libgnustep-gui.so.0.24
#12 0x000d0080 in ?? ()
#13 0xb7edab6c in _OBJC_METH_VAR_TYPE_15 ()
   from /usr/lib/libgnustep-gui.so.0.24
#14 0x000e0080 in ?? ()
#15 0xb7edab20 in _OBJC_METH_VAR_TYPE_17 ()
   from /usr/lib/libgnustep-gui.so.0.24
#16 0x00090001 in ?? ()
#17 0xb7edab6c in _OBJC_METH_VAR_TYPE_15 ()
   from /usr/lib/libgnustep-gui.so.0.24
#18 0x000a0001 in ?? ()
#19 0xb7eda9a7 in _OBJC_METH_VAR_TYPE_85 ()
   from /usr/lib/libgnustep-gui.so.0.24
#20 0x00130003 in ?? ()
#21 0xb7eda991 in _OBJC_METH_VAR_TYPE_87 ()
   from /usr/lib/libgnustep-gui.so.0.24
#22 0x000f0080 in ?? ()
#23 0xb7edaafb in _OBJC_METH_VAR_TYPE_21 ()
   from /usr/lib/libgnustep-gui.so.0.24
#24 0x00100080 in ?? ()
#25 0xb7eda940 in ?? () from /usr/lib/libgnustep-gui.so.0.24
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Corrupt stack again.

    _______________________________________________________

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