Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406743 - www-client/firefox-10.0.1 crashes when running Java applets with dev-java/icedtea-web-1.1.4-r7 - Assertion failure: rt->onOwnerThread(), at /var/tmp/portage/www-client/firefox-10.0.1/work/mozilla-release/js/src/jsapi.cpp:6316
Summary: www-client/firefox-10.0.1 crashes when running Java applets with dev-java/ice...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-03 09:12 UTC by Vivek Shah
Modified: 2012-03-08 09:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vivek Shah 2012-03-03 09:12:02 UTC
Hi,
   I upgraded my system yesterday which pulled in new version of Firefox browser and Icedtea. Since then I am not being able to run any java applets in the firefox browser. I tried to check if it is an Icedtea problem and it does not seem so since applets run fine in Epiphany browser. Whenever I run a java applet the firefox browser crashes, I ran firefox by issuing the command to get a minimal trace and the trace I get is

bonii@Bigbang ~ $ firefox 
FoxyProxy settingsDir: /home/bonii/.mozilla/firefox/j6io1uwy.default/foxyproxy.xml
2929373712 > 2421623098
CHECK IS 2422083359
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.1) (Gentoo build 1.6.0_24-b24)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
Mar 3, 2012 9:51:31 AM <WARN> DANID_DIGITAL_SIGNATUR appletdk.pbs.applet.bootstrap.new - Not using whitelisted class classloader: net.sourceforge.jnlp.runtime.JNLPClassLoader
Mar 3, 2012 9:51:31 AM <INFO> Thread-5 - init
Assertion failure: rt->onOwnerThread(), at /var/tmp/portage/www-client/firefox-10.0.1/work/mozilla-release/js/src/jsapi.cpp:6316
[xcb] Unknown sequence number while processing reply
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
firefox: /var/tmp/portage/x11-libs/libX11-1.4.4/work/libX11-1.4.4/src/xcb_io.c:634: _XReply: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Multiple segmentation faults occurred; can't display error dialog

Please let me know if I need to add something more
Comment 1 Richard Grenville 2012-03-03 12:39:52 UTC
It looks like a known bug in icedtea-web, fixed only in icedtea-web-1.2pre.

Please try this workaround: Set "dom.ipc.plugins.java.enable" to true in your about:config.

Related bug reports in various places.
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=820
https://bugzilla.redhat.com/show_bug.cgi?id=791242
https://bugzilla.redhat.com/show_bug.cgi?id=789959
https://bugzilla.mozilla.org/show_bug.cgi?id=704249
Comment 2 Vivek Shah 2012-03-03 14:17:14 UTC
Hey Richard,
            The mentioned change fixed the problem.
Comment 3 Ralph Sennhauser (RETIRED) gentoo-dev 2012-03-06 09:28:37 UTC
icedtea-web-1.2 was released yesterday, added it to main tree. Please test, works for me. Again, -r7 is for building against icedtea:7.
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2012-03-08 09:36:36 UTC
Should be fixed in ~icedtea-web-1.2 as Ralph says. Please reopen if not.
Comment 5 Vivek Shah 2012-03-08 09:54:34 UTC
Works with the new version icedtea-web-1.2