Re: "Cannot finalize a class object"
Re: "Cannot finalize a class object"
- Subject: Re: "Cannot finalize a class object"
- From: Bill Bumgarner <email@hidden>
- Date: Wed, 07 Jan 2009 10:51:00 -0800
On Jan 6, 2009, at 9:08 PM, Nick Zitzmann wrote:
The first thing it does is it calls objc_startCollectorThread() at
the top of main(). Then later on in main(), I call an object's class
method. Shortly afterward, I get the strangest exception on the
collector thread:
*** +[CHException<0x1038140> finalize]: cannot finalize a class object
I wish I could ignore this, but unfortunately, the collector doesn't
seem to recover from finalization exceptions very well, and the app
crashes when attempting to allocate some scanned memory shortly
afterward. I can take out this class method; it's not terribly
important to the program's execution, but why is this happening and
how do I work around this (other than taking it out)?
That is bizarre. Please file a bug and attach the binary or, better,
a simple source example (but, really, binary is sufficient).
thanks,
b.bum
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden