Closed Bug 107295 Opened 24 years ago Closed 24 years ago

Mozilla crashes on startup with Blackdown Java

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bugzilla20071228, Assigned: joe.chou)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5+) Gecko/20011028 BuildID: 2001102210 through to 2001102806 After having Java working sweetly for me till the late september/early october builds I tried a recent one and for the past week or so I've been getting the following error: INTERNAL ERROR on Browser End: Could not load /usr/lib/j2re1.3/lib/i386/libjavaplugin_oji.so: linking error=/usr/lib/j2re1.3/lib/i386/libjavaplugin_oji.so: undefined symbol: XtShellStrings Now, nuking my ~/.mozilla dir only works for the first run of mozilla, then the above problem reappears. Nuking the ~/.mozilla/appreg file has the same effect. First run fine; subsequent runs, ****. Mozilla was not installed as root. It was installed as the non-root user trying to run it. I've tried a few in the BuildID range and the 2210 one is the first one I tried. Also, javaplugin.so was installed manually into /usr/local/mozilla/plugins by the same non-root user and is symlinked to the real file. Reproducible: Always Steps to Reproduce: 1.Install mozilla afresh 2.Install symlink to javaplugin.so 3.Start mozilla, BOOM. or 3. rm -fvr ~/.mozilla 4. Start mozilla 5. Quit mozilla 6. Start mozilla, BOOM. Actual Results: /usr/local/mozilla/run-mozilla.sh /usr/local/mozilla/mozilla-bin MOZILLA_FIVE_HOME=/usr/local/mozilla LD_LIBRARY_PATH=/usr/local/mozilla:/usr/local/mozilla/plugins LIBRARY_PATH=/usr/local/mozilla:/usr/local/mozilla/components SHLIB_PATH=/usr/local/mozilla LIBPATH=/usr/local/mozilla ADDON_PATH=/usr/local/mozilla MOZ_PROGRAM=/usr/local/mozilla/mozilla-bin MOZ_TOOLKIT= moz_debug=0 moz_debugger= INTERNAL ERROR on Browser End: Could not load /usr/lib/j2re1.3/lib/i386/libjavaplugin_oji.so: linking error=/usr/lib/j2re1.3/lib/i386/libjavaplugin_oji.so: undefined symbol: XtShellStrings System error?:: Success Expected Results: A running mozilla with java. :)
OJI
Assignee: av → joe.chou
Component: Plug-ins → OJI
QA Contact: shrir → pmac
Well with a multimegabit link to my local mozilla mirror I tried to track where precisely this sucker decided to break. And after MUCH pain I found it. 8) 2001-10-18-05-trunk works fine. 2001-10-18-08-trunk breaks on startup as noted below. The steps involved: 1. download 2. untar 3. run the mozilla installer (this is a sea tarball) 4. quit the mozilla it starts 5. install the symlinks 6. run mozilla 7. quit mozilla 8. run mozilla again at this point 05 will keep on going while 08 will crash and burn with the error I gave previously. I hope this helps in locating and fixing this bug. :)
I can not reproduce this on Redhat 6.2 Tried latest trunk and 2001-10-18-08-trunk binary. Could you try ./run-mozilla.sh /usr/bin/ldd -r plugins/libjavaplugin_oji.so ? Also, does export LD_PRELOAD=/usr/X11R6/lib/libXt.so change mozilla behavior?
I posted a query on Blackdown java-linux mailing list, and got an answer from Blackdown (lead?) developer Juergen Kreileder. You're attempting to use the Java Plugin in JDK 1.3.0, which was originally written for Mozilla M18. To verify this, check your output for java -version You need to use Blackdown JDK 1.3.1 instead. Note you don't need to tweak any environment settings for this JVM (unlike for the Sun 1.3.x JVMs). I suppose this bug should be resolved INVALID or WONTFIX.
Ok. My local mirror of blackdown isn't as uptodate as it should be so I found another, grabbed the latest version (1.3.1) and ran the latest mozzy. The bug did not re-appear so it appears there's nought wrong with mozilla as far as starting up with java is concerned. Sorry about that folks and thanks. :)
Hogarth: would you please close this bug as Resolved & Wontfix?
No worries. Wasn't quite sure of the procedure. :)
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
Chris Petersen is a new QA contact for oji component. His email is: petersen@netscape.com
Assignee: joe.chou → petersen
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.