Tuesday, March 17, 2009

MozillaFirefox - openSUSE 11.1 - google homepage

I just tried to start my google homepage in MozillaFirefox on openSUSE 11.1 and it crashed

First thought I did an update of Firefox earlier, so I downgraded Firefox, but still google/ig (google Homepage crashed)

Then I saw on the terminal:

~> /usr/bin/firefox
*** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable).
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

That brought me to Java as the culprit. I updated
java-1_6_0-openjdk - Java runtime environment based on OpenJDK 6 and java-1_6_0-openjkd-plugin on Saturday and didn't open the homepage since then. So I downgraded java-1_6_0-openjdk, didn't help either.

The terminal showed the backtrace and memory map of the crash and it was all in

*** glibc detected *** /usr/lib/jvm/java-1.6.0-openjdk-1.2_b11/jre/lib/i386/../../bin/pluginappletviewer: free(): invalid pointer: 0xb7577254 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7dcc654]
/lib/libc.so.6(cfree+0x9c)[0xb7dcdf3c]
/usr/lib/jvm/java-1.6.0-openjdk-1.2_b11/jre/lib/i386/client/libjvm.so[0xb78d87e1]
/usr/lib/jvm/java-1.6.0-openjdk-1.2_b11/jre/lib/i386/client/libjvm.so[0xb789b852]
/usr/lib/jvm/java-1.6.0-openjdk-1.2_b11/jre/lib/i386/client/libjvm.so[0xb789d010]
/usr/lib/jvm/java-1.6.0-openjdk-1.2_b11/jre/lib/i386/client/libjvm.so[0xb78a1435]
/usr/lib/jvm/java-1.6.0-openjdk-1.2_b11/jre/lib/i386/client/libjvm.so(JNI_CreateJavaVM+0x5c)[0xb773e16c]
/usr/lib/jvm/java-1.6.0-openjdk-1.2_b11/jre/lib/i386/../../bin/pluginappletviewer(JavaMain+0x9e)[0x804a9ae]
/lib/libpthread.so.0[0xb7ecd1b5]
/lib/libc.so.6(clone+0x5e)[0xb7e313be]
[...]

I deleted java-1.6.0-openjdk and installed java-sun instead:

java-1_5_0-sun-plugin-1.5.0_update17-1.1
java-1_5_0-sun-1.5.0_update17-1.1

Now the google homepage is loading and the browser not crashing anymore.

No comments:

Post a Comment