From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921 Red Hat/1.0.7-1.4.1 Firefox/1.0.7 Description of problem: workstation was fully patched with all latest patches including all java-1.4.2-ibm-*-1.4.2.2-1jpp_10rh rpms and Firefox 1.0.7. Firefox 1.0.7 starts up just fine but when accessing a web page that has java (such as http://time.gov/timezone.cgi?Mountain/d/-7/java ), Firefox crashes. Version-Release number of selected component (if applicable): java-1.4.2-ibm-*-1.4.2.2-1jpp_10rh; firefox-1.0.7-1.4.1 How reproducible: Always Steps to Reproduce: 1. install java-1.4.2-ibm-*-1.4.2.2-1jpp_10rh patches for RHEL4 2. start Firefox 3. go to web page that has java Actual Results: Firefox crashes. Expected Results: java based web page is displayed in Firefox. Additional info: To test and correct the problem, I manually removed all the java-1.4.2-ibm-*-1.4.2.2-1jpp_10rh patches for RHEL4 and manually reinstalled the last known working version: java-1.4.2-ibm-devel-1.4.2.1-1jpp_2rh java-1.4.2-ibm-1.4.2.1-1jpp_2rh java-1.4.2-ibm-jdbc-1.4.2.1-1jpp_2rh java-1.4.2-ibm-plugin-1.4.2.1-1jpp_2rh java-1.4.2-ibm-demo-1.4.2.1-1jpp_2rh As noted, after that, java based web pages display as expected without Firefox crashing.
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