Update of bug #41111 (project gnustep):

                  Status:               Need Info => Fixed                  
             Open/Closed:                    Open => In Test                

    _______________________________________________________

Follow-up Comment #3:

Hmm … after spending a long time looking at this (and into the runtime code
a little), it seems the report is rather misleading.

Firstly, the test case is broken to always fail because it depends on the
associated object being deallocated, and that object is in an autorelease pool
which won't be deallocated until *after* the test takes place.
i fixed that.

Secondly, the two code snippets *do* behave identically on my system at least;
the suggested code fix doesn't work.

It seems the actual problem is in the logic of the check for small objects
earlier … which was causing the deallocation to start with the wrong class. 
I reversed the logic of the test in svn trunk, and I think that fixes the
issue.

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to