Alex Nicolaou wrote:
| 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)?
What have you done so far? What steps have you taken to isolate the problem?
What happens before the crash? How much can you change that and still have
the crash occur? Does it happen in *any* browser, or only particular ones?
Does it happen if you run the applet standalone (outside of a browser)? Does
it happen only after specific steps are taken, or does it happen no matter
what the user does? Etc.
I continually marvel at the number of *developers* who apparently believe
that posting messages that say little more than "My program doesn't work.
How can I fix it?" will yield useful advice. I can understand *customers*
saying such things, but I'd think that developers would know that debugging
requires *information*. Lots of it, Yet, time after time, we see
information-free posts that nonetheless ask for specific fixes and
workarounds to vaguely-described problems.
So. How to debug your applet?
1. Don't presume. Find out.
2. Use the usual debugging techniques.
3. Simplify, simplify, simplify.
Ask a vague question, get a vague answer. Give us detailed, hard
information, and we might be able to offer more concrete, helpful advice.
Glen Fisher
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden