[Jalview-discuss] Jalview applet freezing - deadlock?

James Procter jimp at compbio.dundee.ac.uk
Fri Apr 3 17:13:44 BST 2009


Hi Ian.

Thanks for the email - I'm glad integration was easy - we aim to please!

There have been some odd deadlock problems with the applet in the past -
they were very hard to track down because they were not reliably
reproducible. Hopefully this isn't the case here.

Firstly - do you experience the same hangs with any of the example pages
(either on www.jalview.org/examples/applets.html or
http://www.compbio.dundee.ac.uk/~ws-dev1/jalview/latest/applet/appletJavascript.html)

If these don't work then its a systemic problem - otherwise it must be
something peculiar to the CATH page. To further diagnose the problem,
could I also ask you to run the hotspot check again with a couple of
changes:

 1. use the version of the applet here:
http://www.compbio.dundee.ac.uk/~ws-dev1/jalview/latest/applet/debug/jalviewApplet.jar

 2. set the applet debug parameter by adding

<param name="debug" value="true"/>

    to the applet tag.

The debug flag means that gobs of information gets output to the console
- hopefully the last message that is emitted will tell me a bit more
about where the deadlock is occuring. The thread dump with the different
Jar should also include line numbers and class names, so I can see
precisely what's going on. As far as i can tell the deadlock is due to
two threads trying to grab the classloader at the same time - I have my
suspicions but I need to know for certain :)

When you've done all this, send me the info back directly rather than
posting to the list.

Cheers!
Jim.

-- 
-------------------------------------------------------------------
J. B. Procter  (ENFIN/VAMSAS)  Barton Bioinformatics Research Group
Phone/Fax:+44(0)1382 388734/345764  http://www.compbio.dundee.ac.uk
The University of Dundee is a Scottish Registered Charity, No. SC015096.



More information about the Jalview-discuss mailing list