On 11 Dec 2010, at 21:27, Christopher Armstrong wrote: > It wouldn't happen to be related to this, would it? > > http://savannah.gnu.org/bugs/?31830
It's possible. I can't reproduce that. The problem there is that NSObject is sending a message to NSZombie in its initalize method. For some reason, the runtime is not finding the method for [NSZombie class], so is invoking the forwarding mechanism. The forwarding mechanism generates some autoreleased objects, but autoreleasing doesn't work until NSObject's +initialize has finished running. The thing I don't understand is why it can't find the method for [NSZombie +class]. It appears to be finding the NSZombie class. Maybe you could take a look at the class structure and dtable and see if you can find what's wrong? David P.S. Did you compile libobjc2 with clang? There was a strange bug in one of the LLVM optimisations that I haven't tracked down yet that was causing it to do nonsense instead of a sane dtable lookup. -- Sent from my Cray X1 _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
