java webstart creates infinite open windows, desktop DoS

Bug #891707 reported by Peter Petrakis
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Triaged
High
Chris Coulson

Bug Description

To recreate the issue, open this sample JNLP file:
http://pscode.org/jws/basicserv.jnlp

A series of new windows will open, blank, one after the other,
with no end in sight.

It's so bad I had to switch to a tty and killall -9 firefox.

The behavior is the same if you were to download the jnlp instead
and use "gnome-open basicserv.jnlp".

However, if I were to use 'javaws basicserv.jnlp', the service
spawns just fine. If I change firefox to call javaws directly, it
also works just fine. This leads me to believe that there's a bug
in the mime handling for JNLP.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: firefox 7.0.1+build1+nobinonly-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
AddonCompatCheckDisabled: False
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ppetraki 1795 F.... pulseaudio
BuildID: 20111008085652
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf2620000 irq 45'
   Mixer name : 'Intel IbexPeak HDMI'
   Components : 'HDA:14f15069,17aa218b,00100301 HDA:80862804,17aa21b5,00100000'
   Controls : 13
   Simple ctrls : 7
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 6MHT35WW-1.10'
   Mixer name : 'ThinkPad EC 6MHT35WW-1.10'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Channel: release
Date: Thu Nov 17 11:51:11 2011
ForcedLayersAccel: False
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Profiles: Profile0 (Default) - LastVersion=7.0.1/20111008085652
RunningIncompatibleAddons: False
SourcePackage: firefox
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/21/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6MET55WW (1.18 )
dmi.board.name: 4313CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6MET55WW(1.18):bd04/21/2010:svnLENOVO:pn4313CTO:pvrThinkPadT510:rvnLENOVO:rn4313CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4313CTO
dmi.product.version: ThinkPad T510
dmi.sys.vendor: LENOVO

Revision history for this message
Peter Petrakis (peter-petrakis) wrote :
Changed in firefox (Ubuntu):
status: New → Confirmed
description: updated
Revision history for this message
Peter Petrakis (peter-petrakis) wrote :

To ensure it wasn't some desktop setting I did a "unity --reset" and
also performed the same tests from metacity with the same
results.

Revision history for this message
Michael Terry (mterry) wrote :

I get this too on precise with FF 9. I think Peter had at one point said "Open this filetype with Firefox automatically from now on" at one point, because I just get the standard "how do you want to open this downloaded file?" dialog, which defaults to Firefox.

If I open the downloaded jnlp file, it opens a new tab and I just get the same dialog again. So I can confirm the infinite loop nature of this.

description: updated
Revision history for this message
Pedro Villavicencio (pedro) wrote :

I'm able to reproduce this , Chris could you please have a look ? thanks.

Changed in firefox (Ubuntu):
assignee: nobody → Chris Coulson (chrisccoulson)
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Alexander List (alexlist) wrote :

Hi,

I can confirm the problem:

I have a Supermicro X9SCM-F mainboard which uses Java Webstart for the IP KVM.

When I try to open the remote console, I get an endless loop of new tabs opening the .jnlp file from /tmp

Revision history for this message
stephen mulcahy (stephen-mulcahy) wrote :

Experiencing same problem on Ubuntu 11.10 running Firefox 10.0.2 with sun java6 plugin installed
Connecting to a supermicro kvm
Tabs keep opening firefox

Revision history for this message
stephen mulcahy (stephen-mulcahy) wrote :

Can fix by downloading jnlp file
Right click on file and change properties such that it is opened with Sun Java Webstart rather than a Browser (not sure whether I set that at some stage or whether it was set automatically)

Revision history for this message
cengopon (pognonec) wrote :

Still same problem her (Ubuntu 15.04 Firefox 40.0).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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