firefox hangs for applets using JSObject.getWindow, strace shows EAGAIN repeatedly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox-3.0 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: firefox
http://
It uses a java applet to display mapping, and interacts with javascript on the surrounding page.
You have to log in to see the page, but it's a free registration.
Currently on my machine firefox hangs when launching plans ahead, leaving one of my cpus at 100%.
I get a grey box where the applet would be, and firefox stops rendering completely (dragging another window over firefox leaves a trail that never gets cleared up).
I was on jre 1.6.0_10, I tried updating to jre 1.6.0_12-b04 (the latest from sun), but didn't help.
It always used to worked with no issues on my ubuntu / firebox, and we haven't altered the applet for some time. I'm guessing what has changed is an update to firefox, though I'm not sure how long this has been happening.
I can attach the netbeans debugger to the java process (once I'd figured out how to do it), and the java threads all seem to be running without error. I think, but I'm not sure that the applet's init() method is stuck on a line that reads:
win = JSObject.
which as I understand it is obtaining a reference for communication with firefox's javascript engine (liveconnect?).
Attaching strace with -p to the firefox process rapid and repeated output of exactly the following:
strace -p 18213
read(97, 0xbff2ae8c, 4) = -1 EAGAIN (Resource temporarily unavailable)
read(97, 0xbff2ae8c, 4) = -1 EAGAIN (Resource temporarily unavailable)
etc...
I'm not really sure what to make of this at the moment.
I'm guessing it's an obscure bug in ubuntu's build of firefox.
version info:
ff v3.0.6 - Installed: 3.0.6+nobinonly
Linux emap-eve-pctim 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux
Ubuntu 8.10
java jdk/jre 1.6.0_12-b04
LSB Version: core-2.
summary: |
- firefox hangs for emapsite applet, strace shows EAGAIN repeatedly + firefox hangs for applets using JSObject.getWindow, strace shows EAGAIN + repeatedly |
Thank you for reporting this to Ubuntu. You reported this a while ago and we were wondering if you were still having an issue. Have you tried with the latest Firefox 3 and JRE? Which versions are you currently running?