Open Bug 1749177 Opened 3 years ago Updated 1 month ago

Thunderbird Crash in [@ shutdownhang | NtCreateFile]

Categories

(Thunderbird :: General, defect)

x86
Windows 10
defect

Tracking

(thunderbird_esr102 wontfix, thunderbird_esr115 wontfix, thunderbird_esr128 affected)

Tracking Status
thunderbird_esr102 --- wontfix
thunderbird_esr115 --- wontfix
thunderbird_esr128 --- affected

People

(Reporter: wsmwk, Unassigned)

References

Details

(Keywords: crash)

Crash Data

For better tracking, this is Thunderbird equivalent of Bug 1182927 - crash at [@ shutdownhang | NtCreateFile ]

I estimate the signature rank to be around #150 for 91.3.0.

Below are four unique stacks. I see at least two of each, there may be more that are more common.

0 ntdll.dll NtCreateFile 
1 KERNELBASE.dll CreateFileInternal 
2 KERNELBASE.dll CreateFileW 
3 xul.dll OpenFile xpcom/io/nsLocalFileWin.cpp:549
4 xul.dll nsLocalFile::OpenNSPRFileDesc xpcom/io/nsLocalFileWin.cpp:1195
5 xul.dll nsFileStreamBase::DoOpen netwerk/base/nsFileStreams.cpp:324
6 xul.dll nsFileInputStream::Open netwerk/base/nsFileStreams.cpp:429
7 xul.dll nsFileInputStream::Init netwerk/base/nsFileStreams.cpp:447
8 xul.dll NS_NewLocalFileInputStream netwerk/base/nsNetUtil.cpp:132
9 xul.dll nsMsgBrkMBoxStore::GetMsgInputStream comm/mailnews/local/src/nsMsgBrkMBoxStore.cpp:684
10 xul.dll	nsMsgDBFolder::GetMsgInputStream	comm/mailnews/base/src/nsMsgDBFolder.cpp:842
11 xul.dll	nsMsgDBFolder::GetOfflineFileStream comm/mailnews/base/src/nsMsgDBFolder.cpp:686
12 xul.dll	nsImapMailFolder::GetOfflineFileStream comm/mailnews/imap/src/nsImapMailFolder.cpp:8863
13 xul.dll	nsImapMockChannel::ReadFromLocalCache() comm/mailnews/imap/src/nsImapProtocol.cpp:9562
14 xul.dll	nsImapMockChannel::AsyncOpen  comm/mailnews/imap/src/nsImapProtocol.cpp:9629
15 xul.dll	nsImapService::GetMessageFromUrl  comm/mailnews/imap/src/nsImapService.cpp:1053
16 xul.dll	nsImapService::StreamMessage  comm/mailnews/imap/src/nsImapService.cpp:1147
17 xul.dll	nsOfflineStoreCompactState::CopyNextMessage comm/mailnews/base/src/nsMsgFolderCompactor.cpp:950 
0 ntdll.dll NtCreateFile 
1 KERNELBASE.dll CreateFileInternal 
2 KERNELBASE.dll CreateFileW 
3 xul.dll OpenFile xpcom/io/nsLocalFileWin.cpp:549
4 xul.dll nsLocalFile::OpenNSPRFileDesc xpcom/io/nsLocalFileWin.cpp:1195
5 xul.dll nsMsgFileStream::InitWithFile comm/mailnews/base/src/nsMsgFileStream.cpp:60
6 xul.dll MsgGetFileStream comm/mailnews/base/src/nsMsgUtils.cpp:1273
7 xul.dll nsMsgBrkMBoxStore::GetNewMsgOutputStream comm/mailnews/local/src/nsMsgBrkMBoxStore.cpp:590
8 xul.dll nsPop3Sink::IncorporateBegin comm/mailnews/local/src/nsPop3Sink.cpp:430
9 xul.dll nsPop3Protocol::RetrResponse comm/mailnews/local/src/nsPop3Protocol.cpp:3148
0 ntdll.dll NtCreateFile 
1 AppvIsvSubsystems64.dll static long vfs_hooks::hooked_NtCreateFile 
2 KERNELBASE.dll CreateFileInternal 
3 KERNELBASE.dll CreateFileW 
4 xul.dll OpenFile xpcom/io/nsLocalFileWin.cpp:549
5 xul.dll nsLocalFile::OpenNSPRFileDesc xpcom/io/nsLocalFileWin.cpp:1195
6 xul.dll nsFileStreamBase::DoOpen netwerk/base/nsFileStreams.cpp:324
7 xul.dll NS_NewLocalFileInputStream netwerk/base/nsNetUtil.cpp:132
8 xul.dll CCompositionFile::CCompositionFile comm/mailnews/import/src/nsOutlookCompose.cpp:511
9 xul.dll nsOutlookCompose::CopyComposedMessage comm/mailnews/import/src/nsOutlookCompose.cpp:349
10 xul.dll nsOutlookCompose::ProcessMessage comm/mailnews/import/src/nsOutlookCompose.cpp:422
11 xul.dll ImportMailboxRunnable::Run()	comm/mailnews/import/src/nsOutlookMail.cpp:407 
0 ntdll.dll NtCreateFile 
1 KERNELBASE.dll CreateFileInternal 
2 KERNELBASE.dll CreateFileW 
3 xul.dll OpenFile xpcom/io/nsLocalFileWin.cpp:549
4 xul.dll nsLocalFile::OpenNSPRFileDesc xpcom/io/nsLocalFileWin.cpp:1195
5 xul.dll mozilla::net::CacheIndex::WriteLogToDisk netwerk/cache2/CacheIndex.cpp:2017
6 xul.dll static mozilla::net::CacheIndex::Shutdown netwerk/cache2/CacheIndex.cpp:431
7 xul.dll static mozilla::net::CacheFileIOManager::Shutdown netwerk/cache2/CacheFileIOManager.cpp:1176
8 xul.dll mozilla::net::CacheObserver::Observe netwerk/cache2/CacheObserver.cpp:228
9 xul.dll nsObserverList::NotifyObservers xpcom/ds/nsObserverList.cpp:70
See Also: → 1182927
Severity: S2 → S3

