The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   Omni Frameworks (http://forums.omnigroup.com/forumdisplay.php?f=16)
-   -   OFTrieNode dealloc crash on PPC only. (http://forums.omnigroup.com/showthread.php?t=14369)

blachman 2009-11-02 10:59 AM

OFTrieNode dealloc crash on PPC only.
 
OFtrieNode recently started crashing on me. But only for PPC users or when I build on Snow Leopard and run on Leopard. This seems odd. I've tried building using various version os GCC but that doesn't seem to help.

OFTrieNode's dealloc method looks like this:

- (void)dealloc;
{
unsigned int childIndex;
NSZone *myZone;

myZone = [self zone];
for (childIndex = 0; childIndex < childCount; childIndex++)
[children[childIndex] release];
NSZoneFree(myZone, characters);
NSZoneFree(myZone, children);
[super dealloc];
}

It finally crashes on myZone = [self zone]; after about two thousand frames in the for loop. This makes we think there's a odd circular reference in the trie, but the fact that it works fine on most machines has me confused. Anyone have any ideas?

Thanks,

Ben


All times are GMT -8. The time now is 08:32 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.