Bug 170447
Summary: | Firefox crashes when starting up java page | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | jonathan auerbach <jonathan.b.auerbach> | ||||
Component: | java-1.4.2-ibm | Assignee: | Thomas Fitzsimmons <fitzsim> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | akrherz, attila.balazs, caillon, goeran, jos, k.georgiou, olle, pmatilai, poelstra, wilksen | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHBA-2006-0110 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-03-07 19:05:32 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 168429 | ||||||
Attachments: |
|
Description
jonathan auerbach
2005-10-11 19:53:37 UTC
Created attachment 119818 [details]
results from "strace firefox"
I tried running this since I saw it recommended somewhere but I have not tried
interpreting the output....
Same thing here at Iowa State. Both firefox & mozilla will crash with java-plugin on fully patched EL3 and EL4 systems. From the strace output.. it ends up looking for the java plugin in /usr/lib/firefox-<version> although it seems to initially find and load it from /usr/lib/mozilla and dies: 6952 stat64("/usr/lib/firefox-1.0.7/libjavaplugin_oji.so", <unfinished ...> 6953 read(6, <unfinished ...> 6952 <... stat64 resumed> 0xbfeaf188) = -1 ENOENT (No such file or directory) 6952 stat64("/usr/lib/firefox-1.0.7/plugins/libjavaplugin_oji.so", 0xbfeaf188) = -1 ENOENT (No such file or directory) 6952 stat64("/usr/local/lib/mre/mre-1.0.7/libjavaplugin_oji.so", 0xbfeaf188) = -1 ENOENT (No such file or directory) 6952 stat64("/usr/lib/firefox-1.0.7/libjavaplugin_oji.so", 0xbfeaf188) = -1 ENOENT (No such file or directory) 6952 stat64("/usr/lib/firefox-1.0.7/plugins/libjavaplugin_oji.so", 0xbfeaf188) = -1 ENOENT (No such file or directory) 6952 write(2, "Error: could not find libjavaplu"..., 43) = 43 6952 write(2, "Plugin: can\'t find plugins/../ja"..., 45) = 45 6952 write(2, "INTERNAL ERROR on Browser End: ", 31) = 31 6952 write(2, "Could not start JavaVM!\n", 24) = 24 ..and to confirm that, this fixes it: # cd /usr/lib/firefox-1.0.7/plugins # ln -s /usr/lib/jvm/java-1.4.2-ibm-1.4.2.2/jre/bin/libjavaplugin_ojigcc3.so libjavaplugin_oji.so I tried: # cd /usr/lib/firefox-1.0.7/plugins # ln -s /usr/lib/jvm/java-1.4.2-ibm-1.4.2.2/jre/bin/libjavaplugin_ojigcc3.so and it sort of works... This site comes up in Firefox: http://time.gov/timezone.cgi?Mountain/d/-7/java But this site (which is supposed to test your java installation) crashes Firefox: http://java.com/en/download/installed.jsp?detect=jre here's another that crashes: http://www.crh.noaa.gov/radar/loop/DS.p19r0/si.kftg.shtml Plus this adding a link fix does not help if trying to run Mozilla and, a SysAdm should not have to add links to correct something that had worked all along... Of course it's a bug that needs to be fixed in the package, I was just offering "this fixed it for my applications" workaround :) Thanks Panu... I didnt really mean to rip on you! :-) I just want to make sure RH gets it fixed.... Have you tried a variery java sites (like the ones abore) and all have worked? I only tried a couple of internal java-applications which were cured by the symlink, will do more tests on Monday when back at work. Those two "firefox crashes" links from comment 4 worked for me after creating the symlink - did you restart firefox after making the link? Oh and the same workaround works for Mozilla as well: # cd /usr/lib/mozilla-1.7.12/plugins # ln -s /usr/lib/jvm/java-1.4.2-ibm-1.4.2.2/jre/bin/libjavaplugin_ojigcc3.so libjavaplugin_oji.so *** Bug 170170 has been marked as a duplicate of this bug. *** I've installed blackdown version of java-1.4.2 (not RPM), and it seems that amd64 plugin works OK. I tested all URLs mentioned so far in this bug report, none of them crashed the browser. At http://java.com/en/download/installed.jsp?detect=jre I got empty screen. All other applets worked correctly after I did: # cd /usr/lib/mozilla/plugins # ln -s ../../../local/java/j2sdk1.4.2/jre/plugin/amd64/mozilla/libjavaplugin_oji.so . So I guess it could be used as temporary workaround for now... I investigated this further. Here are the results: Direct Symlink: libjavaplugin_oji.so -> /usr/lib/jvm/java-1.4.2-ibm-1.4.2.2/jre/bin/libjavaplugin_ojigcc3.so Directory Firefox Mozilla /usr/lib/mozilla/plugins crash 1 crash 1 /usr/lib/mozilla-1.7.12/plugins not found works /usr/lib/firefox-1.0.7/plugins works not found Indirect Symlink: libjavaplugin_oji.so -> /etc/alternatives/libjavaplugin.so -> /usr/lib/jvm/java-1.4.2-ibm-1.4.2.3/jre/bin/libjavaplugin_ojigcc3.so Directory Firefox Mozilla /usr/lib/mozilla/plugins crash 1 crash 1 /usr/lib/mozilla-1.7.12/plugins not found crash 2 /usr/lib/firefox-1.0.7/plugins crash 2 not found crash 1: 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?:: No such file or directory crash 2: INTERNAL ERROR on Browser End: Exec of "java" failed: 2 < System error?:: No such file or directory ** (Gecko:13313): WARNING **: Serious fd usage error 19 ** (Gecko:13313): WARNING **: Serious fd usage error 17 INTERNAL ERROR on Browser End: Could not read ack from child process System error?:: Resource temporarily unavailable So it looks like there are problems with the IBM plugin and with Mozilla/Firefox. The IBM plugin doesn't work through a double symlink (predictable, given the longstanding bug of IBM's java command not working through a double symlink). Mozilla/Firefox crash when trying to load a plugin from /usr/lib/mozilla/plugins. The only option for the next update is to remove the libjavaplugin.so alternative and install direct symlinks in /usr/lib/mozilla-1.7.12/plugins/ and /usr/lib/firefox-1.0.7/plugins/ along with triggers to keep these symlinks updated for browser version changes. I tested a number of Java related web sites. All passed with flying colors. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0110.html |