Closed
Bug 271156
Opened 20 years ago
Closed 12 years ago
###!!! ASSERTION: unable to post continuation event: 'Error', file r:/mozilla/xpcom/io/nsStreamUtils.cpp, line 441
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: timeless, Unassigned)
Details
(Keywords: assertion)
(shutting down)
###!!! ASSERTION: Why are we creating new state when disabled?:
'!gTimelineDisabled', file r:/mozilla/xpcom/ds/nsTimelineService.cpp, line 225
00000.015 (00345280): ...main1
###!!! ASSERTION: unable to post continuation event: 'Error', file
r:/mozilla/xpcom/io/nsStreamUtils.cpp, line 441
Break: at file r:/mozilla/xpcom/io/nsStreamUtils.cpp, line 441
sts thread (asserting):
xpcom_core.dll!nsDebug::Assertion(const char * aStr=0x00503fcc, const char *
aExpr=0x00503e0c, const char * aFile=0x00503ecc, int aLine=0x000001b9) Line 109 C++
xpcom_core.dll!nsAStreamCopier::PostContinuationEvent_Locked() Line 442 C++
xpcom_core.dll!nsAStreamCopier::PostContinuationEvent() Line 419 + 0x7 C++
xpcom_core.dll!nsAStreamCopier::OnInputStreamReady(nsIAsyncInputStream *
source=0x0514f164) Line 378 C++
necko.dll!nsSocketInputStream::OnSocketReady(unsigned int
condition=0x80004004) Line 235 C++
necko.dll!nsSocketTransport::OnSocketDetached(PRFileDesc * fd=0x03aaafb0)
Line 1468 C++
necko.dll!nsSocketTransportService::DetachSocket(nsSocketTransportService::SocketContext
* sock=0x0112bb38) Line 186 C++
necko.dll!nsSocketTransportService::Run() Line 579 + 0x16 C++
xpcom_core.dll!nsThread::Main(void * arg=0x01121340) Line 119 C++
nspr4.dll!_PR_NativeRunThread(void * arg=0x01121438) Line 436 + 0xd C
nspr4.dll!pr_root(void * arg=0x01121438) Line 116 + 0xd C
msvcr70d.dll!_threadstartex(void * ptd=0x011221f0) Line 241 + 0xd C
kernel32.dll!SetFileApisToOEM() + 0x5f5
main thread:
> nspr4.dll!_PR_WaitCondVar(PRThread * thread=0x00345280, PRCondVar *
cvar=0x01121600, PRLock * lock=0x003450c8, unsigned int timeout=0xffffffff)
Line 204 + 0x17 C
nspr4.dll!PR_WaitCondVar(PRCondVar * cvar=0x01121600, unsigned int
timeout=0xffffffff) Line 551 + 0x17 C
nspr4.dll!PR_JoinThread(PRThread * thread=0x01121438) Line 1593 + 0xb C
xpcom_core.dll!nsThread::Join() Line 180 + 0x7 C++
necko.dll!nsSocketTransportService::Shutdown() Line 420 C++
necko.dll!nsIOService::SetOffline(int offline=0x00000001) Line 527 + 0x1a C++
necko.dll!nsIOService::Observe(nsISupports * subject=0x01831e00, const char *
topic=0x0264090c, const unsigned short * data=0x026408d0) Line 681 C++
xpcom_core.dll!nsObserverService::NotifyObservers(nsISupports *
aSubject=0x01831e00, const char * aTopic=0x0264090c, const unsigned short *
someData=0x026408d0) Line 232 C++
profile.dll!nsProfile::ShutDownCurrentProfile(unsigned int
shutDownType=0x00000001) Line 1328 C++
mozilla.exe!DoOnShutdown() Line 811 C++
mozilla.exe!main(int argc=0x00000001, char * * argv=0x00347b88) Line 1817 +
0x5 C++
mozilla.exe!mainCRTStartup() Line 400 + 0x11 C
kernel32.dll!TermsrvAppInstallMode() + 0x269
Comment 1•20 years ago
|
||
Confirming this bug here with todays cvs build (1.8b2). It happens for me too
while shutdown is in progress:
--WEBSHELL == 4
--DOMWINDOW == 5
--DOMWINDOW == 4
--WEBSHELL == 3
--WEBSHELL == 2
--WEBSHELL == 1
WARNING: NS_ENSURE_TRUE(nsDoc) failed, file nsXULElement.cpp, line 2571
--DOMWINDOW == 3
[New Thread 327683 (LWP 11451)]
###!!! ASSERTION: unable to post continuation event: 'Error', file
nsStreamUtils.cpp, line 442
Break: at file nsStreamUtils.cpp, line 442
Suspending process; attach with the debugger.
Program received signal SIGSTOP, Stopped (signal).
[Switching to Thread 32769 (LWP 4732)]
0xb763ddec in poll () from /lib/libc.so.6
(gdb) info threads
22 Thread 327683 (LWP 11451) 0xb7d65636 in nanosleep () from /lib/libpthread.
so.0
5 Thread 49156 (LWP 1694) 0xb7d65636 in nanosleep () from /lib/libpthread.so.
0
3 Thread 16386 (LWP 4733) 0xb75a74a1 in kill () from /lib/libc.so.6
* 2 Thread 32769 (LWP 4732) 0xb763ddec in poll () from /lib/libc.so.6
1 Thread 16384 (LWP 4726) 0xb75a74a1 in kill () from /lib/libc.so.6
(gdb)
(gdb) thread 3
[Switching to thread 3 (Thread 16386 (LWP 4733))]#0 0xb75a74a1 in kill () from
/lib/libc.so.6
(gdb) where
#0 0xb75a74a1 in kill () from /lib/libc.so.6
#1 0xb7f998ab in nsDebugImpl::Break (this=0x81c1b90, aFile=0xb7fceedc
"nsStreamUtils.cpp", aLine=442) at nsDebugImpl.cpp:333
#2 0xb7f99793 in nsDebugImpl::Assertion (this=0x81c1b90, aStr=0xb7fceff4
"unable to post continuation event",
aExpr=0xb7fcefed "Error", aFile=0xb7fceedc "nsStreamUtils.cpp", aLine=442)
at nsDebugImpl.cpp:294
#3 0xb7f120b8 in nsDebug::Assertion (aStr=0xb7fceff4 "unable to post
continuation event", aExpr=0xb7fcefed "Error",
aFile=0xb7fceedc "nsStreamUtils.cpp", aLine=442) at nsDebug.cpp:108
#4 0xb7f6401e in nsAStreamCopier::PostContinuationEvent_Locked (this=0x86abf90)
at nsStreamUtils.cpp:442
#5 0xb7f63f21 in nsAStreamCopier::PostContinuationEvent (this=0x86abf90) at
nsStreamUtils.cpp:420
#6 0xb7f652dd in nsAStreamCopier::OnInputStreamReady (this=0x86abf90,
source=0x916077c) at nsStreamUtils.cpp:378
#7 0xb7086368 in nsSocketInputStream::OnSocketReady (this=0x916077c,
condition=2147500036) at nsSocketTransport2.cpp:240
#8 0xb7089ff0 in nsSocketTransport::OnSocketDetached (this=0x9160698,
fd=0x81bcef8) at nsSocketTransport2.cpp:1528
#9 0xb708d04b in nsSocketTransportService::DetachSocket (this=0x81ffc00,
sock=0x81ffc3c)
at nsSocketTransportService2.cpp:184
#10 0xb708e467 in nsSocketTransportService::Run (this=0x81ffc00) at
nsSocketTransportService2.cpp:619
#11 0xb7f8ce7d in nsThread::Main (arg=0x8200320) at nsThread.cpp:118
#12 0xb7df8fbc in _pt_root (arg=0x82003a0) at ptthread.c:217
#13 0xb7d5eb15 in pthread_start_thread () from /lib/libpthread.so.0
#14 0xb7d5ec84 in pthread_start_thread_event () from /lib/libpthread.so.0
#15 0xb764732a in clone () from /lib/libc.so.6
(gdb)
(gdb) bt full
#0 0xb75a74a1 in kill () from /lib/libc.so.6
No symbol table info available.
#1 0xb7f998ab in nsDebugImpl::Break (this=0x81c1b90, aFile=0xb7fceedc
"nsStreamUtils.cpp", aLine=442) at nsDebugImpl.cpp:333
assertBehavior = 0xbffff495 "suspend"
#2 0xb7f99793 in nsDebugImpl::Assertion (this=0x81c1b90, aStr=0xb7fceff4
"unable to post continuation event",
aExpr=0xb7fcefed "Error", aFile=0xb7fceedc "nsStreamUtils.cpp", aLine=442)
at nsDebugImpl.cpp:294
buf = "###!!! ASSERTION: unable to post continuation event: 'Error',
file nsStreamUtils.cpp, line
442\000·\001\000\000\000\b\000\000\000üÿÿÿ\001\000\000\000 \003 \b(dà·|
ÙÕ·§>ß·¨[δ{\000\000\000(Yδ\000\000\000\000¬YδTNÖ·\001\000\000\000\216@ß·\v\00
0\000\000ôYδ\000\004\000\000{", '\0' <repeats 15 times>, "\001", '\0' <repeats
19 times>, "\225\016Ö·l\\"...
#3 0xb7f120b8 in nsDebug::Assertion (aStr=0xb7fceff4 "unable to post
continuation event", aExpr=0xb7fcefed "Error",
aFile=0xb7fceedc "nsStreamUtils.cpp", aLine=442) at nsDebug.cpp:108
No locals.
#4 0xb7f6401e in nsAStreamCopier::PostContinuationEvent_Locked (this=0x86abf90)
at nsStreamUtils.cpp:442
event = (PLEvent *) 0x86edfa8
rv = 2152398864
#5 0xb7f63f21 in nsAStreamCopier::PostContinuationEvent (this=0x86abf90) at
nsStreamUtils.cpp:420
lock = {<nsAutoLockBase> = {mAddr = 0x89e28b8, mDown = 0x0, mType =
eAutoLock}, mLock = 0x89e28b8, mLocked = 1}
#6 0xb7f652dd in nsAStreamCopier::OnInputStreamReady (this=0x86abf90,
source=0x916077c) at nsStreamUtils.cpp:378
No locals.
#7 0xb7086368 in nsSocketInputStream::OnSocketReady (this=0x916077c,
condition=2147500036) at nsSocketTransport2.cpp:240
callback = {mRawPtr = 0x86abf90}
#8 0xb7089ff0 in nsSocketTransport::OnSocketDetached (this=0x9160698,
fd=0x81bcef8) at nsSocketTransport2.cpp:1528
secCtrl = {mRawPtr = 0x8208dd0}
#9 0xb708d04b in nsSocketTransportService::DetachSocket (this=0x81ffc00,
sock=0x81ffc3c)
at nsSocketTransportService2.cpp:184
index = 136315112
#10 0xb708e467 in nsSocketTransportService::Run (this=0x81ffc00) at
nsSocketTransportService2.cpp:619
i = 1
count = 0
active = 0
#11 0xb7f8ce7d in nsThread::Main (arg=0x8200320) at nsThread.cpp:118
self = (nsThread *) 0x8200320
rv = 0
#12 0xb7df8fbc in _pt_root (arg=0x82003a0) at ptthread.c:217
rv = 0
thred = (PRThread *) 0x82003a0
detached = 0
#13 0xb7d5eb15 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0xb7d5ec84 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#15 0xb764732a in clone () from /lib/libc.so.6
No symbol table info available.
(gdb)
Comment 2•20 years ago
|
||
and actually almost same again as mozilla was shutting down, possibly mailer has
asserted too. Is the tilde below correct?:
#7 0xb7f60005 in ~nsPipeEvents (this=0xbfffe4d0) at nsPipe3.cpp:589
Anyway, full trace:
(gdb)
Continuing.
nsPluginHostImpl::Observe "xpcom-shutdown"
WARNING: nsExceptionService ignoring thread destruction after shutdown, file
nsExceptionService.cpp, line 191
+++ JavaScript debugging hooks removed.
nsPluginHostImpl dtor
Abort mail message delivery.
###!!! ASSERTION: unable to post continuation event: 'Error', file
nsStreamUtils.cpp, line 442
Break: at file nsStreamUtils.cpp, line 442
Suspending process; attach with the debugger.
Program received signal SIGSTOP, Stopped (signal).
[Switching to Thread 49156 (LWP 1694)]
0xb7d61d76 in __pthread_sigsuspend () from /lib/libpthread.so.0
(gdb) info threads
* 5 Thread 49156 (LWP 1694) 0xb7d61d76 in __pthread_sigsuspend () from /lib/
libpthread.so.0
2 Thread 32769 (LWP 4732) 0xb763ddec in poll () from /lib/libc.so.6
1 Thread 16384 (LWP 4726) 0xb75a74a1 in kill () from /lib/libc.so.6
(gdb) thread 1
[Switching to thread 1 (Thread 16384 (LWP 4726))]#0 0xb75a74a1 in kill () from
/lib/libc.so.6
(gdb) where
#0 0xb75a74a1 in kill () from /lib/libc.so.6
#1 0xb7f998ab in nsDebugImpl::Break (this=0x81c1b90, aFile=0xb7fceedc
"nsStreamUtils.cpp", aLine=442) at nsDebugImpl.cpp:333
#2 0xb7f99793 in nsDebugImpl::Assertion (this=0x81c1b90, aStr=0xb7fceff4
"unable to post continuation event",
aExpr=0xb7fcefed "Error", aFile=0xb7fceedc "nsStreamUtils.cpp", aLine=442)
at nsDebugImpl.cpp:294
#3 0xb7f120b8 in nsDebug::Assertion (aStr=0xb7fceff4 "unable to post
continuation event", aExpr=0xb7fcefed "Error",
aFile=0xb7fceedc "nsStreamUtils.cpp", aLine=442) at nsDebug.cpp:108
#4 0xb7f6401e in nsAStreamCopier::PostContinuationEvent_Locked (this=0x8387798)
at nsStreamUtils.cpp:442
#5 0xb7f63f21 in nsAStreamCopier::PostContinuationEvent (this=0x8387798) at
nsStreamUtils.cpp:420
#6 0xb7f65131 in nsAStreamCopier::OnOutputStreamReady (this=0x8387798,
sink=0x83592b0) at nsStreamUtils.cpp:384
#7 0xb7f60005 in ~nsPipeEvents (this=0xbfffe4d0) at nsPipe3.cpp:589
#8 0xb7f5fe3e in nsPipe::OnPipeException (this=0x8359278, reason=2152398850,
outputOnly=0) at nsPipe3.cpp:571
#9 0xb7f60512 in nsPipeInputStream::CloseWithStatus (this=0x8359284,
reason=2152398850) at nsPipe3.cpp:691
#10 0xb70621d1 in nsInputStreamPump::Cancel (this=0x8a5d420, status=2152398850)
at nsInputStreamPump.cpp:155
#11 0xb5a45dde in nsMsgProtocol::Cancel (this=0x916fd88, status=2152398850) at
nsMsgProtocol.cpp:753
#12 0xb57d66d8 in nsPop3Protocol::Cancel (this=0x916fd88, status=2152398849) at
nsPop3Protocol.cpp:809
#13 0xb57df511 in OnResponseTimeout (timer=0x86b39f0, aPop3Protocol=0x916fd88)
at nsPop3Protocol.cpp:3951
#14 0xb7f8ec6e in nsTimerImpl::Fire (this=0x86b39f0) at nsTimerImpl.cpp:383
#15 0xb7f8ee6e in handleTimerEvent (event=0xb45004b8) at nsTimerImpl.cpp:448
#16 0xb7f87019 in PL_HandleEvent (self=0xb45004b8) at plevent.c:698
#17 0xb7f86ece in PL_ProcessPendingEvents (self=0x81e7918) at plevent.c:633
#18 0xb7f8a208 in nsEventQueueImpl::ProcessPendingEvents (this=0x81e78e0) at
nsEventQueue.cpp:418
#19 0xb7f184c0 in NS_ShutdownXPCOM_P (servMgr=0x0) at nsXPComInit.cpp:801
#20 0x0804ec04 in main (argc=1, argv=0xbfffe7f4) at nsAppRunner.cpp:1839
(gdb)
(gdb) bt full
#0 0xb75a74a1 in kill () from /lib/libc.so.6
No symbol table info available.
#1 0xb7f998ab in nsDebugImpl::Break (this=0x81c1b90, aFile=0xb7fceedc
"nsStreamUtils.cpp", aLine=442) at nsDebugImpl.cpp:333
assertBehavior = 0xbffff495 "suspend"
#2 0xb7f99793 in nsDebugImpl::Assertion (this=0x81c1b90, aStr=0xb7fceff4
"unable to post continuation event",
aExpr=0xb7fcefed "Error", aFile=0xb7fceedc "nsStreamUtils.cpp", aLine=442)
at nsDebugImpl.cpp:294
buf = "###!!! ASSERTION: unable to post continuation event: 'Error',
file nsStreamUtils.cpp, line 442\000\000lЯ ┐\034цоиh.
D\b3\n^иР2ои\000\000\000\000h.D\b\000\000\000\000}2оиЗ\177оил-
D\b3\n^иР2оиЗ\177оил-
D\b3\n^игЯ ┐\034цои\020\232jиj\000оиЗ\177jи\000\000\000\000\000\232jи\000\000\00
0\000╠Я ┐\034цои"...
#3 0xb7f120b8 in nsDebug::Assertion (aStr=0xb7fceff4 "unable to post
continuation event", aExpr=0xb7fcefed "Error",
aFile=0xb7fceedc "nsStreamUtils.cpp", aLine=442) at nsDebug.cpp:108
No locals.
#4 0xb7f6401e in nsAStreamCopier::PostContinuationEvent_Locked (this=0x8387798)
at nsStreamUtils.cpp:442
event = (PLEvent *) 0x8437800
rv = 2152398864
#5 0xb7f63f21 in nsAStreamCopier::PostContinuationEvent (this=0x8387798) at
nsStreamUtils.cpp:420
lock = {<nsAutoLockBase> = {mAddr = 0x911dff0, mDown = 0x0, mType =
eAutoLock}, mLock = 0x911dff0, mLocked = 1}
#6 0xb7f65131 in nsAStreamCopier::OnOutputStreamReady (this=0x8387798,
sink=0x83592b0) at nsStreamUtils.cpp:384
No locals.
#7 0xb7f60005 in ~nsPipeEvents (this=0xbfffe4d0) at nsPipe3.cpp:589
No locals.
#8 0xb7f5fe3e in nsPipe::OnPipeException (this=0x8359278, reason=2152398850,
outputOnly=0) at nsPipe3.cpp:571
events = {mInputStream = {mRawPtr = 0x0}, mInputCallback = {mRawPtr =
0x0}, mOutputStream = {mRawPtr = 0x83592b0},
mOutputCallback = {mRawPtr = 0x838779c}}
#9 0xb7f60512 in nsPipeInputStream::CloseWithStatus (this=0x8359284,
reason=2152398850) at nsPipe3.cpp:691
No locals.
#10 0xb70621d1 in nsInputStreamPump::Cancel (this=0x8a5d420, status=2152398850)
at nsInputStreamPump.cpp:155
No locals.
#11 0xb5a45dde in nsMsgProtocol::Cancel (this=0x916fd88, status=2152398850) at
nsMsgProtocol.cpp:753
No locals.
#12 0xb57d66d8 in nsPop3Protocol::Cancel (this=0x916fd88, status=2152398849) at
nsPop3Protocol.cpp:809
No locals.
#13 0xb57df511 in OnResponseTimeout (timer=0x86b39f0, aPop3Protocol=0x916fd88)
at nsPop3Protocol.cpp:3951
pop3Protocol = (nsPop3Protocol *) 0x916fd88
#14 0xb7f8ec6e in nsTimerImpl::Fire (this=0x86b39f0) at nsTimerImpl.cpp:383
now = 492347564
timeout = 492065025
#15 0xb7f8ee6e in handleTimerEvent (event=0xb45004b8) at nsTimerImpl.cpp:448
timer = (nsTimerImpl *) 0x86b39f0
#16 0xb7f87019 in PL_HandleEvent (self=0xb45004b8) at plevent.c:698
result = (void *) 0xb45004b8
#17 0xb7f86ece in PL_ProcessPendingEvents (self=0x81e7918) at plevent.c:633
event = (PLEvent *) 0xb45004b8
count = 75
#18 0xb7f8a208 in nsEventQueueImpl::ProcessPendingEvents (this=0x81e78e0) at
nsEventQueue.cpp:418
correctThread = 1
#19 0xb7f184c0 in NS_ShutdownXPCOM_P (servMgr=0x0) at nsXPComInit.cpp:801
rv = 0
currentQ = {mRawPtr = 0x81e78e0}
#20 0x0804ec04 in main (argc=1, argv=0xbfffe7f4) at nsAppRunner.cpp:1839
i = 1
x11threadsafe = 0
rv = 0
dosplash = 0
remoterv = 0
argused = 0
mainResult = 0
nativeApp = (class nsINativeAppSupport *) 0x80c4b60
splash = (class nsISplashScreen *) 0x0
(gdb)
Updated•18 years ago
|
Assignee: dougt → nobody
QA Contact: xpcom
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•