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: Thu, 10 Jul 2014 09:42:35 +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 #2, bug #42717 (project gnustep):

Yep, I noticed that dubious aFlag too.  It looks like it is exactly the same
problem that was reported in 2013.

If I put a break on -[NSBox setBorderType:], aType is garbage (10-digit
number) instead of the expected value of 3.  Going further back to
-[GSXibKeyedUnarchiver decodeObjectForXib:forClassName:withID:], "o" is
optimized on i386, while it is not on amd64.  So I tried with gnustep-gui
rebuilt with no optimization (-O0) and the problem doesn't happen -- Cenon
starts and works.  Hope that this gives you some clue.  

It seems that -allocObjectForClassName: doesn't return a valid object and then
it gets messy in -initWithCoder:.  But I may be wrong here.
I'd appreciate any directions how to proceed further.

    _______________________________________________________

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]