Closed Bug 462528 Opened 16 years ago Closed 16 years ago

Crash when opening mail with vcard attach [@ uStrLen - fakeCString]

Categories

(MailNews Core :: Backend, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 473924

People

(Reporter: arvid.herfjord, Assigned: standard8)

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 Build Identifier: version 2.0.0.17 (20080914) Opening this mail (http://www.herfjord.no/temp/2008-10-30_09-57 Re-Emails.eml) crashes Thunderbird. Sometimes immediately, sometimes it won't display any more mails and eventually crashes. The last part of the mail has content-type: text/x-vcard. When changing that to text/plain everything is OK. Reproducible: Always Steps to Reproduce: 1. Simply open the mail with Thunderbird, including last nightly build. 2. 3. Actual Results: Thunderbird crashes or stops working. Expected Results: Shown the mail contents. Same thing happens with different config on another machine. Seems all mails from this particular sender has this problem. Outlook and OE shows the mail as expected.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081031 Shredder/3.0b1pre crash bp-cfea18b0-a78f-11dd-a141-001321b13766 bp-eec531c2-a78f-11dd-b79b-001cc4e2bf68 bp-d474252e-a78f-11dd-a328-001321b13766
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
Unfortunately none of Nikolay's crash ids are useful. I did get one on Linux earlier with today's trunk: bp-53f95d99-a766-11dd-a5ed-001cc45a2c28 This is useful and points to the source of the problem, which I'm not surprised at the details of text/x-vcard in comment 0. I'll take this and see if I can find the problem.
Assignee: nobody → bugzilla
Keywords: crash, testcase
Component: General → Backend
OS: Windows XP → All
Product: Thunderbird → MailNews Core
QA Contact: general → backend
Hardware: PC → All
I wonder why my crashes not point to problem
Summary: Thunderbird crashes when opening mail → Crash when opening mail with vcard attach
we're probably missing symbols for windows builds http://mxr.mozilla.org/comm-central/source/mailnews/addrbook/src/nsVCardObj.cpp?mark=1325,1330,1332,1335,1317#1313 i believe on linux uStrLen was inlined and the problem is that the pointer was null. mark: while fixing it, please handle malloc failure too.
Summary: Crash when opening mail with vcard attach → Crash when opening mail with vcard attach [@ uStrLen - fakeCString]
(In reply to comment #3) > Unfortunately none of Nikolay's crash ids are useful. I did get one on Linux > earlier with today's trunk: > > bp-53f95d99-a766-11dd-a5ed-001cc45a2c28 > > This is useful and points to the source of the problem, which I'm not surprised > at the details of text/x-vcard in comment 0. I'll take this and see if I can > find the problem. fakeCString nsVCardObj.cpp:1317 nsMsgVCardService::FakeCString nsMsgVCardService.cpp:70 MimeInlineTextVCard_parse_eof mimevcrd.cpp:418 MimeMultipart_close_child mimemult.cpp:593 MimeMultipart_parse_line mimemult.cpp:185 convert_and_send_buffer mimebuf.cpp:184 mime_LineBuffer mimebuf.cpp:272 MimeObject_parse_buffer mimeobj.cpp:287 MimeMessage_parse_line mimemsg.cpp:240 convert_and_send_buffer mimebuf.cpp:184 mime_LineBuffer mimebuf.cpp:272 MimeObject_parse_buffer mimeobj.cpp:287 mime_display_stream_write mimemoz2.cpp:946 nsStreamConverter::OnDataAvailable nsStreamConverter.cpp:938
Flags: wanted-thunderbird3?
this is fixed by the patch in 473924
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Flags: wanted-thunderbird3?
Crash Signature: [@ uStrLen - fakeCString]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: