The default bug view has changed. See this FAQ.

crash CMbxScanner::CleanUp

RESOLVED FIXED in Thunderbird 12.0

Status

Thunderbird
Migration
--
critical
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: m_kato, Assigned: m_kato)

Tracking

({crash})

Trunk
Thunderbird 12.0
x86
Windows NT
crash

Thunderbird Tracking Flags

(thunderbird10 fixed, thunderbird11 fixed)

Details

(crash signature)

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
This bug was filed from the Socorro interface and is 
report bp-bca944b5-968c-40eb-aa30-fc9482120104 .
============================================================= 
0 	xul.dll 	CMbxScanner::CleanUp 	mailnews/import/oexpress/nsOEMailbox.cpp:292
1 	xul.dll 	CMbxScanner::Initialize 	mailnews/import/oexpress/nsOEMailbox.cpp:247
2 	xul.dll 	CImportMailbox::ImportMailbox 	mailnews/import/oexpress/nsOEMailbox.cpp:158
3 	xul.dll 	ImportOEMailImpl::ImportMailbox 	mailnews/import/oexpress/nsOEImport.cpp:476
4 	xul.dll 	ImportMailThread 	mailnews/import/src/nsImportMail.cpp:908
5 	nspr4.dll 	_PR_NativeRunThread 	nsprpub/pr/src/threads/combined/pruthr.c:426
6 	nspr4.dll 	pr_root 	nsprpub/pr/src/md/windows/w95thred.c:122
7 	msvcr80.dll 	msvcr80.dll@0x29ba 	
8 	msvcr80.dll 	msvcr80.dll@0x2a46 	
9 	ntdll.dll 	__RtlUserThreadStart 	
10 	ntdll.dll 	_RtlUserThreadStart


When CMbxScanner::Initialize is failed, thunderbird will crash.  Because m_mbxFileInputStream or m_dstFileOutputStream may be null on CleanUp()
(Assignee)

Comment 1

5 years ago
Created attachment 587254 [details] [diff] [review]
fix
Assignee: nobody → m_kato
Attachment #587254 - Flags: review?(dbienvenu)

Comment 2

5 years ago
Comment on attachment 587254 [details] [diff] [review]
fix

Review of attachment 587254 [details] [diff] [review]:
-----------------------------------------------------------------

looks good, thx!
Attachment #587254 - Flags: review?(dbienvenu) → review+

Comment 3

5 years ago
I'm wondering if we want this for tb 10 and tb 11, since it looks safe, and the outlook import changes that perhaps caused this are in tb 10 and 11.
tracking-thunderbird10: --- → ?
tracking-thunderbird11: --- → ?
(Assignee)

Comment 4

5 years ago
http://hg.mozilla.org/comm-central/rev/59b240e1e76c
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 12.0
(Assignee)

Comment 5

5 years ago
Comment on attachment 587254 [details] [diff] [review]
fix

This crash occurs on 9.0.1.
Attachment #587254 - Flags: approval-comm-beta?
Attachment #587254 - Flags: approval-comm-aurora?
Attachment #587254 - Flags: approval-comm-beta?
Attachment #587254 - Flags: approval-comm-beta+
Attachment #587254 - Flags: approval-comm-aurora?
Attachment #587254 - Flags: approval-comm-aurora+
Checked into branches:

http://hg.mozilla.org/releases/comm-aurora/rev/f0040534a14a
http://hg.mozilla.org/releases/comm-beta/rev/d42be64ed94c
status-thunderbird10: --- → fixed
status-thunderbird11: --- → fixed
tracking-thunderbird10: ? → ---
tracking-thunderbird11: ? → ---
You need to log in before you can comment on or make changes to this bug.