Closed Bug 96988 Opened 23 years ago Closed 23 years ago

Client locks up on java applets; Java plugin installed.

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 84093
mozilla0.9.7

People

(Reporter: corey, Assigned: margaret.chan)

References

()

Details

(Keywords: hang)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801
BuildID:    2001080204

After installing the java plugin for linux, visiting any page containing java
locks up the client.  It does not ever appear to respond.

Reproducible: Always
Steps to Reproduce:
1. Download install 0.9.3
2. Go to http://java.sun.com/  Download Java Plugin for Linux.
3. Restart client (after getting rid of that xpicleanup stuff, of course)
4. Go to http://java.sun.com/

Actual Results:  Client locks up.

Expected Results:  Preferable:  Applets load
Acceptable: Applets fail fo load; Client responds gracefully.

* While I have not tried reinstalling the mozilla client itself, I have tried
downloading/installing/deleting applet and repeating the process. I have also
tried installing both from the website, and by downloading jre.xpi, installing
from local directory, as su.

* There was no relevant information in the console.  

* This is an SMP machine:

[corey@localhost corey]$ uname -a
Linux localhost.localdomain 2.4.9 #8 SMP Mon Aug 20 18:06:21 EDT 2001 i686 unknown

[corey@localhost corey]$ more /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 5
model name      : Pentium II (Deschutes)
stepping        : 2
cpu MHz         : 451.028
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 mmx fxsr
bogomips        : 897.84


processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 5
model name      : Pentium II (Deschutes)
stepping        : 2
cpu MHz         : 451.028
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 mmx fxsr
bogomips        : 901.12
Confirmed with Linux build 2001082708.

java_vm hangs at 100%, locking up Mozilla.
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** Bug 97624 has been marked as a duplicate of this bug. ***
Keywords: hang
In my case it is happening with Netscape's default java plugin.
To clarify, mine was the default Netscape JVM, too.  I just went to
http://java.sun.com/ to get the "download plugin" trigger.
moving to OJI
Assignee: idk → edburns
Component: Java-Implemented Plugins → OJI
I'm not seeing this on recent trunk builds on RH 7.0.  Which Linux Dist are you 
using?
Using RH 7.1; Newest Ximian-Gnome.
I am using a highly customised Suse (6.3 I think) with a lot of Mandrake
packages and Enlightenment.

My machine is not SMP, it's a single AMD K6-3.

I can try and get a stack trace for java_vm if somebody can remind me how.
I see exactly the same behavior with 0.9.4 (rebuilt SRPM) on Red Hat 7.1 (rawhide
kernel 2.4.7-2) on a dual-PIII.
*** Bug 100030 has been marked as a duplicate of this bug. ***
When starting mozilla (0.9.4) from command line one message appears saying :
"LoadPlugin: failed to initialize shared library /usr/lib/mozilla/plugins/java2
[/usr/lib/mozilla/plugins/java2: cannot read file data: Is a directory]"

the plugins directory of mozilla contains the following :
- a directory : java2
- a link to usr/lib/mozilla/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so
- and libnullplugin.so

hope it can help.
If this helps (from top), you can see that after mozilla tries to load
www.javasoft.com, it has started a half a dozen java vms.

 1858 root      10   0 53664  52M  2572 S     0.1 10.4   0:06 X
 1977 dwalend    9   0 39372  38M 15292 S     0.0  7.6   0:24 mozilla-bin
 1979 dwalend    9   0 39372  38M 15292 S     0.0  7.6   0:00 mozilla-bin
 1980 dwalend    9   0 39372  38M 15292 S     0.0  7.6   0:00 mozilla-bin
 1981 dwalend    9   0 39372  38M 15292 S     0.0  7.6   0:00 mozilla-bin
 1983 dwalend    9   0 39372  38M 15292 S     0.0  7.6   0:00 mozilla-bin
 1984 dwalend    9   0 39372  38M 15292 S     0.0  7.6   0:00 mozilla-bin
 1985 dwalend    9   0 39372  38M 15292 S     0.0  7.6   0:00 mozilla-bin
 1986 dwalend    9   0  9036 9036  3696 R     0.0  1.7   0:00 java_vm
 1988 dwalend    9   0  9036 9036  3696 S     0.0  1.7   0:00 java_vm
 1989 dwalend    9   0  9036 9036  3696 S     0.0  1.7   0:00 java_vm
 1990 dwalend    9   0  9036 9036  3696 S     0.0  1.7   0:00 java_vm
 1991 dwalend    9   0  9036 9036  3696 R     0.0  1.7   0:00 java_vm

Dave
The plugin from an old version of the jdk,

[root@jade plugins]# /usr/java/jdk1.3.1/bin/java -version
java version "1.3.1-rc2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-rc2-b23)
Java HotSpot(TM) Client VM (build 1.3.1-rc2-b23, mixed mode)

worked. The plugins from jskd1.4beta2 did not. Perhaps Sun changed something
important.

Hope that helps,

Dave
Reassign to Joe as I'm leaving the role of OJI module owner.
QA Contact: avm → pmac
Target Milestone: --- → mozilla0.9.5
Ressign to Joe Chou, as I am no longer working officially on OJI.
Assignee: edburns → joe.chou
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Me too (redhat 7.1, both mozilla 0.9.3 & 0.9.4) 

but since I use the famous

export LD_ASSUME_KERNEL=2.2.5

it works like a charm (using jre.xpi, sun jre or imb jre)(put "export blabla" 
on the top of the /usr/lib/mozilla shell script, just below the first line. It's
easyer..)

There is a known compatibility problem between recent version of mozilla, Sun
JRE 1.3 plugin the 2.4 kernel. For details, see:
http://bugzilla.mozilla.org/show_bug.cgi?id=84093 

Workaround: Upgrade your Java plugin (I suggest JRE 1.4) or set this enviornment
variable before starting mozilla:
export LD_ASSUME_KERNEL=2.2.5

Reporter: if above helps then please close this bug as dupe of 84093
Reassign to mtchan.
Assignee: joe.chou → mtchan
Target Milestone: mozilla0.9.6 → mozilla0.9.7
I am going to close this as dup of 84093 if there is no objection.

*** This bug has been marked as a duplicate of 84093 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
QA Contact: pmac → petersen
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.