Bug 146252

Summary: Thunderbird segfaults on chinese characters
Product: [Fedora] Fedora Reporter: Tim Niemueller <tim>
Component: thunderbirdAssignee: Christopher Aillon <caillon>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: desktop-bugs, mattdm
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-13 09:19:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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