Bug 501274 - segmentation fault when using "ftsrting -m $string ppem $fonts_filename".
Summary: segmentation fault when using "ftsrting -m $string ppem $fonts_filename".
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: freetype
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Behdad Esfahbod
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-18 10:46 UTC by Miya Chen
Modified: 2009-05-25 05:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-25 05:17:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
bt file (3.66 KB, application/octet-stream)
2009-05-18 10:47 UTC, Miya Chen
no flags Details
bt file (3.66 KB, text/plain)
2009-05-18 11:45 UTC, Miya Chen
no flags Details

Description Miya Chen 2009-05-18 10:46:18 UTC
Description of problem:
segmentation fault when using "ftsrting -m $string ppem $fonts_filename".

Version-Release number of selected component (if applicable):
freetype-2.2.1-21.el5_3

How reproducible:
100%

Steps to Reproduce:
1.find the .ttf file in /usr/share/fonts
2.for each .ttf file, run ftsting -m $string ppem $fonts_filename under gnome-terminal.
  
Actual results:
come across segmentation fault when using some font files.

Expected results:
test string display correctly with all types of fonts.

Additional info:
1.font files failed in rhel5server--x86_64:
/usr/share/fonts/zh_TW/TrueType/bsmi00lp.ttf
/usr/share/fonts/chinese/TrueType/ukai.ttf
/usr/share/fonts/chinese/TrueType/uming.ttf
# rpm -qf /usr/share/fonts/chinese/TrueType/uming.ttf
fonts-chinese-3.02-12.el5.noarc

2.font files failed in rhel5server--ppc:
/usr/share/fonts/zh_TW/TrueType/bsmi00lp.ttf
/usr/share/fonts/chinese/TrueType/ukai.ttf
/usr/share/fonts/chinese/TrueType/uming.ttf

3.font files failed in rhel5server--ia64:
/usr/share/fonts/zh_TW/TrueType/bsmi00lp.ttf
/usr/share/fonts/chinese/TrueType/ukai.ttf
/usr/share/fonts/chinese/TrueType/uming.ttf

4.font files failed in rhel5server--i386:
/usr/share/fonts/chinese/TrueType/ukai.ttf
/usr/share/fonts/chinese/TrueType/uming.ttf

5.font files failed in rhel5client--i386:
/usr/share/fonts/chinese/TrueType/ukai.ttf
/usr/share/fonts/chinese/TrueType/uming.ttf

6.font files failed in rhel5client--x86_64:
/usr/share/fonts/zh_TW/TrueType/bsmi00lp.ttf
/usr/share/fonts/chinese/TrueType/ukai.ttf
/usr/share/fonts/chinese/TrueType/uming.ttf

7.font files failed in rhel5client--s390x:
/usr/share/fonts/zh_TW/TrueType/bsmi00lp.ttf
/usr/share/fonts/chinese/TrueType/ukai.ttf
/usr/share/fonts/chinese/TrueType/uming.ttf


backtrace file is attached.

Comment 1 Miya Chen 2009-05-18 10:47:49 UTC
Created attachment 344413 [details]
bt file

Comment 2 Miya Chen 2009-05-18 11:45:42 UTC
Created attachment 344422 [details]
bt file

Comment 3 RHEL Program Management 2009-05-18 12:07:37 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 4 Behdad Esfahbod 2009-05-20 21:00:17 UTC
Can you confirm that this only happens with ftstring, and that the fonts work fine in real applications?

Comment 5 Behdad Esfahbod 2009-05-20 21:51:07 UTC
I believe this bug doesn't affect any of our applications.  I'm inclined to either WONTFIX it or postpone it.

Bug exists in upstream also.

Comment 6 Lawrence Lim 2009-05-21 04:18:59 UTC
If no-one else disagree, I think we should close as WONTFIX and do further testing in Fedora.

Comment 7 Miya Chen 2009-05-25 05:17:27 UTC
Close it as WONTFIX.


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