Closed Bug 229469 Opened 21 years ago Closed 21 years ago

Mozilla crashes at startup with "No manager for initializing factory?"

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: siemsen, Assigned: yuanyi21)

Details

(Keywords: crash)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 After upgrading from Mozilla 1.4 to 1.6b, Mozilla crashes at startup with "INTERNAL ERROR on Browser End: No manager for initializing factory? System error?:: Success Removing the Java plugin fixes the problem, but of course I can't run Java applets. If I try to use either the Sun 1.4.2 Java plugin or the Blackdown 1.4.2 plugin, I get the error. I'm running Red Hat Linux 7.3 with a 2.4.20 kernel and glibc 2.2.5. The Sun plugin worked when I was using Mozilla 1.4. I installed j2sdk-1.4.2-rc1-linux-i586-gcc2.95.bin. Reproducible: Always Steps to Reproduce: 1. Start Mozilla with a link to the Java plugin 2. 3. Actual Results: "INTERNAL ERROR on Browser End: No manager for initializing factory? System error?:: Success Expected Results: Run normally with support for Java plugins.
BTW, bug 212016 is a similar bug, but wasn't enlightening.
Severity: major → critical
Keywords: crash
you should use plain Sun's JRE 1.4.2_03 and the ns610-gcc322/ plug-in (your JRE seems to have been compiled with GCC 2.95, hence it won't work with Mozilla 1.6b, compiled with GCC 3.2).
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Ok, I upgraded from Sun's JDK 1.4.2 to 1.4.2_03 and made a link from the plugins directory to /usr/java/j2sdk1.4.2_03/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so. Note that the link is to ns610-gcc32, not ns610-gcc322. Mozilla now displays LoadPlugin: failed to initialize shared library /usr/java/j2sdk1.4.2_03/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so [libgcc_s.so.1: cannot open shared object file: No such file or directory] I confess to being confused by gcc library version issues. I searched Google for libgcc_s.so.1, and found an RPM named libgcc-3.0.4-1.i386.rpm. Is it safe to install it?
not sure which distro you're using, see http://mozilla.org/releases/mozilla1.6b/known-issues.html#java for more: "The Sun Java Plugin is compatible with modern Linux versions like Red Hat 8 or later and SuSE 8.1 or later (the plugin depends on a newer version of libgcc_s.so, installing the GCC supplements for Red Hat 7.3 -GCC 3.1 Compiler Suite for Red Hat Linux 7.3 - may allow for some older Red Hat Linux to run the plugin)" see also http://plugindoc.mozdev.org/faqs/java.html: "If you are using an older Linux distribution, you may need to install the gcc3 support libraries, as the gcc 3.2 version of the Java plugin requires libgcc_s.so.1 to operate. You may be able to find packages using Google."
Yeah, I saw that. I wasn't able to find the "Red Hat 7.3 -GCC 3.1 Compiler Suite for Red Hat Linux 7.3". I'm scared that installing libgcc-3.0.4-1.i386.rpm will cabbage my system - future use of the linker will go nuts or I'll just die in dependency hell. I'm giving up. Please mark this bug appropriately. Thank you very much for your help.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.