Java 1.4.2 SR2 plug-in and later cause Mozilla for Linux to crash

RESOLVED INCOMPLETE

Status

defect
--
critical
RESOLVED INCOMPLETE
14 years ago
3 years ago

People

(Reporter: david_edwards, Unassigned)

Tracking

({crash})

Details

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
Build Identifier: 

This is raised as a copy of bugzilla 297807 which was AIX specific.

In Java 1.4.2 SR2 for Linux, the behavior of Java has
changed. The dladdr() function is no longer used to determine the path of the
installed JVM, so the Java plug-in fails to find the necessary libraries needed
for Java to run, and Mozilla crashes with the following error message when
viewing a page with a Java applet:

"Error: could not find libjavaplugin_oji.so
Plugin: can't find plugins/../java directory
INTERNAL ERROR on Browser End: Could not start JavaVM!

System error?:: A file or directory in the path name does not exist."

The workaround for this issue is to explicitly set the LIBPATH environment
variable to include the jre/bin and jre/bin/classic directories of the JVM (by
default these are in /usr/java14/jre/bin and /usr/java14/jre/bin/classic).
However, we can work around this issue by adding a fix to
nsPluginFile::LoadPlugin to set the LIBPATH variable before loading the Java
plug-in.

Reproducible: Always

Steps to Reproduce:
Install IBM Java SDK 1.4.2 SR2
View a page with a Java applet.

Actual Results:  
Mozilla crashes with and error message.

Expected Results:  
Java applet page should be displayed

Already fixed on AIX. A similar fix should be possible for Linux.

Updated

14 years ago
Severity: normal → critical
Keywords: crash
hm... did you copy or symlink the plugin?

Comment 2

14 years ago
I'm seeing this too (with SR3) with SeaMonkey 1.0 branch build 2005110714
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: Other → PC

Updated

13 years ago
Blocks: 353557

Updated

13 years ago
No longer blocks: 353557

Updated

9 years ago
Component: Plug-ins → Java (Sun)
Product: Core → Plugins
QA Contact: plugins → sun-java
Version: Trunk → unspecified

Comment 3

3 years ago
Closing old bugs in the Plugins component. We aren't going to track issues in 3rd-party plugins in the Mozilla bug tracker. In addition, support for NPAPI plugins will be removed at the end of this year; for more details see the post at https://blog.mozilla.org/futurereleases/2015/10/08/npapi-plugins-in-firefox/

If there is a serious bug in Firefox, it needs to be filed in the "Core" product, "Plug-Ins" component.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INCOMPLETE
Product: Plugins → Plugins Graveyard
You need to log in before you can comment on or make changes to this bug.