[Bug 927282] Re: Mozilla quits when viewing UK Gov traffic information

Bug Watch Updater 927282 at bugs.launchpad.net
Sun Feb 5 23:27:45 UTC 2012

Launchpad has imported 10 comments from the remote bug at

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at

On 2011-11-21T20:51:16+00:00 Alex Mayorga Adame wrote:

Created attachment 575943
ICEDTEAPLUGIN_DEBUG=true firefox-trunk 2>&1 | tee crash.log

IcedTea-Web 1.1.3 (1.1.3-1ubuntu1.1)

Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:11.0a1) Gecko/20111121
Firefox/11.0a1 ID:20111121035245

Linux VPCCW1FFXL 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux

Loading Citrix XenApp on Firefox trunk causes a crash that's not logged on

Attached find the output of:
  ICEDTEAPLUGIN_DEBUG=true firefox-trunk 2>&1 | tee crash.log

Let me know if there's anything else you need me to provide.

Reply at: https://bugs.launchpad.net/firefox/+bug/927282/comments/1

On 2011-11-21T21:02:43+00:00 Alex Mayorga Adame wrote:

Wandering around Ubuntu's bug tracker, found
https://bugs.launchpad.net/ubuntu/+source/icedtea-web/+bug/858827 that
has a public applet that crashes Nightly on queue for me (click
carefully below)


Reply at: https://bugs.launchpad.net/firefox/+bug/927282/comments/3

On 2011-11-21T21:09:49+00:00 Alex Mayorga Adame wrote:

Created attachment 575947
ICEDTEAPLUGIN_DEBUG=true firefox-trunk 2>&1 | tee crash2.log

Reply at: https://bugs.launchpad.net/firefox/+bug/927282/comments/4

On 2011-11-22T00:28:23+00:00 R-luke-h wrote:

This abort is caused by using a JSRuntime (via _getstringidentifier)
from off the main thread and was added by bug 650411.  Incidentally, it
looks like this was already an error (see the NS_IsMainThread check in
central/source/dom/plugins/base/nsNPAPIPlugin.cpp#1407), it just wasn't
causing failures.  With JSRuntime being made single-threaded (announced
a few months ago: http://groups.google.com/group/mozilla.dev.tech.js-
engine/msg/ae5f22f39e4fd150), this will definitely cause unsafe race-

The callstack for the crash is:

#3  JS_AbortIfWrongThread
#4  js_NewContext
#5  JS_NewContext
#6  XPCJSContextStack::GetSafeJSContext
#7  nsXPConnect::GetSafeJSContext
#8  mozilla::plugins::parent::_getstringidentifier
#9  PluginRequestProcessor::sendMember
   from /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so
#10 queue_processor
   from /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so
#11 start_thread

Looking at PluginRequestProcessor::sendMember in icedtea-
web-1.1.4/plugin/icedteanp/IcedTeaPluginRequestProcessor.cc, I see the

 * This is a static function, called in another thread. Since certain data
 * can only be requested from the main thread in Mozilla, this function
 * does whatever it can seperately, and then makes an internal request that
 * causes _sendMember to do the rest of the work.

so perhaps the fix is to just move the get*identifier calls to the part
that gets executed on the main thread.

Does anyone know who to contact about getting this fixed on the IcedTea
side?  Thus far, IcedTea seems to be the only plugin/addon hitting this
and only for some applets (I tested quite a few before landing), so I do
not want to back out the whole single-threaded check for this one case.

Reply at: https://bugs.launchpad.net/firefox/+bug/927282/comments/5

On 2011-11-22T00:32:08+00:00 Sphink wrote:

The filer said on IRC that he first filed
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=820 "but IRC peeps
on #openjdk say it's FF fault".

Reply at: https://bugs.launchpad.net/firefox/+bug/927282/comments/6

On 2011-11-23T22:34:13+00:00 R-luke-h wrote:

Update: I mentioned this on #openjdk; the icedtea bug has been reopened.

Reply at: https://bugs.launchpad.net/firefox/+bug/927282/comments/8

On 2011-11-25T17:37:12+00:00 Bclary wrote:

dupe of bug 640908 ?

Reply at: https://bugs.launchpad.net/firefox/+bug/927282/comments/10

On 2011-11-28T17:57:01+00:00 R-luke-h wrote:

(In reply to Bob Clary [:bc:] from comment #6)
> dupe of bug 640908 ?

Nope, it looks like that was early in the year, this still hits.  Also
different (but similarly named) assert.

Reply at: https://bugs.launchpad.net/firefox/+bug/927282/comments/11

On 2011-12-16T02:45:48+00:00 Dmandelin wrote:

Luke, is this a JS engine bug, or is it a plugins bug?

Reply at: https://bugs.launchpad.net/firefox/+bug/927282/comments/12

On 2011-12-16T04:04:13+00:00 R-luke-h wrote:

It's a (pre-existing) icedtea bug.  It makes sense to keep a b.m.o bug
open to track the issue; I'm not sure whether it is more useful to have
it be in the JS engine component or plugin component.

Reply at: https://bugs.launchpad.net/firefox/+bug/927282/comments/13

You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to Mozilla Firefox.

  Mozilla quits when viewing UK Gov traffic information

To manage notifications about this bug go to:

More information about the Ubuntu-mozillateam-bugs mailing list