Closed
Bug 111922
Opened 23 years ago
Closed 23 years ago
[Xlib] Fatal crash at shutdown in nsAppShellService destructor
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.7
People
(Reporter: roland.mainz, Assigned: roland.mainz)
References
()
Details
(Keywords: crash, regression)
Attachments
(1 file)
433 bytes,
patch
|
leaf
:
review+
|
Details | Diff | Splinter Review |
2001-11-24-08-trunk build with Sun Workshop 6 Update 2 on Solaris 7 SPARC, I ma
getting a crash at shutdown after visiting the example URL and then close the
window immediately:
-- snip --
WARNING: requested removal of nonexistent window
, file
../../../../../../../../../home/mozilla/src/2001-11-24-08-trunk/mozilla/embedding/components/windowwatcher/src/nsWindowWatcher.cpp,
line 846
WEBSHELL- = 4
WEBSHELL- = 3
WEBSHELL- = 2
WEBSHELL- = 1
WEBSHELL- = 0
nsPluginHostImpl::Observe "xpcom-shutdown"
### nsCacheProfilePrefObserver::Observe [topic=xpcom-shutdown data=]
WARNING: Creating new service on shutdown. Denied., file
../../../../../../../home/mozilla/src/2001-11-24-08-trunk/mozilla/xpcom/components/nsComponentManager.cpp,
line 1953
nsPluginHostImpl dtor
WARNING: Creating new service on shutdown. Denied., file
../../../../../../../home/mozilla/src/2001-11-24-08-trunk/mozilla/xpcom/components/nsComponentManager.cpp,
line 1953
WARNING: Creating new service on shutdown. Denied., file
../../../../../../../home/mozilla/src/2001-11-24-08-trunk/mozilla/xpcom/components/nsComponentManager.cpp,
line 1695
WARNING: Creating new service on shutdown. Denied., file
../../../../../../../home/mozilla/src/2001-11-24-08-trunk/mozilla/xpcom/components/nsComponentManager.cpp,
line 1953
WARNING: Creating new service on shutdown. Denied., file
../../../../../../../home/mozilla/src/2001-11-24-08-trunk/mozilla/xpcom/components/nsComponentManager.cpp,
line 1953
t@1 (l@1) signal ILL (illegal opcode) in (unknown) at 0xfa9a8
0x000fa9a8: unimp 0x9
dbx: read of 4 bytes at address 0x98110484 failed -- Error 0
Current function is nsAppShellService::~nsAppShellService
114 hiddenWin->Close();
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
current thread: t@1
[1] 0xfa9a8(0x13ce88, 0xffbeef9c, 0xfe341c88, 0xa6, 0xfe28d5ee, 0xfe340a68),
at 0xfa9a7
[2] nsCOMPtr<nsIAppShell>::~nsCOMPtr(0x13ce88, 0xffbeef9c, 0x0, 0xf, 0x4e06e,
0xe), at 0xfe2d2cb0
=>[3] nsAppShellService::~nsAppShellService(this = 0x13ce70), line 114 in
"nsAppShellService.cpp"
[4] __SLIP.DELETER__A(0x13ce70, 0x1, 0xfe3278e2, 0x0, 0x2000, 0xfe341e78), at
0xfe2d258c
[5] nsAppShellService::Release(this = 0x13ce70), line 128 in
"nsAppShellService.cpp"
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2001-11-24-08-trunk/objdir_ws6_xlib/xpcom/build/nsCOMPtr.o"
dbx: warning: see `help finding-files'
[6] nsCOMPtr_base::assign_assuming_AddRef(0xda0bc, 0x0, 0xff3e3140,
0xff3e3128, 0xff3e1b8c, 0xff3bdc2c), at 0xff13fd24
[7] nsCOMPtr_base::assign_with_AddRef(0xda0bc, 0x0, 0xff3e1528, 0xff3e1b8c,
0xfeeaca1c, 0xff3c34e0), at 0xff13fc78
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2001-11-24-08-trunk/objdir_ws6_xlib/xpcom/build/nsComponentManager.o"
[8] nsCOMPtr<nsISupports>::operator=(0xda0bc, 0x0, 0xed068, 0x67, 0xda0a0,
0xff1bd210), at 0xff0d523c
[9] FreeServiceFactoryEntryEnumerate(0x40a68, 0x42aa8, 0x338, 0x0, 0x0,
0xb0acbf80), at 0xff0d01ec
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2001-11-24-08-trunk/objdir_ws6_xlib/xpcom/build/pldhash.o"
[10] PL_DHashTableEnumerate(0x40a68, 0xff0d01a4, 0x0, 0x339, 0x8, 0x42aa8), at
0xff069e34
[11] nsComponentManagerImpl::FreeServices(0x40a48, 0x0, 0xffbef344, 0x0,
0xfbdd42d8, 0xff1c55bc), at 0xff0d02b0
[12] NS_ShutdownXPCOM(servMgr = ???) (optimized), at 0xff067bd4 (line ~481) in
"nsXPComInit.cpp"
[13] main(argc = ???, argv = ???) (optimized), at 0x17b68 (line ~1642) in
"nsAppRunner.cpp"
-- snip --
Assignee | ||
Comment 1•23 years ago
|
||
More detailed info:
-- snip --
t@1 (l@1) signal ILL (illegal opcode) in (unknown) at 0x562ee8
0x00562ee8: unimp 0x8
dbx: read of 4 bytes at address 0x98572de4 failed -- Error 0
Current function is nsAppShellService::~nsAppShellService
116 hiddenWin->Close();
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) print -r hiddenWin
hiddenWin = {
nsCOMPtr<nsIWebShellWindow>::nsCOMPtr_base::mRawPtr = (nil)
}
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
current thread: t@1
[1] 0x562ee8(0x13c950, 0x71, 0xfee39978, 0xfee3d844, 0xfee39978, 0x190), at
0x562ee7
[2] nsCOMPtr<nsIAppShell>::~nsCOMPtr(0x13c950, 0xfdea789e, 0xfdea78af, 0x71,
0x4e19b, 0xb), at 0xfde52d68
=>[3] nsAppShellService::~nsAppShellService(this = 0x13c938), line 116 in
"nsAppShellService.cpp"
[4] __SLIP.DELETER__A(0x13c938, 0x1, 0xfdea7a46, 0x0, 0x2000, 0xfdec1fe8), at
0xfde526a4
[5] nsAppShellService::Release(this = 0x13c938), line 130 in
"nsAppShellService.cpp"
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2001-11-24-08-trunk/objdir_ws6_xlib/xpcom/build/nsCOMPtr.o"
dbx: warning: see `help finding-files'
[6] nsCOMPtr_base::assign_assuming_AddRef(0xd9e1c, 0x0, 0x0, 0x0, 0x0, 0x0),
at 0xff13fd24
[7] nsCOMPtr_base::assign_with_AddRef(0xd9e1c, 0x0, 0x0, 0x0, 0x0, 0x0), at
0xff13fc78
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2001-11-24-08-trunk/objdir_ws6_xlib/xpcom/build/nsComponentManager.o"
[8] nsCOMPtr<nsISupports>::operator=(0xd9e1c, 0x0, 0xed068, 0x0, 0xd9e00,
0xff1bd210), at 0xff0d523c
[9] FreeServiceFactoryEntryEnumerate(0x40a68, 0x42aa8, 0x337, 0x0, 0x0,
0xb0acbf80), at 0xff0d01ec
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2001-11-24-08-trunk/objdir_ws6_xlib/xpcom/build/pldhash.o"
[10] PL_DHashTableEnumerate(0x40a68, 0xff0d01a4, 0x0, 0x338, 0x8, 0x42aa8), at
0xff069e34
[11] nsComponentManagerImpl::FreeServices(0x40a48, 0x0, 0xffbef344, 0x0,
0xfbdd42d8, 0xff1c55bc), at 0xff0d02b0
[12] NS_ShutdownXPCOM(servMgr = ???) (optimized), at 0xff067bd4 (line ~481) in
"nsXPComInit.cpp"
[13] main(argc = ???, argv = ???) (optimized), at 0x17b68 (line ~1642) in
"nsAppRunner.cpp"
-- snip --
Assignee | ||
Comment 2•23 years ago
|
||
My fault... ;-(
Assignee: asa → Roland.Mainz
Keywords: regression
Summary: Fatal crash at shutdown in nsAppShellService destructor → [Xlib] Fatal crash at shutdown in nsAppShellService destructor
Target Milestone: --- → mozilla0.9.7
Assignee | ||
Comment 4•23 years ago
|
||
Day of the living dead |nsIAppShell|s.
This patch kicks it back into it's grave ...
(regression from bug 111508... sorry ;-( )
Comment 5•23 years ago
|
||
Comment on attachment 59159 [details] [diff] [review]
Patch for 2001-11-24-08-trunk
too many releases is never good.
Attachment #59159 -
Flags: review+
Comment 7•23 years ago
|
||
*** Bug 112133 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 8•23 years ago
|
||
Fix checked in...
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 9•23 years ago
|
||
I'm getting the same stack trace as bug 112133:
#0 nsComponentManagerImpl::FreeServices (this=0x0)
at /disks/current/moz/mozilla/xpcom/components/nsComponentManager.cpp:1918
#1 0x281ab600 in NS_ShutdownXPCOM (servMgr=0x0)
at /disks/current/moz/mozilla/xpcom/build/nsXPComInit.cpp:548
#2 0x8051764 in main (argc=1, argv=0xbfbff974)
at /disks/current/moz/mozilla/xpfe/bootstrap/nsAppRunner.cpp:1633
As its duped to this one, I'm reopening this bug.
The difference is I'm running FreeBSD:
drbrain@PII350$ uname -a
FreeBSD PII350.home.segment7.net 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Fri Feb 22
00:51:23 PST 2002
root@PII350.home.segment7.net:/disks/current/obj/disks/current/src/sys/PII350
i386
cvsco log:
checkout start: Sun Feb 24 11:46:40 PST 2002
...
checkout finish: Sun Feb 24 11:52:08 PST 2002
This is a crash on startup.
Core dumps ready for degbugging :)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 10•23 years ago
|
||
A clobber build fixed my problem, but I did step through and found that in
main1() in nsAppRunner.cpp, it would return at line 1161 after:
nsCOMPtr<nsIObserver> startupNotifier =
do_CreateInstance(NS_APPSTARTUPNOTIFIER_CONTRACTID, &rv);
failed.
Apparently this is the result of a bad build, and should probably return to
being resolved fixed.
Comment 11•23 years ago
|
||
so this is fixed/wfm?
Assignee | ||
Comment 12•23 years ago
|
||
Marking FIXED again per comment #10 ...
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•