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: SwingUtilities.invokeLater hang or deadlock



charles chen wrote:

>.... I'm getting reproducible hangs & deadlocks calling that very same
>function: SwingUtilities.invokeLater(Runnable r).
>
>The runnable is never invoked, and the function never returns.  CPU usage
>is nil, the application gets tagged as "not responding" and must be force
>quit.

Trigger a full thread-dump to the console by sending a QUIT signal:
  kill -QUIT pid

where pid is the process-ID of the wedged process.  Then look for deadlocks.

Use 'ps -lax' to find the pid.  Or look in Activity Monitor.app.  Console
output from a double-clicked Java app appears in the console log of
Console.app.  Both utilities are in /Applications/Utilities.


>    1.8 ghz powerpc g5, patched today.

Which patch did you apply today?

Did SwingUtilities.invokeLater() work before you applied today's patch?

  -- GG


 _______________________________________________
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



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.