Bug 146252 - Thunderbird segfaults on chinese characters
Summary: Thunderbird segfaults on chinese characters
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: thunderbird
Version: 3
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christopher Aillon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-26 14:35 UTC by Tim Niemueller
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-10-13 09:19:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Niemueller 2005-01-26 14:35:27 UTC
Description of problem:
Thunderbird crashes when trying to read chinese emails containing
chinese characters (for example in the sender) if the ttfonts-zh_CN
package is installed.

Version-Release number of selected component (if applicable):
thunderbird-0.9-1.fc3
ttfonts-zh_CN-2.14-10

How reproducible:
Always

Steps to Reproduce:
1. Start Thunderbird
2. Open email with chinese sender and chinese chars
3. See Thunderbird crash
  
Actual results:
Segfault

Expected results:
Display of email

Additional info:
Here are some lines of straced to help track down the problem:

[pid  4574] open("/usr/share/fonts/zh_CN/TrueType/zysong.ttf",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid  4574] open("/usr/share/fonts/zh_CN/TrueType/zysong.ttf",
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid  4574] --- SIGSEGV (Segmentation fault) @ 0 (0) ---

It seems that if the /usr/share/fonts/zh_CN directory exists
thunderbird tries to opened the TrueType/zysong.ttf file from there.
But this file is not part of the ttfonts-zh_CN package. The error is
not handled correctly as it seems (probably thunderbird just reads
without verifying the open result, didn't look into the src though).

Comment 1 Matthew Miller 2006-07-10 20:21:11 UTC
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.

Thank you!


Comment 2 Nicole Dai 2006-10-13 09:19:57 UTC
Confirmed that the problem was not found in FC6 test release with:
fonts-chinese-3.02-7.fc6
thunderbird-1.5.0.7-3.fc6
and FC5 updates with
fonts-chinese-3.02-4.1
thunderbird-1.5-6



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