Closed Bug 668570 Opened 13 years ago Closed 13 years ago

txt file attachment with non-standard character (quotes) crashes Thunderbird

Categories

(Thunderbird :: General, defect)

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 601261

People

(Reporter: malhotra, Unassigned)

Details

Attachments

(1 file)

Attached file test_txt_file.txt
User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1

Steps to reproduce:

Tried to send an email with a txt file attachment (created using TextWrangler on a Mac).  All components (TB, OSX, TextWrangler, etc.) are all up to date.  No add-ons in TB.

The last of the crashes in the crash-reporter is UUID: 61fa1d5f-7b53-4d14-8b18-ea0e42110630 (caused by the attached txt file).


Actual results:

Thunderbird crashed, as it tried to assemble the email to be sent (ie., incorporate the txt file into the email).

I did some troubleshooting to see what in the txt file was causing the crash - and after trying a series of txt files (and crashes), I localized the bug to a pair of non-standard quotes in the txt file (these were the inverted pair quotes pasted in from a pdf, and thus were likely non-standard ascii characters).  If the txt file has these non-standard quotes, Thunderbird would crash; if I remove them, the txt file attaches fine and the email is send.  I have not tested if Thunderbird crashes when txt file attachments have other non-standard characters


Expected results:

Rather than just crashing, Thunderbird should have warned me that the attached file had non-standard characters.  This will not make me lose the emails I am drafting, and give me a chance to fix the txt file, rather than spend hours trying to track the bug!

Try the attached txt file - this should crash TB when you try to send it as an attachment.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: