[Bug 894] New: Applet crash causes plugin to hang until Firefox stops the script.
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Thu Mar 8 11:02:10 PST 2012
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=894
Bug #: 894
Summary: Applet crash causes plugin to hang until Firefox stops
the script.
Classification: Unclassified
Product: IcedTea-Web
Version: unspecified
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Plugin
AssignedTo: dbhole at redhat.com
ReportedBy: ddadacha at redhat.com
CC: unassigned at icedtea.classpath.org
If you run an applet and it crashes while initializing (applet constructor),
starting a second one will hang the plugin and not initialize the new applet
until after Firefox prompts you to stop the script running the first one.
I've noticed that any existing applets run fine so it has to be while the
applet is loading. This means that if an applet crashes, the plugin thread is
stalled somewhere, before it finalizes the applet initialization. This has to
be happening during the APPLET_LOAD event.
To reproduce:
NOTE: Running the second one has screwed up my browser session so save your
tabs etc before testing.
Create an applet that throws an exception in the constructor (e.g. String x =
null; x.length();). Once you have run it, try starting another one that you
know works. The second one will hang because the plugin cannot initialize the
applet until after the first one has completed. After a while, Firefox will
prompt you to kill the script running the first one, stop it and the second one
should be running as normal.
I have tested with IcedTea-Web HEAD, 1.2 and 1.1 - all have the same behaviour.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the distro-pkg-dev
mailing list