imap crash [@ operator new(unsigned int) | nsThread::PushEventQueue(nsIThreadEventFilter*)] - nsImapProtocol

RESOLVED WORKSFORME

Status

()

Core
XPCOM
--
critical
RESOLVED WORKSFORME
8 years ago
6 years ago

People

(Reporter: wsmwk, Unassigned)

Tracking

({crash})

1.9.1 Branch
x86
Windows Vista
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [tbird crash], crash signature)

(Reporter)

Description

8 years ago
imap crash [@ operator new(unsigned int) | nsThread::PushEventQueue(nsIThreadEventFilter*)]

low cash rate, only crashes recorded are for v3.0, and none in alpha and beta
all are ms-windows
none found for seamonkey or firefox

should this move to xpcom?

-----------------------------------------------------------------------------
there are couple variations of this crash. most involve nsImapProtocol::ProcessCurrentURL

 The simplest is nsImapProtocol::ProcessCurrentURL - nsImapProtocol::ImapThreadMainLoop like
bp-5c11388a-88ff-41a1-bc60-001042091214
0  	kernel32.dll  	RaiseException  	
1 	mozcrt19.dll 	_CxxThrowException 	throw.cpp:159
2 	mozcrt19.dll 	operator new 	objdir-tb/mozilla/memory/jemalloc/src/new.cpp:57
3 	xpcom_core.dll 	nsThread::PushEventQueue 	xpcom/threads/nsThread.cpp:606
4 	xpcom_core.dll 	nsProxyEventObject::CallMethod 	xpcom/proxy/src/nsProxyEventObject.cpp:252
5 	xpcom_core.dll 	PrepareAndDispatch 	xpcom/reflect/xptcall/src/md/win32/xptcstubs.cpp:114
6 	xpcom_core.dll 	SharedStub 	xpcom/reflect/xptcall/src/md/win32/xptcstubs.cpp:141
7 	thunderbird.exe 	nsImapProtocol::ProcessCurrentURL 	mailnews/imap/src/nsImapProtocol.cpp:1779
8 	nspr4.dll 	_MD_CURRENT_THREAD 	nsprpub/pr/src/md/windows/w95thred.c:308
9 	nspr4.dll 	_PR_MD_UNLOCK 	nsprpub/pr/src/md/windows/w95cv.c:344
10 	nspr4.dll 	PR_Unlock 	nsprpub/pr/src/threads/combined/prulock.c:347
11 	thunderbird.exe 	nsImapProtocol::ImapThreadMainLoop 	mailnews/imap/src/nsImapProtocol.cpp:1364

a slight variation is bp-7d8f9bc9-5d48-422c-9667-b390b2100113
0	kernel32.dll	RaiseException	
1	mozcrt19.dll	_CxxThrowException	throw.cpp:159
2	mozcrt19.dll	operator new	objdir-tb/mozilla/memory/jemalloc/src/new.cpp:57
3	xpcom_core.dll	nsThread::PushEventQueue	xpcom/threads/nsThread.cpp:606
4	xpcom_core.dll	nsProxyEventObject::CallMethod	xpcom/proxy/src/nsProxyEventObject.cpp:252
5	xpcom_core.dll	PrepareAndDispatch	xpcom/reflect/xptcall/src/md/win32/xptcstubs.cpp:114
6	xpcom_core.dll	SharedStub	xpcom/reflect/xptcall/src/md/win32/xptcstubs.cpp:141
7	thunderbird.exe	nsImapProtocol::ProcessCurrentURL	mailnews/imap/src/nsImapProtocol.cpp:1779
8	xpcom_core.dll	nsCOMPtr_base::~nsCOMPtr_base	objdir-tb/mozilla/xpcom/build/nsCOMPtr.cpp:81
9	thunderbird.exe	nsMsgCompressIStream::AsyncWait	mailnews/base/util/nsMsgCompressIStream.cpp:212
10	thunderbird.exe	nsMsgCompressIStream::Release	mailnews/base/util/nsMsgCompressIStream.cpp:21
11	thunderbird.exe	nsImapProtocol::Idle	mailnews/imap/src/nsImapProtocol.cpp:7475
12	thunderbird.exe	nsCacheEntryDescriptor::nsInputStreamWrapper::AddRef	netwerk/cache/src/nsCacheEntryDescriptor.cpp:494
13	xpcom_core.dll	nsCategoryObserver::nsCategoryObserver	objdir-tb/mozilla/xpcom/build/nsCategoryCache.cpp:99
14	xpcom_core.dll	nsThread::ThreadFunc	xpcom/threads/nsThread.cpp:254 

---------------------------------------------------------------------------
others involve nsImapProtocol::HeaderFetchCompleted

bp-7d8f9bc9-5d48-422c-9667-b390b2100113 is the simplest and shortest
0	KERNELBASE.dll	RaiseException	
1	mozcrt19.dll	_CxxThrowException	throw.cpp:159
2	mozcrt19.dll	operator new	objdir-tb/mozilla/memory/jemalloc/src/new.cpp:57
3	xpcom_core.dll	nsThread::PushEventQueue	xpcom/threads/nsThread.cpp:606
4	xpcom_core.dll	nsProxyEventObject::CallMethod	xpcom/proxy/src/nsProxyEventObject.cpp:252
5	xpcom_core.dll	PrepareAndDispatch	xpcom/reflect/xptcall/src/md/win32/xptcstubs.cpp:114
6	xpcom_core.dll	SharedStub	xpcom/reflect/xptcall/src/md/win32/xptcstubs.cpp:141
7	thunderbird.exe	nsImapProtocol::HeaderFetchCompleted	mailnews/imap/src/nsImapProtocol.cpp:4171
8	thunderbird.exe	nsImapProtocol::ProcessMailboxUpdate	mailnews/imap/src/nsImapProtocol.cpp:4015
9	mozcrt19.dll	free	objdir-tb/mozilla/memory/jemalloc/src/jemalloc.c:6404
10	thunderbird.exe	nsXULWindow::AddRef	netwerk/cache/src/nsCacheEntryDescriptor.cpp:494
11	thunderbird.exe	nsImapMockChannel::QueryInterface	mailnews/imap/src/nsImapProtocol.cpp:8362
12	xpcom_core.dll	nsQueryInterface::operator	objdir-tb/mozilla/xpcom/build/nsCOMPtr.cpp:47
13	nspr4.dll	_PR_MD_UNLOCK	nsprpub/pr/src/md/windows/w95cv.c:344
14	thunderbird.exe	nsImapProtocol::SelectMailbox	mailnews/imap/src/nsImapProtocol.cpp:3060 

similar are
bp-12492a1a-c089-448e-b148-79ce32091222 
bp-7512f01a-a85d-4943-9017-5c5392091205
(In reply to comment #0)
> imap crash [@ operator new(unsigned int) |
> nsThread::PushEventQueue(nsIThreadEventFilter*)]
> 
> low cash rate, only crashes recorded are for v3.0, and none in alpha and beta
> all are ms-windows
> none found for seamonkey or firefox

so no 3.0.x ?
(Reporter)

Comment 2

8 years ago
yes all v3. probably too low a crash rate to see in v3.1

Comment 3

8 years ago
no, you can fix this (in theory) by using CPP_THROW_NEW

Comment 4

8 years ago
oops, sorry, i assumed mailnews was allocating, yeah, this goes to xpcom, but note that their plans for fixing such things are ... "interesting".
Component: Networking: IMAP → XPCOM
Product: MailNews Core → Core
QA Contact: networking.imap → xpcom
Version: Trunk → 1.9.1 Branch
(Reporter)

Updated

8 years ago
Whiteboard: [tbird crash]
(Assignee)

Updated

7 years ago
Crash Signature: [@ operator new(unsigned int) | nsThread::PushEventQueue(nsIThreadEventFilter*)]
(Reporter)

Comment 5

6 years ago
no crashes after 3.0.x
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.