Closed Bug 97770 Opened 23 years ago Closed 23 years ago

regxpcom crashes in xpcom shutdown - Trunk [@ nsComponentManagerImpl::UnloadLibraries]

Categories

(Core :: XPCOM, defect)

defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla0.9.4

People

(Reporter: blizzard, Assigned: dp)

References

Details

(Keywords: crash, topcrash, Whiteboard: critical for 0.9.4)

Crash Data

Attachments

(1 file)

Build is from the evening of Aug 30, 2001.

If you run regxpcom it crashes with a segmentation fault.  Here's the stack trace:

#0  0x400a2fc2 in nsComponentManagerImpl::UnloadLibraries (this=0x804b7b0, 
    serviceMgr=0x0, aWhen=3) at nsComponentManager.cpp:1957
#1  0x4009f943 in nsComponentManagerImpl::Shutdown (this=0x804b7b0)
    at nsComponentManager.cpp:377
#2  0x4006de52 in NS_ShutdownXPCOM (servMgr=0x0) at nsXPComInit.cpp:509
#3  0x08048a59 in main (argc=1, argv=0xbffff774) at regchrome.cpp:39
#4  0x4016c7c7 in __libc_start_main (main=0x8048950 <main>, argc=1, 
    ubp_av=0xbffff774, init=0x8048770 <_init>, fini=0x8048af8 <_fini>, 
    rtld_fini=0x4000db74 <_dl_fini>, stack_end=0xbffff76c)
    at ../sysdeps/generic/libc-start.c:129

#0  0x400a2fc2 in nsComponentManagerImpl::UnloadLibraries (this=0x804b7b0, 
    serviceMgr=0x0, aWhen=3) at nsComponentManager.cpp:1957
1957            rv = mLoaderData[i].loader->UnloadAll(aWhen);
(gdb) print mLoaderData[i].loader
$1 = (class nsIComponentLoader *) 0x0
(gdb) print i
$2 = 1

This is a serious regression.
Can't ship like this because you can't generate rpms.  Marking as critical for
0.9.4.
Severity: normal → critical
Whiteboard: critical for 0.9.4
Caused by bug 97658.
Working on it.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.4
*** Bug 97800 has been marked as a duplicate of this bug. ***
Comment on attachment 47828 [details] [diff] [review]
Fixing crash on shutdown

Yay!
Attachment #47828 - Flags: review+
Hmmmm, didn't put r=jag in the bug for me.
Fix is in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
verified fixed on mac commercial build 2001-08-31-10-trunk
Status: RESOLVED → VERIFIED
Comment on attachment 47828 [details] [diff] [review]
Fixing crash on shutdown

sr=blizzard
Attachment #47828 - Flags: superreview+
*** Bug 97792 has been marked as a duplicate of this bug. ***
*** Bug 98008 has been marked as a duplicate of this bug. ***
Keywords: topcrash
Summary: regxpcom crashes in xpcom shutdown → regxpcom crashes in xpcom shutdown [@ nsComponentManagerImpl::UnloadLibraries]
*** Bug 98051 has been marked as a duplicate of this bug. ***
changing to ALL
OS: Linux → All
Hardware: PC → All
*** Bug 98007 has been marked as a duplicate of this bug. ***
*** Bug 98170 has been marked as a duplicate of this bug. ***
*** Bug 97803 has been marked as a duplicate of this bug. ***
*** Bug 98151 has been marked as a duplicate of this bug. ***
Keywords: crash
Summary: regxpcom crashes in xpcom shutdown [@ nsComponentManagerImpl::UnloadLibraries] → regxpcom crashes in xpcom shutdown - Trunk [@ nsComponentManagerImpl::UnloadLibraries]
Crash Signature: [@ nsComponentManagerImpl::UnloadLibraries]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: