Bug 510377
| Summary: | firefox crashes at startup with 'INTERNAL ERROR' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lonni J Friedman <netllama> |
| Component: | java-1.6.0-openjdk | Assignee: | Lillian Angel <langel> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | low | ||
| Version: | 11 | CC: | admin, caillon, dbhole, gecko-bugs-nobody, johnp, langel, lkundrak, mcepl, mjw, stransky, walters |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-07-22 23:14:36 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: | |||
|
Description
Lonni J Friedman
2009-07-08 20:46:06 UTC
*** Bug 510375 has been marked as a duplicate of this bug. *** Moreover, I would tend to blame openjdk. Let's try to push the bug in that direction. Why are you blaming openjdk? I should note that this reproduces even if the java browser plugin isn't installed. I'm not opposed to blaming openjdk, but I'd like to understand why we're going that route, as it doesn't seem relevant to me. *** Bug 510375 has been marked as a duplicate of this bug. *** (In reply to comment #3) > Why are you blaming openjdk? I should note that this reproduces even if the > java browser plugin isn't installed. > > I'm not opposed to blaming openjdk, but I'd like to understand why we're going > that route, as it doesn't seem relevant to me. Well, error message: INTERNAL ERROR on Browser End: Could not get the JVM manager System error?:: NO such file or directory seems like having something to do with JVM (Java Virtual Machine) Let's not blame OpenJDK just yet :) $ grep -rE "INTERNAL ERROR on Browser End:|Could not get the JVM manager|System error?" /usr/lib/jvm/java-1.6.0-openjdk | wc -l 0 And: $ /bin/grep -rE "INTERNAL ERROR on Browser End:" /usr/java/jdk1.6.0_13/jre/lib/i386/libjavaplugin_nscp.so Binary file /usr/java/jdk1.6.0_13/jre/lib/i386/libjavaplugin_nscp.so matches $ /bin/grep -rE "Could not get the JVM manager" /usr/java/jdk1.6.0_13/jre/lib/i386/libjavaplugin_nscp.so Binary file /usr/java/jdk1.6.0_13/jre/lib/i386/libjavaplugin_nscp.so matches $ /bin/grep -rE "System error?" /usr/java/jdk1.6.0_13/jre/lib/i386/libjavaplugin_nscp.so Binary file /usr/java/jdk1.6.0_13/jre/lib/i386/libjavaplugin_nscp.so matches /usr/java/jdk1.6.0_13/ is where I have the Sun JDK installed. All 3 terms appear in a single file in there. It seems Firefox is somehow still seeing the Sun plugin, or some related code thereof. What does this command show? ll /usr/lib*/mozilla/plugins $ ls -l --color=auto /usr/lib*/mozilla/plugins total 1576 lrwxrwxrwx 1 root root 39 2009-07-20 06:40 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so -rwxr-xr-x 1 root root 281116 2007-12-01 15:41 mplayerplug-in-dvx.so -rwxr-xr-x 1 root root 1067 2007-12-01 15:41 mplayerplug-in-dvx.xpt -rwxr-xr-x 1 root root 281116 2007-12-01 15:41 mplayerplug-in-qt.so -rwxr-xr-x 1 root root 1067 2007-12-01 15:41 mplayerplug-in-qt.xpt -rwxr-xr-x 1 root root 281116 2007-12-01 15:41 mplayerplug-in-rm.so -rwxr-xr-x 1 root root 1067 2007-12-01 15:41 mplayerplug-in-rm.xpt -rwxr-xr-x 1 root root 281880 2007-12-01 15:41 mplayerplug-in.so -rwxr-xr-x 1 root root 281116 2007-12-01 15:41 mplayerplug-in-wmp.so -rwxr-xr-x 1 root root 1067 2007-12-01 15:41 mplayerplug-in-wmp.xpt -rwxr-xr-x 1 root root 1067 2007-12-01 15:41 mplayerplug-in.xpt -rwxr-xr-x 1 root root 179552 2009-06-23 06:52 nppdf.so Hmm, that looks fine. Can you run it with strace? You will have to modify a file to make it do that...:
1. Edit /usr/lib/firefox-3.0.11/run-mozilla.sh (/usr/lib64/.. if you are on a 64-bit system) as root
2. Look for :
##
## Run the program
##
"$prog" ${1+"$@"}"
...
3. Change '"$prog" ${1+"$@"}' to 'strace "$prog" ${1+"$@"}' i.e. add strace before it
Save the file, and start firefox from command-line.
Feh. I can't reproduce this anymore. I haven't rebooted, yet its magically stopped crashing. Heisenbugs. I can reproduce this bug but only in thunderbird 3.0.x with CentOS5 . I go to an email in thunderbird, try to click on a URL link and it does nothing (should open firefox with the URL). Then I close thunderbird, wait a few seconds, then open it again, click on any email and it crashes with the same error as above. The only way to fix it is to remove ~/.thunderbird/yourProfileDir/pluginreg.dat and start thunderbird again . I don't have to click on a link the first time to get it to crash the second time I open it up. Strangely it only happens on some of my CentOS5 machines and not on others. I've tried starting in safe mode (-safe-mode) on the machines where this does happen but it doesn't help. Is the issue reproducible in Fedora/RHEL? If not, the bug should be filed with CentOS since it is probably related to their setup. (In reply to comment #12) > Is the issue reproducible in Fedora/RHEL? If not, the bug should be filed with > CentOS since it is probably related to their setup. It could happen with any linux flavor that uses these culprits : java-1.4.2-ibm-1.4.2.7-1jpp.4.el5 java-1.4.2-ibm-demo-1.4.2.7-1jpp.4.el5 java-1.4.2-ibm-devel-1.4.2.7-1jpp.4.el5 java-1.4.2-ibm-javacomm-1.4.2.7-1jpp.4.el5 java-1.4.2-ibm-jdbc-1.4.2.7-1jpp.4.el5 java-1.4.2-ibm-plugin-1.4.2.7-1jpp.4.el5 specifically java-1.4.2-ibm-plugin which probably put some java plugins in some plugin path that thunderbird looks into . We have a wrapper script for our users for thunderbird and firefox that sets MOZ_PLUGIN_PATH to different directories depending on whether the person is using RHEL4 (launching firefox v2) or RHEL5/CENTOS5 (launching v3.6 firefox/thunderbird 3.0.x), but somehow thunderbird was still looking in the local path where the java-1.4.2-ibm-plugin lived and that was messing it up. Latest versions of firefox / thunderbird don't have any problems with sun jdk plugins. Ah okay. So then this is still a problem with a proprietary JDK. There is nothing we can do about it, unfortunately. |