Firefox hangs while loading Java applet

Bug #452413 reported by Jason Brooks
50
This bug affects 10 people
Affects Status Importance Assigned to Milestone
firefox-3.5 (Ubuntu)
New
Undecided
Unassigned
Nominated for Karmic by Jeremy Nickurak
openjdk-6 (Ubuntu)
Incomplete
Undecided
Unassigned
Nominated for Karmic by Jeremy Nickurak

Bug Description

Binary package hint: firefox-3.5

When Firefox reaches a page with a Java applet, the browser hangs, and this message appears in the terminal: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/../../bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

That file does in fact exist on my system. I've seen bugs reported around similar error messages in earlier versions of Ubuntu. I'm using the OpenJDK jre and the IcedTea plugin.

ProblemType: Bug
Architecture: amd64
Date: Thu Oct 15 11:36:58 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/lib/firefox-3.5.3/firefox
Package: firefox-3.5 3.5.3+build1+nobinonly-0ubuntu4
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.46-generic
SourcePackage: firefox-3.5
Uname: Linux 2.6.31-14-generic x86_64

Revision history for this message
Jason Brooks (jasonbrooks) wrote :
Revision history for this message
ujwal (ujwalujwal) wrote :
Download full text (3.4 KiB)

Java Plug-in 1.6.0_15
Using JRE version 1.6.0_15-b03 Java HotSpot(TM) Client VM
User home directory = /home/ujwal
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

Reading certificates from 11 http://www.indiabulls.com/equis/metastock/ms4java.jar | /home/ujwal/.java/deployment/cache/6.0/32/9db4720-56da5bd8.idx
MS4Java --> In CheckClientKey()
MS4Java --> This client key (#1BA-B00-060E) will expire on 6/2001.
MS4Java --> Client key (1BA-B00-060E) is valid
MS4Java --> Language URL: 'http://www.indiabulls.com/equis/metastock/english.lang'
MS4Java --> Parameters:
MS4Java --> AdsURL = http://www.indiabulls.com/equis/metastock/ads
MS4Java --> Applet Name Font Size = 16
MS4Java --> Applet Name Position = north
MS4Java --> AutoPriceStyleChanges = true
MS4Java --> Copyright notice = (C) Copyright 1997-1999 Equis International, Inc.
All Rights Reserved.
Version 2.5.3
MS4Java --> DateFormat = MM/DD/YY
MS4Java --> EODDataURL = http://www.indiabulls.com/securities/research/techanalysis/GetChartApplet_Information.aspx
MS4Java --> ForceUpperParam = true
MS4Java --> HelpURL = http://www.indiabulls.com/securities/research/techanalysis/technicalanalysis.htm
MS4Java --> HumanLanguage = English
MS4Java --> IntradayDataURL = http://www.indiabulls.com/securities/research/techanalysis/intraday.aspx
MS4Java --> MS4JVersion = 2.0
MS4Java --> NewsURL = http://www.contentlinks.asiancerc.com/IB/news.Asp?CompanyCode=&
MS4Java --> RelativeStrengthSymbol = .NSE-50
MS4Java --> Removed Indicators = NONE
MS4Java --> SearchDialogHeight = 0
MS4Java --> SetDefaultIndicator = Moving Average (value1=15, value2=15)
MS4Java --> ShowAdPanel = false
MS4Java --> ShowData = true
MS4Java --> ShowDataErrorMessages = true
MS4Java --> ShowDebugMessages = true
MS4Java --> ShowDocumentHelpFrame = _self
MS4Java --> ShowDocumentNewsFrame = _self
MS4Java --> ShowHelpButton = true
MS4Java --> ShowIntradayVolume = true
MS4Java --> ShowNewsButton = true
MS4Java --> ShowPeriodicityControl = true
MS4Java --> ShowPriceStyleControl = true
MS4Java --> ShowSymbolControl = true
MS4Java --> YAxisWidth = 50
java.lang.NullPointerException
 at equis.metastock.MS4Java.repaint(ms4java.java:1154)
 at sun.awt.X11.XCanvasPeer.setBackground(XCanvasPeer.java:113)
 at sun.awt.X11.XPanelPeer.setBackground(XPanelPeer.java:79)
 at java.awt.Component.setBackground(Component.java:1720)
 at equis.metastock.MS4Java.init(ms4java.java:878)
 at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1530)
 at ja...

Read more...

Revision history for this message
uellue (dieter-uellue) wrote :

Hi,
maybe I just had a similar problem, although without "missing library": With sun-java6-plugin instead of OpenJDK, firefox just freezes completely when loading the Facebook photo upload applet. The browser consumes 100% on one CPU core, and the process "java_vm" another 12 % on the second core. Killing java_vm crashes the browser.

Best regards,
Dieter

Revision history for this message
Jeremy Nickurak (nickurak) wrote :

Pretty serious if it causes firefox to outright freeze.

Confirming here with firefox 3.5.8+build1+nobinonly-0ubuntu0.9.10.1

Revision history for this message
Jeremy Nickurak (nickurak) wrote :

Working on my 32 bit machine, but not my 64-bit machine.

Revision history for this message
Matthias Klose (doko) wrote :

applet viewing is imporived in lucid. please could you recheck with ubuntu lucid and give examples/URLs for failing applets

Changed in openjdk-6 (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Nickurak (nickurak) wrote :

Is there a ppa to test against karmic? I don't have a machine for lucid at the moment.

http://java.com/en/download/help/testvm.xml still locks up firefox in karmic for me.

Revision history for this message
Jason Brooks (jasonbrooks) wrote :

No go for me on lucid 64-bit. Well, Firefox didn't lock up, but Java didn't work, either.

Here's what I did:

I visit http://java.com/en/download/installed.jsp, click Verifiy Java version, the animation circles for a bit, then goes to a page that says: "Sorry! We couldn't find the document requested." at URL http://java.com/en/download/installed.jsp_jre_version=1.6.0_18&vendor=Sun+Microsystems+Inc.&os=Linux&os_version=2.6.32-16-generic

I ran it from the terminal, and here's what came out during the attempt:

java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8pre) (6b18~pre3-0ubuntu1)
OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)
java.lang.InterruptedException: sleep interrupted
 at java.lang.Thread.sleep(Native Method)
 at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:674)
 at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649)
 at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270)
 at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82)
java.lang.InterruptedException: sleep interrupted
 at java.lang.Thread.sleep(Native Method)
 at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:747)
 at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649)
 at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270)
 at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82)
java.lang.InterruptedException: sleep interrupted
 at java.lang.Thread.sleep(Native Method)
 at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:629)
 at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270)
 at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82)
java.lang.ArrayIndexOutOfBoundsException: 5
 at sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65)
 at sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338)
 at sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287)
 at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208)
 at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82)

Revision history for this message
agent 8131 (agent-8131) wrote :

"No go for me on lucid 64-bit. Well, Firefox didn't lock up, but Java didn't work, either."

This is what I'm experiencing as well. Was hoping Lucid would fix this problem but it didn't. I decided to look for others having similar problems and this seems to be the closest so far. I was testing with:

http://dslr.net/speedtest?java=1

I've attached my .xsession-errors file.

Jason, when you said you ran from the command line, does that mean you downloaded the applet and ran it locally?

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.