Closed Bug 119488 Opened 23 years ago Closed 23 years ago

java plugin 1.4 causes mozilla to fail on startup if present on first startup

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Brian, Assigned: joe.chou)

Details

Recent nightlies of mozilla have ceased to run on my machine, running Redhat 7.2. Steps to reproduce: 1. Download and unpack mozilla-i686-pc-linux-gnu.tar.gz 2. cd into mozilla directory and run ./mozilla Expected: a pretty browser window opens Actual: generic error: /usr/local/mozilla/mozilla/run-mozilla.sh: line 72: 29478 Segmentation fault $prog ${1+"$@"} 3. Now try running ./mozilla-bin directory Expected: a pretty browser window opens, as in formal releases Actual: this error: ./mozilla-bin: relocation error: ./mozilla-bin: undefined symbol: __vt_24nsASingleFragmentCString If you need any more information from me, such as library versions, I'll be happy to provide it. If a trace would be helpful, just tell me what to do with gdb. :)
Are you unpacking into a clean directory or on top of an older install?
Sorry about the mysteriousness of the bug, but I've tracked it down. I had a script to download the latest build, unpack it, and copy in some plugins. Specifically, it was running the following commands to create a symbolic link to the java 1.4 plugin: export JAVA_HOME=/usr/local/j2sdk1.4.0 export PATH=$JAVA_HOME/jre/bin:$JAVA_HOME/bin:$PATH ln -s $JAVA_HOME/jre/plugin/i386/ns610/libjavaplugin_oji140.so mozilla/components/libjavaplugin_oji140.so If one runs these commands before running mozilla for the first time, one gets the error as I previously described it. However, if one installs the plugin after mozilla has run once, there is no error. There is no problem with the java 1.3.1 plugin. Feel free to close this out if it has nothing to do with mozilla. (Oh, and I am unpacking cleanly.)
Summary: relocation error: ./mozilla-bin: undefined symbol: __vt_24nsASingleFragmentCString on startup → java plugin 1.4 causes mozilla to fail on startup if present on first startup
to OJI
Assignee: asa → joe.chou
Component: Browser-General → OJI
QA Contact: doronr → pmac
Confirmed on Linux BuildID 2002011921 using a fresh install. This is a regression since Moz 0.9.7 :((
Java beta3 1.4 work by using ./regxpcom /path_to_java_1.4_plugin/libjava_oji140.so.
this should be fixed with JRE 1.4RC
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Change to Chris Petersen as a new QA contact for OJI component.
Change to Chris Petersen as a new QA contact for OJI component.
Chris Petersen is a new QA contact for oji component. His email is: petersen@netscape.com
Assignee: joe.chou → petersen
Chris Petersen is a new QA contact for oji component. His email is: petersen@netscape.com
fixing small error for pmac@netscape.com (filter with : SPAMMAILSUCKS)
Assignee: petersen → joe.chou
QA Contact: pmac → petersen
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.