User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:184.108.40.206) Gecko/20110414 Thunderbird/3.1.10 One user's mail from an email list I'm on would crash Thunderbird everytime. Any message from this user would do it. I was able to save the message by multi-selecting and saving. I trimmed the message to isolate the problem and found that an inline style on a DIV in the message html was the cause. Here is the trimmed message: X-Mozilla-Status: 0011 X-Mozilla-Status2: 00000000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-548817379-1307211659=:21661" Subject: Re: [AH] What synths are these!>? --0-548817379-1307211659=:21661 Content-Type: text/plain; charset=us-ascii --0-548817379-1307211659=:21661 Content-Type: text/html; charset=us-ascii <html> <body> <div style="font-family:courier">my emails don't contain anything wierd that i know of!<br> </div> </body> </html> --0-548817379-1307211659=:21661-- The offending code is that font family style. If removed, no crash. Reproducible: Always Steps to Reproduce: 1. Copy the included email code into a .eml file. 2. Select 'Open Saved Message' from File menu 3. Select .eml file Actual Results: Complete crash. Did not get Crash Reporter, only Apple reporter. Expected Results: Anything but a crash. Ignore the style if it can't be parsed.
Testing with Mozilla/5.0 (Windows NT 5.0; rv:5.0) Gecko/20110602 Thunderbird/5.0b2pre ID:20110602000050 I can't reproduce a crash, but the testcase eml will not render at all here. Some oddities about that testcase: There is no plaintext content in the plaintext part. The boundary string looks a bit strange. So whatever the problem is it is not the inline style, unless it is OS specific. I'll attach another testcase eml for you to try, that works fine for me.
signature is TcmapEncodingTable::GetSubtable(unsigned short, unsigned short, unsigned short, unsigned short*) TcmapEncodingTable::GetSubtable(unsigned short, unsigned short, unsigned short, unsigned short*) + 591 TcmapEncodingTable::TcmapEncodingTable(TSFNTFont const&, unsigned short, unsigned short, unsigned short) + 170 TTrueTypeResourceFont::GetQDEncoding(unsigned short, unsigned short, unsigned short, unsigned short*) const + 60 TTrueTypeResourceFont::GetNFNTInfo(TNFNTFontInfo&) const + 475 from bug 646017 comment 5... try out the sequence of instructions detailed at: http://www.ardisson.org/afkar/2011/03/29/camino-crashes-after-upgrading-to-mac-os-x-10-6-7/ 1. Validate your fonts using Font Book; remove or disable all fonts with errors or warnings, as well as any duplicate fonts. 2. Restart your Mac in Safe Mode to clear the OS font caches (which contain data for the corrupt or invalid and duplicate fonts you removed/disabled in step 1). 3. Restart your Mac normally, and SeaMonkey should no longer crash.
Keywords: crash, testcase
Summary: inline style causes mail reader crash → inline style causes mail reader crash [@ TcmapEncodingTable::GetSubtable(unsigned short, unsigned short, unsigned short, unsigned short*)]
Thanks, this was an OS level font problem.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID
Crash Signature: [@ TcmapEncodingTable::GetSubtable(unsigned short, unsigned short, unsigned short, unsigned short*)]
Status: RESOLVED → VERIFIED
Whiteboard: [Mac OS font issue]
You need to log in before you can comment on or make changes to this bug.