Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Followup to Java apps Hanging on Jaguar



Hi Ron,

I ran Sampler and saved the report. I don't really know how to tell for sure
if the JVM is launched or the Carbon event loop started. Several threads
have JVM_GetClassMethodsCount at the top, another runFromPropertiesList,
another initializeStandaloneThread followed by RunApplicationEventLoop. Not
signs that my application has been called.

I couldn't get anywhere with gdb. It hung on "Reading symbols for shared
libraries.." Actually, the whole Terminal.app hung :-( I couldn't even force
quit Terminal... Logged in remotely and tried killing it from the command
line and that failed too. Didn't see a gdb process running. Had to use the
Windows-ish salute to clean it up :-(

If the app is hung *and* you have the +PrintJavaStackAtFatalState option set, try disabling that option. If there's a native code crash and then the JVM crashes whilst trying to print the Java stack, it tries to handle its own exception, and, since that thread is busy, you get the idea ...

One possibly interesting thing is all the threads seem to send with
JVM_NewInstance.

Since we strip most symbols out, this is probably misleading (but given the pc I can tell the real function).

Cheers,

Andy Belk
Holistic Software Detective, Java, Apple Computer, Inc.
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Followup to Java apps Hanging on Jaguar (From: Ronald Guest <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.