Bug 82469 - ttmkfdir-3.0.8 segfaults
Summary: ttmkfdir-3.0.8 segfaults
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: ttmkfdir
Version: 1.0
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Yu Shao
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-01-22 15:28 UTC by Rex Dieter
Modified: 2008-05-01 15:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-01-23 04:14:12 UTC
Embargoed:


Attachments (Terms of Use)
Hushes compiler warning about empty return; (523 bytes, patch)
2003-01-22 15:59 UTC, Rex Dieter
no flags Details | Diff

Description Rex Dieter 2003-01-22 15:28:32 UTC
I've rebuilt ttmkfdir-3.0.7 on rh7.3 and all it does is segfault when trying to process *any* 
fonts, including those in XFree86-truetype-fonts.

Comment 1 Rex Dieter 2003-01-22 15:53:51 UTC
Further testing shows it is apparently a compiler/optimizing bug compiling parser.cpp.  I 
was building using -Os.  Using any of -O0, -O1, -O2 works fine.   
 
For fun, I'm attaching a patch that eliminates a compiler warning in ttf.cpp. 

Comment 2 Rex Dieter 2003-01-22 15:59:34 UTC
Created attachment 89527 [details]
Hushes compiler warning about empty return;

Comment 3 Yu Shao 2003-01-23 01:57:35 UTC
ttmkfdir is using RPM_OPT_FLAGS which is set by rpm, if you build the source
directly, you might have that problem, I can try to use autoconf/automake if
really needed.

Comment 4 Mike A. Harris 2003-01-23 02:21:00 UTC
We do not officially support recompilation of current generation software
in older releases of Red Hat Linux.  There are enough bugs/problems to
fix in software going forward than to make all current generation software
also compile in older releases as well.

If someone can post a patch that resolves the problem, if it is indeed
a bug, then I'm sure we'll apply it as long as it does not cause problems
with the current ttmkfdir in rawhide, however it would be IMHO an extremely
low priority thing to look at.

My personal inclination is just to close this WONTFIX->UNSUPPORTED but it's
not my package so It's Yu Shao's call.



Comment 5 Yu Shao 2003-01-23 04:14:12 UTC
close it for now, please reopen if needed.


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