Posted by
Wayne Rasband on
Feb 14, 2006; 10:13pm
URL: http://imagej.273.s1.nabble.com/Re-ImageJ-hangs-tp3703621p3703622.html
> in the last weeks I noticed that my (until now perfectly
> running) ImageJ hangs when I want to close more then 3-4
> windows with images (one by one). There is all the time the
> message "cancel" "save as" "OK" but the Java is not
> responding. This behaviour is on my 2 computers, Java is
> 1.5.0_06 or 1.5.0_03 respectively.
This sounds like a thread deadlock. It would help if you could generate
a thread dump and send it to me (
[hidden email]).
The method used to generate a thread dump differs depending on the
platform:
Windows:
Press Ctrl-Break in the command console. This requires that
you either start ImageJ from the command line or edit the
second line of ImageJ.cfg and change "javaw.exe" to "java.exe".
Mac OS X:
Open a Terminal window and find the process id of the Java
VM running ImageJ by entering "ps -ax". Then generate a
thread dump by sending the QUIT signal to this process by
entering "kill -QUIT process_id". The output will be sent to
the /Applications/Utilities/Console window.
Linux (or MAC OS X):
Press Ctrl-\ in the terminal window you used to start ImageJ.
-wayne