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: Fred Kiefer
Subject: [bug #42717] Crash in -[NSBox(Private) calcSizesAllowingNegative:]
Date: Mon, 14 Jul 2014 21:27:13 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0

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

Thank you for finding the commit that caused this problem. If you look at the
files included in that commit you will find that it also includes a lot of
other changes that actually result in the XIB file being loaded completely not
just parts of it. If I remember correctly this was the time when I added the
reading of the flattend properties, that is all the out of line changes in the
XIB file.
It could well be that we handle one of these extra properties incorrectly. 
Now it would be very helpful to know which of the 12 XIB files included in
Cenon is causing the issue. To find that out it should be sufficient to start
Cenon with the parameter --GNU-Debug=dflt
that should output the file it is currently loading.
With that information I could have a look at the XIB file to see if there is
anything special.

You should also use --GNU-Debug=XIB to get more details about the XIB
loading.

I really think that you are on to something and most likely it is in the XIB
loading code, not just in the NSBox code. Although the code there in
initWithCoder: could be improved a lot. It uses the calcSizesAllowingNegative:
method way too often.

One other thing that you could try is to run Cenon with valgrind the memcheck
setup. If you need help with that, I can provide it.



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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