Bug 510377 - firefox crashes at startup with 'INTERNAL ERROR'
Summary: firefox crashes at startup with 'INTERNAL ERROR'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.6.0-openjdk
Version: 11
Hardware: All
OS: Linux
low
urgent
Target Milestone: ---
Assignee: Lillian Angel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 510375 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-08 20:46 UTC by Lonni J Friedman
Modified: 2018-04-11 13:54 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-22 23:14:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lonni J Friedman 2009-07-08 20:46:06 UTC
Description of problem:
Since upgrading from F10 to F11, firefox now crashes at startup with the error:
INTERNAL ERROR on Browser End: Could not get the JVM manager
System error?:: NO such file or directory

Version-Release number of selected component (if applicable):
3.5-1

How reproducible:
100% of the time

Steps to Reproduce:
1.start firefox
2.watch it crash immediately after the window is drawn on the screen

  
Actual results:
firefox crashes with the error above

Expected results:
no crash

Additional info:
I was seeing the same problem with thunderbird, however I was able to work around the problem on thunderbird by doing what was suggested here:
http://forums.mozillazine.org/viewtopic.php?f=31&t=50237&start=0&st=0&sk=t&sd=a

however, the same workaround doesn't apply to firefox.  What I've tried on firefox (without improvement) is:
0) Remove the java plugin from /usr/lib/firefox/plugins (there is none in my $HOME/.mozilla)
1) start up in --safe-mode (it still crashes)
2) delete my ~/.mozilla
3) remove & reinstall the firefox RPM

If I download and install the 'official' firefox-3.5 package from the Mozilla website, that one does not crash, an works fine.  So this appears to be a bug in the fedora version.

Comment 1 Matěj Cepl 2009-07-20 16:14:18 UTC
*** Bug 510375 has been marked as a duplicate of this bug. ***

Comment 2 Matěj Cepl 2009-07-20 16:17:31 UTC
Moreover, I would tend to blame openjdk. Let's try to push the bug in that direction.

Comment 3 Lonni J Friedman 2009-07-20 16:20:33 UTC
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.

Comment 4 Matěj Cepl 2009-07-20 20:14:03 UTC
*** Bug 510375 has been marked as a duplicate of this bug. ***

Comment 5 Matěj Cepl 2009-07-20 20:18:06 UTC
(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)

Comment 6 Deepak Bhole 2009-07-20 21:56:05 UTC
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

Comment 7 Lonni J Friedman 2009-07-20 22:04:01 UTC
$ 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

Comment 8 Deepak Bhole 2009-07-20 22:18:20 UTC
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.

Comment 9 Lonni J Friedman 2009-07-22 23:14:36 UTC
Feh.  I can't reproduce this anymore.  I haven't rebooted, yet its magically stopped crashing.  Heisenbugs.

Comment 10 csb sysadmin 2010-05-26 19:48:54 UTC
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 .

Comment 11 csb sysadmin 2010-05-26 21:02:14 UTC
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.

Comment 12 Deepak Bhole 2010-05-26 21:10:39 UTC
Is the issue reproducible in Fedora/RHEL? If not, the bug should be filed with CentOS since it is probably related to their setup.

Comment 13 csb sysadmin 2010-05-26 21:14:23 UTC
(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.

Comment 14 Deepak Bhole 2010-05-26 21:19:00 UTC
Ah okay. So then this is still a problem with a proprietary JDK. There is nothing we can do about it, unfortunately.


Note You need to log in before you can comment on or make changes to this bug.