Closed Bug 116412 Opened 23 years ago Closed 23 years ago

Installing jdk1.4b3 plugin via regxpcom crashes

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 99337

People

(Reporter: spf, Assigned: joe.chou)

Details

(Keywords: crash)

On build 2001122106, when I try to install the Java plugin corresponding to JDK1.4b3 like this: ./run-mozilla.sh ./regxpcom /usr/local/jdk1.4.0/jre/plugin/i386/ns610/libjavaplugin_oji140.so I get a segmentation fault. This method was working correctly up until a few days ago. If this is the correct way to install the plugin on linux, then this is a pretty severe bug. If this is not the correct way to install the plugin, there needs to be better documentation on how to do so.
Keywords: crash
This has been working on and off for me. Some nightlies crash, others work fine.
Also on build 2002010121 and 2001123006 on two separate RedHat 7.1 boxes (both fully patched). A stack trace follows: #0 0x400a7b6e in nsGetServiceByContractID::operator() () from ./libxpcom.so #1 0x40322b5c in plugin_nsModule::RegisterSelf () from /usr/java/j2sdk1.4.0/jre/plugin/i386/ns610/libjavaplugin_oji140.so #2 0x400af7bb in nsNativeComponentLoader::SelfRegisterDll () from ./libxpcom.so #3 0x400b0959 in nsNativeComponentLoader::AutoRegisterComponent () from ./libxpcom.so #4 0x400ac8fb in nsComponentManagerImpl::AutoRegisterComponent () from ./libxpcom.so #5 0x400adb5a in nsComponentManager::AutoRegisterComponent () from ./libxpcom.so #6 0x08048974 in Register () #7 0x08048c62 in ProcessArgs () #8 0x08048cef in main ()
Status: UNCONFIRMED → NEW
Ever confirmed: true
An identical regxpcom core occurs in Mozilla nightly 2002020412 with J2SDK 1.4.0 release candidate, specifically: % java -version java version "1.4.0-rc" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b91) Java HotSpot(TM) Client VM (build 1.4.0-rc-b91, mixed mode) Perhaps a dumb question, but is this a Mozilla bug or a plugin bug? If the latter, it's been present since at least beta3. Will it be fixed in the 1.4.0 release? If there's anything I can do to help reproducing the bug, please let me know--it occurs without fail on two separate RedHat 7.1/glibc 2.2.4-19.3 hosts. (It may be worth noting that I've tried the "LD_ASSUME_KERNEL" suggestion found in other similar bugs with no luck.)
The problem is caused by change in IComponentManager on Dec 18 2001 as a fix for bug 98553 See also bug 99337. If fact we can close this bug as dupe of 99337 if the platform there will be changed there to All.
It does not seem to be possible to use JRE 1.4-rc with Mozilla 0.9.8 (milestone) I get a crash every time, and the plugin is not activated. (0.9.7 worked just fine with regxpcom)
*** This bug has been marked as a duplicate of 99337 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
dup of bug: 99337.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.