ASSERTION: nsDocLoader not thread-safe: '_mOwningThread.GetThread() == PR when loading email message (IMAP)

NEW
Unassigned

Status

MailNews Core
Networking
--
critical
9 years ago
9 years ago

People

(Reporter: mcsmurf, Unassigned)

Tracking

({assertion})

Trunk
x86
Windows XP
assertion

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
To reproduce:
1. Build debug trunk build
2. Open a mail, I think one needs to use an IMAP account to reproduce

Results:
Assertion
###!!! ASSERTION: nsDocLoader not thread-safe: '_mOwningThread.GetThread() == PR
_GetCurrentThread()', file f:/mozilla/tree-hg/src/mozilla/uriloader/base/nsDocLo
ader.cpp, line 223

Stacktrace:
0:021> kp
ChildEBP RetAddr  
WARNING: Stack unwind information not available. Following frames may be wrong.
0dbbf6d0 002f9bb4 ntdll!DbgBreakPoint
*** WARNING: Unable to verify checksum for f:\mozilla\tree-hg\obj-suite-debug\mozilla\dist\bin\components\docshell.dll
0dbbfae8 017bc96c xpcom_core!NS_DebugBreak_P(unsigned int aSeverity = 1, char * aStr = 0x0182368c "nsDocLoader not thread-safe", char * aExpr = 0x01823658 "_mOwningThread.GetThread() == PR_GetCurrentThread()", char * aFile = 0x01823618 "f:/mozilla/tree-hg/src/mozilla/uriloader/base/nsDocLoader.cpp", int aLine = 223)+0x2a4 [f:\mozilla\tree-hg\src\mozilla\xpcom\base\nsdebugimpl.cpp @ 359]
0dbbfb14 017874fd docshell!nsDocLoader::Release(void)+0x6c [f:\mozilla\tree-hg\src\mozilla\uriloader\base\nsdocloader.cpp @ 223]
0dbbfb24 0177741d docshell!nsDocShell::Release(void)+0xd [f:\mozilla\tree-hg\src\mozilla\docshell\base\nsdocshell.cpp @ 412]
0dbbfb34 0027db3b docshell!nsWebShell::Release(void)+0xd [f:\mozilla\tree-hg\src\mozilla\docshell\base\nswebshell.cpp @ 611]
0dbbfb44 0030388d xpcom_core!nsCOMPtr<nsIInterfaceRequestor>::~nsCOMPtr<nsIInterfaceRequestor>(void)+0x3b [f:\mozilla\tree-hg\src\mozilla\xpcom\glue\nscomptr.h @ 526]
0dbbfb50 0030384f xpcom_core!nsInterfaceRequestorAgg::~nsInterfaceRequestorAgg(void)+0x1d
0dbbfb5c 0030381b xpcom_core!nsInterfaceRequestorAgg::`scalar deleting destructor'(void)+0xf
*** WARNING: Unable to verify checksum for f:\mozilla\tree-hg\obj-suite-debug\mozilla\dist\bin\components\necko.dll
0dbbfb78 030d566b xpcom_core!nsInterfaceRequestorAgg::Release(void)+0x8b [f:\mozilla\tree-hg\src\mozilla\xpcom\base\nsinterfacerequestoragg.cpp @ 55]
0dbbfb8c 030eaef7 necko!nsCOMPtr<nsIInterfaceRequestor>::assign_assuming_AddRef(class nsIInterfaceRequestor * newPtr = 0x00000000)+0x5b [f:\mozilla\tree-hg\obj-suite-debug\mozilla\dist\include\xpcom\nscomptr.h @ 511]
0dbbfb9c 030ea4a3 necko!nsCOMPtr<nsIInterfaceRequestor>::assign_with_AddRef(class nsISupports * rawPtr = 0x00000000)+0x27 [f:\mozilla\tree-hg\obj-suite-debug\mozilla\dist\include\xpcom\nscomptr.h @ 1187]
0dbbfbac 031087a5 necko!nsCOMPtr<nsIInterfaceRequestor>::operator=(class nsIInterfaceRequestor * rhs = 0x00000000)+0x13 [f:\mozilla\tree-hg\obj-suite-debug\mozilla\dist\include\xpcom\nscomptr.h @ 656]
*** WARNING: Unable to verify checksum for f:\mozilla\tree-hg\obj-suite-debug\mozilla\dist\bin\components\msgimap.dll
0dbbfbd0 02dfbcf1 necko!nsSocketTransport::SetSecurityCallbacks(class nsIInterfaceRequestor * callbacks = 0x00000000)+0x25 [f:\mozilla\tree-hg\src\mozilla\netwerk\base\src\nssockettransport2.cpp @ 1743]
0dbbfc74 02dfdda5 msgimap!nsImapProtocol::ReleaseUrlState(int rerunning = 0)+0x61 [f:\mozilla\tree-hg\src\mailnews\imap\src\nsimapprotocol.cpp @ 902]
0dbbfe68 02dfcc49 msgimap!nsImapProtocol::ProcessCurrentURL(void)+0xe55 [f:\mozilla\tree-hg\src\mailnews\imap\src\nsimapprotocol.cpp @ 1599]
0dbbfe98 02dfc0d0 msgimap!nsImapProtocol::ImapThreadMainLoop(void)+0x109 [f:\mozilla\tree-hg\src\mailnews\imap\src\nsimapprotocol.cpp @ 1258]
0dbbfeb4 002f36ea msgimap!nsImapProtocol::Run(void)+0x90 [f:\mozilla\tree-hg\src\mailnews\imap\src\nsimapprotocol.cpp @ 1010]
0dbbfef0 00286203 xpcom_core!nsThread::ProcessNextEvent(int mayWait = 1, int * result = 0x0dbbff08)+0x1fa [f:\mozilla\tree-hg\src\mozilla\xpcom\threads\nsthread.cpp @ 511]
0dbbff0c 002f281e xpcom_core!NS_ProcessNextEvent_P(class nsIThread * thread = 0x09058518, int mayWait = 1)+0x53 [f:\mozilla\tree-hg\obj-suite-debug\mozilla\xpcom\build\nsthreadutils.cpp @ 227]
0dbbff4c 003dc7fb xpcom_core!nsThread::ThreadFunc(void * arg = 0x09058518)+0xce [f:\mozilla\tree-hg\src\mozilla\xpcom\threads\nsthread.cpp @ 254]

Not sure if the bug belongs into this component here.
You need to log in before you can comment on or make changes to this bug.