|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
I have an applet which reliably crashes the VM during garbage collection
(at least, I presume it is during garbage collection because of the
following message). For example:
objc: FREED(id): message finish sent to freed object=0x3ad3c0
Does anyone have any recommendations for debugging this (obviously I am
in search of a workaround that will avoid the VM crashing)?
This error message is coming from the Objective-C runtime, complaining about reuse of an already-deallocated Objective-C object.
The fault is likely to be in Apple's AWT/Swing implementation, which is Objective-C based. Alternatively, if you have JNI code that manipulates Objective-C objects directly, it might be your fault.
First, you should try enabling NSZombie, which is an Objective-C debugging mechanism. A good description is http://www.cocoadev.com/index.pl?DebuggingAutorelease (Since your code is an applet, you should run Safari or appletviewer with those settings.)
-- Greg Parker email@hidden Runtime Wrangler
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.