Firefox 10.0 crashes when visiting a website with a java applet

Bug #927065 reported by Jarl
110
This bug affects 23 people
Affects Status Importance Assigned to Milestone
Iced Tea
Fix Released
Medium
firefox (Ubuntu)
Invalid
Undecided
Unassigned
icedtea-web (Debian)
Fix Released
Unknown
icedtea-web (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Visiting https://www.netbank.nordea.dk/netbank/index.jsp will make it crash

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: firefox 10.0+build1-0ubuntu0.11.10.1
ProcVersionSignature: Ubuntu 3.0.0-15.26-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
NonfreeKernelModules: nvidia
AddonCompatCheckDisabled: False
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jarl 6541 F.... pulseaudio
BuildID: 20120129141257
CRDA: Error: [Errno 2] Ingen sådan fil eller filkatalog
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdb320000 irq 48'
   Mixer name : 'Analog Devices AD1984A'
   Components : 'HDA:11d4194a,103c30ec,00100400 HDA:11c11040,103c1378,00100200'
   Controls : 18
   Simple ctrls : 11
Channel: release
Date: Sun Feb 5 11:09:13 2012
DefaultProfileIncompatibleExtensions:
 JavaScript Debugger - ID={f13b157f-b174-47e7-a34d-4815ddfdfeb8}, Version=0.9.88.2, minVersion=1.9.1, maxVersion=2.0.*, Location=app-profile, Type=extension, Active=Yes
 Elasticfox - ID={2204c510-88f3-11db-b606-0800200c9a66}, Version=1.7.000116, minVersion=2.0, maxVersion=4.0, Location=app-profile, Type=extension, Active=Yes
 Screengrab - ID={02450954-cdd9-410f-b1da-db804e18c671}, Version=0.96.3, minVersion=3.0, maxVersion=6.*, Location=app-profile, Type=extension, Active=Yes
EcryptfsInUse: Yes
ForcedLayersAccel: False
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
IpRoute:
 default via 192.168.0.1 dev wlan0 proto static
 169.254.0.0/16 dev wlan0 scope link metric 1000
 172.16.253.0/24 dev vmnet8 proto kernel scope link src 172.16.253.1
 192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.148 metric 2
 192.168.155.0/24 dev vmnet1 proto kernel scope link src 192.168.155.1
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=da_DK.UTF-8
 SHELL=/usr/bin/tcsh
Profile1IncompatibleExtensions: Firebug - <email address hidden>, Version=1.7.3, minVersion=1.9.2, maxVersion=2.2.0.*, Location=app-profile, Type=extension, Active=Yes
Profiles:
 Profile0 (Default) - LastVersion=10.0/20120129141257 (Running)
 Profile1 - LastVersion=5.0/20110622232440 (Out of date)
 Profile2 - LastVersion=10.0/20120129141257
RunningIncompatibleAddons: True
SourcePackage: firefox
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/03/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68PAD Ver. F.13
dmi.board.name: 30EC
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 91.25
dmi.chassis.asset.tag: CNU01143H6
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68PADVer.F.13:bd12/03/2010:svnHewlett-Packard:pnHPEliteBook8730w:pvrF.13:rvnHewlett-Packard:rn30EC:rvrKBCVersion91.25:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 8730w
dmi.product.version: F.13
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Jarl (jarl-dk) wrote :
Revision history for this message
Jarl (jarl-dk) wrote :

This is the output on the console when reproducing this bug from the command line and going directly to https://www.netbank.nordea.dk/netbank/index.jsp which makes it crash.

The interesting part is the last line:
Assertion failure: rt->onOwnerThread(), at /build/buildd/firefox-10.0+build1/build-tree/mozilla/js/src/jsapi.cpp:6316

Jarl

Revision history for this message
Jarl (jarl-dk) wrote :

This might be related to https://bugzilla.mozilla.org/show_bug.cgi?id=704249

At least it is the same IcedTea version: 1.1.3-1ubuntu1.1

There is another bug report making Firefox crash at the same source code line:
http://code.google.com/p/fbug/issues/detail?id=5202

Revision history for this message
Jarl (jarl-dk) wrote :

Here is a practical workaround (downgrade to Firefox 7):

sudo aptitude install firefox=7.0.1+build1+nobinonly-0ubuntu2 firefox-globalmenu=7.0.1+build1+nobinonly-0ubuntu2

Jarl

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in firefox (Ubuntu):
status: New → Confirmed
Changed in icedtea-web (Ubuntu):
status: New → Confirmed
Revision history for this message
Hans Harhoff Andersen (hansharhoff) wrote :

There is the same problem with https://ebanking.danskebank.dk/html/index.html?site=DBNBEN&secsystem=DI
and ALL other danish netbanking sites since they all use nemid as a provider of security.

I can confirm the problem on mine and my girlfriends computers. (Running Firefox 10 and Ubuntu 11.10 both fully updated)

Revision history for this message
Rasmus (rasmus-up) wrote :

The bug is also present in Firefox 10 on Ubuntu 10.10.

Revision history for this message
AJenbo (ajenbo) wrote :

This is not just with banking sites but also all government related websites. Switching to chromium also works as a workaround.

Revision history for this message
Nicky (nicky-thomassen-deactivatedaccount) wrote :

Not just banking and government, but all sites containing a java-applet which needs to be run.

Even the Java-tester at Oracle will crash FF:
http://java.com/en/download/testjava.jsp

I to can confirm that Chromium works with the exact same setup that crashes Firefox 10 and 10.0.1.

Revision history for this message
Hans Harhoff Andersen (hansharhoff) wrote : Re: [Bug 927065] Re: Firefox 10.0 crashes when visiting a website with a java applet

Using icedtea-7 solves this (please note that this is only possible in Pangolin)

On Fri, Feb 17, 2012 at 1:50 PM, Nicky <email address hidden> wrote:
> Not just banking and government, but all sites containing a java-applet
> which needs to be run.
>
> Even the Java-tester at Oracle will crash FF:
> http://java.com/en/download/testjava.jsp
>
> I to can confirm that Chromium works with the exact same setup that
> crashes Firefox 10 and 10.0.1.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/927065
>
> Title:
>  Firefox 10.0 crashes when visiting a website with a java applet
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/927065/+subscriptions

--
Hans Harhoff Andersen
PhD-student - Ion Trap Group
Department of Physics and Astronomy
University of Aarhus
Ny Munkegade 120, office 1525-224
8000 Aarhus - Denmark

T  +45 87155213
M +45 28990982

Revision history for this message
Christoffer Kjølbæk (ostehamster) wrote :

A forum post at http://ubuntudanmark.dk/forum/viewtopic.php?f=24&t=15645 has the following workaround, which solved the problem for me:

 - Type about:config in the adressline
 - Say yes to being cautious
 - Type dom.ipc.plugins.java.enabled into the filterline
 - Change the value to true, by doubleclicking the line
 - Close the tab
 - Restart firefox

Revision history for this message
Søren Holm (sgh) wrote :

Works for me too.

Revision history for this message
Jarl (jarl-dk) wrote :

The problem is still present in the latest firefox package 10.0.2+build1-0ubuntu0.11.10.1

But the workaround described in comment #12 works for me.

Revision history for this message
Nikolaj Hansen (barnabasdk) wrote :

Still present in 11.0+build1-0ubuntu0.11.10.1

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

The problem is with the icedtea plugin, so it isn't going to be fixed with a Firefox update

Changed in firefox (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Nikolaj Hansen (barnabasdk) wrote :

I disagree - yes there may be an error in the icedtea plugin but this is really poor errorhandling in firefox

Assertion failure: rt->onOwnerThread(), at /build/buildd/firefox-11.0+build1/build-tree/mozilla/js/src/jsapi.cpp:6317

Simply catching that error could avoid the browser crashing down alltogether. Perhaps even display some kind of sensible error message - "A plugin has made an error" or something.

Revision history for this message
Nikolaj Hansen (barnabasdk) wrote :

And how can icedtea work in v7 of firefox if it is defunct?

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This post explains what has changed: http://blog.mozilla.com/luke/2012/01/24/jsruntime-is-now-officially-single-threaded/. This change was reported to the icedtea developers in November btw, so it's not like it should have been a big surprise.

Without the assert, how do return an error through the calling function back to the plugin without changing the semantics of the API? Changing the semantics of the API might trigger other unexpected behaviour inside the icedtea plugin, which would result in a broken plugin and possibly expose other crashes inside plugin code in any case

Revision history for this message
Max (bubuta) wrote :

firefox 11, bug is still there.

Revision history for this message
god (humper) wrote :

I strongly disagree with #16 - dumb assert() instead of normal error handling is firefox fault, not icedtea or whatever plugin to blame.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Max - Read my comments. It's a bug in the icedtea plugin.

MSU - So, returning an unexpected condition back to the plugin, and have it crash anyway (and maybe even in a way which is exploitable) is better than a safe, predictable runtime assert? Ok.......

Revision history for this message
In , Matthias Klose (doko) wrote :
Changed in icedtea:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Juergen Fuchsberger (juf) wrote :

This website is also affected:

http://www.wegenernet.org/mainpage.phtml (registration necessary...)

Changed in icedtea-web (Debian):
status: Unknown → Confirmed
Revision history for this message
Juergen Fuchsberger (juf) wrote :

The Bug seems to be fixed. At least in Debian.
http://www.wegenernet.org/mainpage.phtml now works.

iceweasel 10.0.3esr-3
Icedtea-plugin 1.2-2
openjdk-6-jre 6b24-1.11.1-3

Juergen.

Revision history for this message
In , Adomurad (adomurad) wrote :

Considering I can't reproduce it with any 1.2/1.3/HEAD and https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/927065/comments/26 says it has been fixed, I am closing this as fixed unless the problem can be reproduced again.

Changed in icedtea:
status: Confirmed → Fix Released
Revision history for this message
Michal (michalw2) wrote :

hello
Can You please check if Namid applets are running fine on Firefox 16.0.1 ?
I've tested some dk websites and they are failing using FF 16.0.1 (from other browsers they are fine).
Thanks.
Michal

Revision history for this message
Søren Holm (sgh) wrote :

I have had no problems for a very long time.

Changed in icedtea-web (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.