Posted by
Harry Parker on
URL: http://imagej.273.s1.nabble.com/imageJ-instability-tp3699327p3699329.html
Thanks, Curtis, for the debugging technique.
I've attached the stack trace created just as you described, except I used an external Java, 1.6.
Hope this helps.
--
Harry Parker
Senior Systems Engineer
Digital Imaging Systems, Inc.
----- Original Message ----
From: Curtis Rueden <
[hidden email]>
To:
[hidden email]
Sent: Monday, May 21, 2007 2:28:23 PM
Subject: Re: imageJ instability?
Hi Harry & Winnok,
Winnok De Vos wrote:
> I will try debug mode. Is there something else I can try?
Harry Parker wrote:
> Its not consistent, so I think its some kind of thread deadlock related problem.
If you are feeling investigative, one thing you can do is obtain a
full stack trace. How to do so depends on your operating system. On
Windows (version bundled with JRE):
Click Start, All Programs, Accessories, Command Prompt. In the window, type:
C:\Documents and Settings\curtis>cd "C:\Program Files\ImageJ"
C:\Program Files\ImageJ>jre\bin\java -mx256m -jar ij.jar
Perform the operations that cause the deadlock (if it doesn't happen,
just close the program and try again). Then click the Command Prompt
window and press Ctrl+Pause (for Mac and Linux, the combo is Ctrl+\).
You should see a whole bunch of text, similar to:
Full thread dump Java HotSpot(TM) Client VM (1.5.0_09-b01 mixed mode):
"DestroyJavaVM" prio=6 tid=0x000354a0 nid=0xdf4 waiting on condition [0x00000000
..0x0007fae8]
"SocketListener" prio=6 tid=0x16e83980 nid=0x758 runnable [0x1715f000..0x1715fd6
8]
at java.net.PlainSocketImpl.socketAccept(Native Method)
...................
You can right-click, choose "Mark", select all the text, press enter,
then paste it into an email message. This information can be useful
for showing lines of code within ImageJ (if any) where the program is
stuck. It can also report certain kinds of deadlocks.
-Curtis
On 5/21/07, Harry Parker <
[hidden email]> wrote:
> Hi all,
>
> On my Windows system, the only lockup issue I've seen is when closing ImageJ with 2 or more images open.
> This happens most often after I've used one of my custom filter plugins. What happens is the "Save changes to ...?" dialog comes up empty (buttons but no text in window). Then I must use the task manager to abort ImageJ. Its not consistent, so I think its some kind of thread deadlock related problem. It doesn't happen when I'm in Debug Mode. (The Heisenberg Uncertainty Principle applied to software?)
>
> --
> Harry Parker
> Senior Systems Engineer
> Digital Imaging Systems, Inc.
>
> ----- Original Message ----
> From: Winnok De Vos <
[hidden email]>
> To:
[hidden email]
> Sent: Friday, May 18, 2007 1:43:05 PM
> Subject: imageJ instability?
>
> Dear all,
>
> Lately I have been experiencing some stability problems with imageJ which seem
> to worsen. When I duplicate or crop a couple of images or run other commands
> that create a new window it quite often causes imageJ to crash, ie the window
> remains white and I have no other option but to close imageJ using a complete
> process closing. I have tried changing the memory settings but this has no
> influence whatsoever. I also tried reinstalling imageJ but this didn't prove
> succesfull either. Has anybody encountered such instability? How can I resolve
> this issue?
> Many thanks in advance.
> Kind regards,
> winnok
>
> --
> assistent prof. P. Van Oostveldt
> Dep. Moleculaire Biotechnologie
> Fac. Toegepaste Landbouwwetenschappen, Ugent
> Coupure links 653
> 9000 Gent
> tel. (0032) 09/264.59.71
>
>
>
>
>
>
> ____________________________________________________________________________________Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.
>
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php>
____________________________________________________________________________________Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC