crash on thunderbird startup [@ nsMsgLocalMailFolder::WriteStartOfNewMessage()]

RESOLVED DUPLICATE of bug 284876

Status

Thunderbird
General
--
critical
RESOLVED DUPLICATE of bug 284876
11 years ago
7 years ago

People

(Reporter: wsmwk, Unassigned)

Tracking

({crash})

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
Created attachment 275766 [details]
folder 1 thread pane entries missing all but date

after crash of bug 391252, thunderbird crashed on next 4 startups with top of stack nsMsgLocalMailFolder::WriteStartOfNewMessage() - stack below.  Don't have a regression range for this problem. Perhaps bug 62033?

additional problem - unknown if direct fallout from the start crashes or bug 391252 ... after it fully started I found some local folders messed up in the thread pane. Several entries in Folder 1 shows only date column. Rebuild index did not correct the problem (see attachment corrupt.png). Folder 2 nothing displays and I got "Unable
to the open folder ... in use by some other operation" (inuse.png).  Restarted
thunderbird a 5th time and folder 2 comes up, but has the same problem as
folder 1, i.e. some items in thread pane are missing/messed up.  Examined the
end of folder 1 and folder 1.msf - it looks like .msf folder has extra entries
that are corrupted. restarted again to get rid of folder in use problem.

crash with trunk version 3.0a1pre (2007080605). version 3.0a1pre (2007072305) gave me no problems. I didn't test any builds between 2007080605 and 2007072305.

http://crash-stats.mozilla.com/report/index/743730ba-44c9-11dc-b445-001a4bd43ef6?date=2007-08-07-09
Thunderbird 3.0a1pre Crash Report
UUID	743730ba-44c9-11dc-b445-001a4bd43ef6
Time	2007-08-07 02:34:54.320000-07:00
Build ID	2007080605
OS	Windows NT
OS Version	5.1.2600 Service Pack 2
CPU	x86
CPU Info	GenuineIntel family 15 model 2 stepping 9
Crash Reason	EXCEPTION_ACCESS_VIOLATION
Crash Address	0x8
Stack Traces
Stack of Crashing Thread
frame 	signature 	source
0 	nsMsgLocalMailFolder::WriteStartOfNewMessage() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\mailnews\local\src\nslocalmailfolder.cpp:2159
1 	nsMsgLocalMailFolder::StartMessage() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\mailnews\local\src\nslocalmailfolder.cpp:2656
2 	nsCopyMessageStreamListener::StartMessage() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\mailnews\base\src\nscopymessagestreamlistener.cpp:112
3 	nsImapMailFolder::StartMessage(nsIMsgMailNewsUrl*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\mailnews\imap\src\nsimapmailfolder.cpp:4773
4 	NS_InvokeByIndex_P 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp:101
5 	nsProxyObjectCallInfo::Run() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\proxy\src\nsproxyevent.cpp:181
6 	nsThread::ProcessNextEvent(int, int*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:490

Click to view other threads
Stack of Thread 1
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	NtWaitForSingleObject 	
2 	WaitForSingleObjectEx 	
3 	WaitForSingleObject 	
4 	_PR_MD_WAIT_CV 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95cv.c:280
5 	_PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:204
6 	PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:551
7 	TimerThread::Run() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\timerthread.cpp:321
8 	nsThread::ProcessNextEvent(int, int*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:490
9 	NS_ProcessNextEvent_P(nsIThread*, int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\obj-tb-trunk\xpcom\build\nsthreadutils.cpp:227
10 	nsThread::ThreadFunc(void*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:254
11 	_PR_NativeRunThread 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\pruthr.c:436
12 	pr_root 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95thred.c:122
13 	msvcr80.dll@0x29ba 	
14 	msvcr80.dll@0x2a46 	
Stack of Thread 2
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	NtRemoveIoCompletion 	
2 	SockAsyncThread 	
3 	BaseThreadStart 	
Stack of Thread 3
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	NtWaitForSingleObject 	
2 	SockWaitForSingleObject 	
3 	SockReleaseRwLockExclusive 	
4 	select 	
5 	_PR_MD_PR_POLL 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w32poll.c:273
6 	nsSocketTransportService::Poll(int, unsigned int*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\netwerk\base\src\nssockettransportservice2.cpp:333
7 	nsSocketTransportService::DoPollIteration(int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\netwerk\base\src\nssockettransportservice2.cpp:619
8 	nsSocketTransportService::OnProcessNextEvent(nsIThreadInternal*, int, unsigned int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\netwerk\base\src\nssockettransportservice2.cpp:498
9 	nsThread::ProcessNextEvent(int, int*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:477
10 	NS_ProcessNextEvent_P(nsIThread*, int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\obj-tb-trunk\xpcom\build\nsthreadutils.cpp:227
11 	nsSocketTransportService::Run() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\netwerk\base\src\nssockettransportservice2.cpp:540
12 	nsThread::ProcessNextEvent(int, int*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:490
13 	NS_ProcessNextEvent_P(nsIThread*, int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\obj-tb-trunk\xpcom\build\nsthreadutils.cpp:227
14 	nsThread::ThreadFunc(void*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:254
15 	_PR_NativeRunThread 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\pruthr.c:436
16 	RtlpAllocateFromHeapLookaside 	
17 	msvcr80.dll@0x2a46 	
Stack of Thread 4
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	ZwWaitForMultipleObjects 	
2 	CreateFileMappingA 	
3 	WaitForMultipleObjects 	
4 	nsNotifyAddrListener::Run() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\netwerk\system\win32\nsnotifyaddrlistener.cpp:160
5 	nsThread::ProcessNextEvent(int, int*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:490
6 	NS_ProcessNextEvent_P(nsIThread*, int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\obj-tb-trunk\xpcom\build\nsthreadutils.cpp:227
7 	nsThread::ThreadFunc(void*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:254
8 	_PR_NativeRunThread 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\pruthr.c:436
9 	pr_root 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95thred.c:122
10 	msvcr80.dll@0x29ba 	
11 	msvcr80.dll@0x2a46 	
Stack of Thread 5
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	ZwReplyWaitReceivePortEx 	
2 	LRPC_ADDRESS::ReceiveLotsaCalls() 	
3 	RecvLotsaCallsWrapper(LRPC_ADDRESS*) 	
4 	BaseCachedThreadRoutine(CACHED_THREAD*) 	
5 	ThreadStartRoutine(THREAD*) 	
6 	BaseThreadStart 	
Stack of Thread 6
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	ZwDelayExecution 	
2 	SleepEx 	
3 	Sleep 	
4 	ole32.dll@0x1e31c 	
5 	BaseThreadStart 	
Stack of Thread 7
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	NtWaitForSingleObject 	
2 	WaitForSingleObjectEx 	
3 	WaitForSingleObject 	
4 	_PR_MD_WAIT_CV 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95cv.c:280
5 	_PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:204
6 	PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:551
7 	nsSSLThread::Run() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\security\manager\ssl\src\nssslthread.cpp:966
8 	_PR_NativeRunThread 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\pruthr.c:436
9 	pr_root 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95thred.c:122
10 	msvcr80.dll@0x29ba 	
11 	msvcr80.dll@0x2a46 	
Stack of Thread 8
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	NtWaitForSingleObject 	
2 	WaitForSingleObjectEx 	
3 	WaitForSingleObject 	
4 	_PR_MD_WAIT_CV 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95cv.c:280
5 	_PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:204
6 	PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:551
7 	nsCertVerificationThread::Run() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\security\manager\ssl\src\nscertverificationthread.cpp:138
8 	_PR_NativeRunThread 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\pruthr.c:436
9 	pr_root 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95thred.c:122
10 	msvcr80.dll@0x29ba 	
11 	msvcr80.dll@0x2a46 	
Stack of Thread 9
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	NtWaitForSingleObject 	
2 	WaitForSingleObjectEx 	
3 	WaitForSingleObject 	
4 	_PR_MD_WAIT_CV 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95cv.c:280
5 	_PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:204
6 	PR_Wait 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\prmon.c:175
7 	nsAutoMonitor::Wait(unsigned int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\glue\nsautolock.h:322
8 	nsThreadPool::Run() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthreadpool.cpp:200
9 	nsThread::ProcessNextEvent(int, int*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:490
10 	NS_ProcessNextEvent_P(nsIThread*, int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\obj-tb-trunk\xpcom\build\nsthreadutils.cpp:227
11 	nsThread::ThreadFunc(void*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:254
12 	_PR_NativeRunThread 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\pruthr.c:436
13 	pr_root 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95thred.c:122
14 	msvcr80.dll@0x29ba 	
15 	msvcr80.dll@0x2a46 	
Stack of Thread 10
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	NtWaitForSingleObject 	
2 	WaitForSingleObjectEx 	
3 	WaitForSingleObject 	
4 	_PR_MD_WAIT_CV 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95cv.c:280
5 	_PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:204
6 	PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:551
7 	ProcessAsyncMessages 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\storage\src\mozstorageasyncio.cpp:1528
8 	AsyncWriteThread::Run() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\storage\src\mozstorageasyncio.cpp:471
9 	nsThread::ProcessNextEvent(int, int*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:490
10 	NS_ProcessNextEvent_P(nsIThread*, int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\obj-tb-trunk\xpcom\build\nsthreadutils.cpp:227
11 	nsThread::ThreadFunc(void*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:254
12 	_PR_NativeRunThread 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\pruthr.c:436
13 	pr_root 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95thred.c:122
14 	msvcr80.dll@0x29ba 	
15 	msvcr80.dll@0x2a46 	
Stack of Thread 11
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	NtWaitForSingleObject 	
2 	WaitForSingleObjectEx 	
3 	WaitForSingleObject 	
4 	_PR_MD_WAIT_CV 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95cv.c:280
5 	_PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:204
6 	PR_Wait 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\prmon.c:175
7 	nsEventQueue::GetEvent(int, nsIRunnable**) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nseventqueue.cpp:85
8 	nsThread::ProcessNextEvent(int, int*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:481
9 	NS_ProcessNextEvent_P(nsIThread*, int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\obj-tb-trunk\xpcom\build\nsthreadutils.cpp:227
10 	nsThread::ThreadFunc(void*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:254
11 	_PR_NativeRunThread 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\pruthr.c:436
12 	RtlpFreeToHeapLookaside 	
13 	msvcr80.dll@0x2a46 	
Stack of Thread 12
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	NtWaitForSingleObject 	
2 	WaitForSingleObjectEx 	
3 	WaitForSingleObject 	
4 	_PR_MD_WAIT_CV 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95cv.c:280
5 	_PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:204
6 	PR_Wait 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\prmon.c:175
7 	nsEventQueue::GetEvent(int, nsIRunnable**) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nseventqueue.cpp:85
8 	nsThread::ProcessNextEvent(int, int*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:481
9 	NS_ProcessNextEvent_P(nsIThread*, int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\obj-tb-trunk\xpcom\build\nsthreadutils.cpp:227
10 	nsProxyEventObject::CallMethod(unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\proxy\src\nsproxyeventobject.cpp:250
11 	PrepareAndDispatch 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp:114
12 	SharedStub 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp:141
13 	nsImapProtocol::PercentProgressUpdateEvent(unsigned short*, int, int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\mailnews\imap\src\nsimapprotocol.cpp:4710
Stack of Thread 13
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	NtWaitForSingleObject 	
2 	WaitForSingleObjectEx 	
3 	WaitForSingleObject 	
4 	_PR_MD_WAIT_CV 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95cv.c:280
5 	_PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:204
6 	PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:551
7 	nsHostResolver::GetHostToLookup(nsHostRecord**) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\netwerk\dns\src\nshostresolver.cpp:580
8 	nsHostResolver::ThreadFunc(void*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\netwerk\dns\src\nshostresolver.cpp:681
9 	_PR_NativeRunThread 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\pruthr.c:436
10 	RtlpGetRegistrationHead 	
11 	msvcr80.dll@0x2a46 	
Stack of Thread 14
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	NtWaitForSingleObject 	
2 	WaitForSingleObjectEx 	
3 	WaitForSingleObject 	
4 	_PR_MD_WAIT_CV 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95cv.c:280
5 	_PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:204
6 	PR_Wait 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\prmon.c:175
7 	nsEventQueue::GetEvent(int, nsIRunnable**) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nseventqueue.cpp:85
8 	nsThread::ProcessNextEvent(int, int*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:481
9 	NS_ProcessNextEvent_P(nsIThread*, int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\obj-tb-trunk\xpcom\build\nsthreadutils.cpp:227
10 	nsProxyEventObject::CallMethod(unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\proxy\src\nsproxyeventobject.cpp:250
11 	PrepareAndDispatch 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp:114
12 	SharedStub 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp:141
13 	nsImapProtocol::BeginMessageDownLoad(unsigned int, char const*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\mailnews\imap\src\nsimapprotocol.cpp:2672
Stack of Thread 15
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	NtWaitForSingleObject 	
2 	WaitForSingleObjectEx 	
3 	WaitForSingleObject 	
4 	_PR_MD_WAIT_CV 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95cv.c:280
5 	_PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:204
6 	PR_Wait 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\prmon.c:175
7 	nsImapProtocol::ImapThreadMainLoop() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\mailnews\imap\src\nsimapprotocol.cpp:1155
8 	nsImapProtocol::Run() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\mailnews\imap\src\nsimapprotocol.cpp:952
9 	nsThread::ProcessNextEvent(int, int*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:490
10 	NS_ProcessNextEvent_P(nsIThread*, int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\obj-tb-trunk\xpcom\build\nsthreadutils.cpp:227
11 	nsThread::ThreadFunc(void*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:254
12 	_PR_NativeRunThread 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\pruthr.c:436
13 	pr_root 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95thred.c:122
14 	msvcr80.dll@0x29ba 	
15 	msvcr80.dll@0x2a46 	
Stack of Thread 16
frame 	signature 	source
0 	KiFastSystemCallRet 	
1 	NtWaitForSingleObject 	
2 	WaitForSingleObjectEx 	
3 	WaitForSingleObject 	
4 	_PR_MD_WAIT_CV 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\md\windows\w95cv.c:280
5 	_PR_WaitCondVar 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\combined\prucv.c:204
6 	PR_Wait 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\nsprpub\pr\src\threads\prmon.c:175
7 	nsEventQueue::GetEvent(int, nsIRunnable**) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nseventqueue.cpp:85
8 	nsThread::ProcessNextEvent(int, int*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\threads\nsthread.cpp:481
9 	NS_ProcessNextEvent_P(nsIThread*, int) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\obj-tb-trunk\xpcom\build\nsthreadutils.cpp:227
10 	nsProxyEventObject::CallMethod(unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\proxy\src\nsproxyeventobject.cpp:250
11 	PrepareAndDispatch 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp:114
12 	SharedStub 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcstubs.cpp:141
13 	nsImapProtocol::OnCreateServerSourceFolderPathString() 	d:\builds\tinderbox\tb-trunk\winnt_5.2_depend\mozilla\mailnews\imap\src\nsimapprotocol.cpp:5507

Comment 1

11 years ago
they're probably related, but I'm not seeing that crash. Also, there's been a crash in that method forever, that we've never been able to reproduce. So maybe that bug somehow makes it easier to trigger that crash.
(Reporter)

Comment 2

11 years ago
(In reply to comment #1)
> they're probably related, but I'm not seeing that crash. Also, there's been a
> crash in that method forever, that we've never been able to reproduce. So maybe
> that bug somehow makes it easier to trigger that crash.

is what you mention related or, even better, limited to what is seen in bug 284876 (which has some form of a patch)?

I wouldn't want to make a habit of facing dataloss bugs :), but after bug 389898 is squared away I might be able to help someone face that issue by using these damaged builds.  Perhaps what triggered it is many messages ready (queued on imap) to be filtered at the time that I mailed a message.

Comment 3

11 years ago
that was the bug I was thinking of. Do you do fcc to an imap folder? And do you have your imap folders configured for offline use?
(Reporter)

Comment 4

11 years ago
(In reply to comment #3)
> that was the bug I was thinking of. Do you do fcc to an imap folder? 

yes, my sent folder is set to my imap "inbox"


> And do you have your imap folders configured for offline use?

no. offline is not set. (also no imap folders have "check folder for new messages")

(Reporter)

Comment 5

10 years ago
haven't seen this for many months.

However, there is something out there in the wild, but very faint - only 5 crashes in 3 months on crash-stats, with various build dates.  
2008010703
2008012803
2008011304
2008011003
2008010903

bp-c5903df0-ce29-11dc-af6c-001a4bd43ef6 is a linux example with looks like exact same stack.  changing to OS=ALL

bp-0e18cc68-dbfc-11dc-ab69-001a4bd43e5c is windows example with same top of stack, but rest is not quite the same
0  	nsMsgLocalMailFolder::WriteStartOfNewMessage()  	 mozilla/mailnews/local/src/nsLocalMailFolder.cpp:2166
1 	nsMsgLocalMailFolder::StartMessage() 	mozilla/mailnews/local/src/nsLocalMailFolder.cpp:2662
2 	nsCopyMessageStreamListener::StartMessage() 	mozilla/mailnews/base/src/nsCopyMessageStreamListener.cpp:112
3 	nsMailboxProtocol::OnStopRequest(nsIRequest*, nsISupports*, unsigned int) 	mozilla/mailnews/local/src/nsMailboxProtocol.cpp:295
4 	nsInputStreamPump::OnStateStop() 	mozilla/netwerk/base/src/nsInputStreamPump.cpp:576
5 	nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) 	mozilla/netwerk/base/src/nsInputStreamPump.cpp:401
6 	nsInputStreamReadyEvent::Run() 	mozilla/xpcom/io/nsStreamUtils.cpp:111
7 	nsThread::ProcessNextEvent(int, int*) 	mozilla/xpcom/threads/nsThread.cpp:510
8 	NS_ProcessNextEvent_P(nsIThread*, int) 	nsThreadUtils.cpp:227
9 	nsBaseAppShell::Run() 	mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:154
10 	nsAppStartup::Run() 	mozilla/toolkit/components/startup/src/nsAppStartup.cpp:181
11 	XRE_main 	mozilla/toolkit/xre/nsAppRunner.cpp:3207
12 	NS_internal_main(int, char**) 	mozilla/mail/app/nsMailApp.cpp:91
13 	wmain 	mozilla/toolkit/xre/nsWindowsWMain.cpp:55
14 	__tmainCRTStartup 	crtexe.c:594
15 	BaseProcessStart
OS: Windows XP → All
http://crash-stats.mozilla.com/report/index/66019b38-220a-11dd-8196-001a4bd46e84

I didn't crash when testing Shredder Alpha 1 on Windows, nor on Mac with debug builds, so I'm thinking this bug might be related to Windows / Linux-only, and IMAP when looking at the stacktraces.

The above breakpad report shows a stacktrace using Shredder Alpha 1 though. This crash seems to still exist, though I've a feeling the steps to reproduce are still hazy.

Comment 7

10 years ago
It looks like mCopyState is null - we can easily check for that, but figuring out why it's null, and how to really handle it correctly is more difficult.
(Reporter)

Comment 8

10 years ago
not sure this is useful, but this crash of mine happened while I was away from my desk for a long period bp-7bdb47ae-4778-11dd-a84f-001a4bd43ef6
(Reporter)

Comment 9

9 years ago
now #27 crasher in 3.0b2

(In reply to comment #7)
> It looks like mCopyState is null - we can easily check for that, but figuring
> out why it's null, and how to really handle it correctly is more difficult.

yeah.  the only crash in 3.0b2 with a comment is bp-087fdcf3-5be3-4aae-bdd7-238612090511 "Editing a message with Eudora Beta"

Frame	Module	Signature [Expand]	Source
0	eudora-bin	nsMsgLocalMailFolder::WriteStartOfNewMessage	nsLocalMailFolder.cpp:2232
1	eudora-bin	nsCopyMessageStreamListener::StartMessage	nsCopyMessageStreamListener.cpp:109
2	eudora-bin	nsMailboxProtocol::OnStopRequest	nsMailboxProtocol.cpp:295
3	eudora-bin	nsInputStreamPump::OnStateStop	netwerk/base/src/nsInputStreamPump.cpp:576
4	eudora-bin	nsInputStreamPump::OnInputStreamReady	netwerk/base/src/nsInputStreamPump.cpp:401
5	libxpcom_core.dylib	nsInputStreamReadyEvent::Run	xpcom/io/nsStreamUtils.cpp:111
6	libxpcom_core.dylib	nsThread::ProcessNextEvent	xpcom/threads/nsThread.cpp:510 


The thunderbird ones I see are all 
0	thunderbird.exe	nsMsgLocalMailFolder::WriteStartOfNewMessage	nsLocalMailFolder.cpp:2232
1	thunderbird.exe	nsMsgLocalMailFolder::StartMessage	nsLocalMailFolder.cpp:2747
2	thunderbird.exe	nsCopyMessageStreamListener::StartMessage	nsCopyMessageStreamListener.cpp:109
3	thunderbird.exe	nsImapMailFolder::StartMessage	nsImapMailFolder.cpp:5004
4	xpcom_core.dll	NS_InvokeByIndex_P	xpcom/reflect/xptcall/src/md/win32/xptcinvoke.cpp:101
(Reporter)

Comment 10

9 years ago
seen also in 3.0b3pre as recent as 20090329031258 bp-7ca7a91e-ec7b-40cd-b581-098092090331
Given what the stack looks like, I wonder if there's dataloss here...
(Reporter)

Comment 12

8 years ago
duping to bug 284876
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 284876
(Assignee)

Updated

7 years ago
Crash Signature: [@ nsMsgLocalMailFolder::WriteStartOfNewMessage()]
You need to log in before you can comment on or make changes to this bug.