There are still version 115 crashes. A large percentage of comments mention unable to startup - at least 30% of comments made in English. bp-056965be-1936-4d2f-9bd0-178c60230909 is an example. crash-stats shows 46% of crashes have 1-5 minutes of uptime

And another number of comments mention long delays several times a day, or deleting messages. For example. bp-d2722149-0d74-48f4-84be-2b1290230417 bp-d2722149-0d74-48f4-84be-2b1290230417 bp-372b8951-c174-49d6-bccc-7c3480230512

Reporter bp-7ad4ac39-b389-4f2a-8967-50dd50231023 states "Thunderbird locks up every time I start it this morning"

0 ntdll.dll NtCreateFile context
1 KERNELBASE.dll CreateFileInternal
2 KERNELBASE.dll CreateFileW
3 xul.dll OpenFile(nsTString<char16_t> const&, int, int, bool, PRFileDesc**) xpcom/io/nsLocalFileWin.cpp:561
4 xul.dll nsLocalFile::OpenNSPRFileDescMaybeShareDelete(int, int, bool, PRFileDesc**) xpcom/io/nsLocalFileWin.cpp:1403 inlined
4 xul.dll nsLocalFile::OpenNSPRFileDesc(int, int, PRFileDesc**) xpcom/io/nsLocalFileWin.cpp:1205
5 xul.dll nsFileStreamBase::DoOpen() netwerk/base/nsFileStreams.cpp:358
6 xul.dll NS_NewLocalFileInputStream(nsIInputStream**, nsIFile*, int, int, int) netwerk/base/nsNetUtil.cpp:142
7 xul.dll nsMsgBrkMBoxStore::GetMsgInputStream(nsIMsgFolder*, nsTSubstring<char> const&, nsIInputStream**) mailnews/local/src/nsMsgBrkMBoxStore.cpp:709
8 xul.dll nsMsgDBFolder::GetMsgInputStream(nsIMsgDBHdr*, nsIInputStream**) mailnews/base/src/nsMsgDBFolder.cpp:963
9 xul.dll nsMsgSearchScopeTerm::GetInputStream(nsIMsgDBHdr*, nsIInputStream**) mailnews/search/src/nsMsgSearchTerm.cpp:1634
10 xul.dll nsMsgBodyHandler::OpenLocalFolder() mailnews/search/src/nsMsgBodyHandler.cpp:138
11 xul.dll nsMsgBodyHandler::nsMsgBodyHandler(nsIMsgSearchScopeTerm*, unsigned int, nsIMsgDBHdr*, nsIMsgDatabase*) mailnews/search/src/nsMsgBodyHandler.cpp:42
12 xul.dll nsMsgSearchTerm::MatchBody(nsIMsgSearchScopeTerm*, unsigned long long, unsigned int, char const*, nsIMsgDBHdr*, nsIMsgDatabase*, bool*) mailnews/search/src/nsMsgSearchTerm.cpp:818
13 xul.dll nsMsgSearchOfflineMail::ProcessSearchTerm(nsIMsgDBHdr*, nsIMsgSearchTerm*, char const*, nsIMsgSearchScopeTerm*, nsIMsgDatabase*, nsTSubstring<char> const&, bool, bool*) mailnews/search/src/nsMsgLocalSearch.cpp:463
14 xul.dll nsMsgSearchBoolExpression::OfflineEvaluate(nsIMsgDBHdr*, char const*, nsIMsgSearchScopeTerm*, nsIMsgDatabase*, nsTSubstring<char> const&, bool) mailnews/search/src/nsMsgLocalSearch.cpp:143
15 xul.dll nsMsgSearchOfflineMail::MatchTerms(nsIMsgDBHdr*, nsTArray<RefPtr<nsIMsgSearchTerm> > const&, char const*, nsIMsgSearchScopeTerm*, nsIMsgDatabase*, nsTSubstring<char> const&, bool, nsMsgSearchBoolExpression**, bool*) mailnews/search/src/nsMsgLocalSearch.cpp:612 inlined
15 xul.dll nsMsgSearchOfflineMail::MatchTermsForFilter(nsIMsgDBHdr*, nsTArray<RefPtr<nsIMsgSearchTerm> > const&, char const*, nsIMsgSearchScopeTerm*, nsIMsgDatabase*, nsTSubstring<char> const&, nsMsgSearchBoolExpression**, bool*) mailnews/search/src/nsMsgLocalSearch.cpp:306
16 xul.dll nsMsgFilter::MatchHdr(nsIMsgDBHdr*, nsIMsgFolder*, nsIMsgDatabase*, nsTSubstring<char> const&, bool*) mailnews/search/src/nsMsgFilter.cpp:571
17 xul.dll nsMsgFilterList::ApplyFiltersToHdr(int, nsIMsgDBHdr*, nsIMsgFolder*, nsIMsgDatabase*, nsTSubstring<char> const&, nsIMsgFilterHitNotify*, nsIMsgWindow*) mailnews/search/src/nsMsgFilterList.cpp:336
18 xul.dll nsImapMailFolder::NormalEndMsgWriteStream(unsigned int, bool, nsIImapUrl*, int) mailnews/imap/src/nsImapMailFolder.cpp:4391
19 xul.dll (anonymous namespace)::SyncRunnable4<nsIImapMessageSink, unsigned int, bool, nsIImapUrl*, int>::Run() mailnews/imap/src/nsSyncRunnableHelpers.cpp:184

Unified folder?

bp-b4a8a3cb-c2b0-4111-b5d2-15c1d0231025 is different, user trying to download an update

Flags: needinfo?(mkmelin+mozilla)

(no ideas)

Flags: needinfo?(mkmelin+mozilla)

Crash rate for version 115 is unchanged.

crash rate is unchanged for version 128.

You need to log in before you can comment on or make changes to this bug.