Bug 82469 - ttmkfdir-3.0.8 segfaults
ttmkfdir-3.0.8 segfaults
Product: Red Hat Raw Hide
Classification: Retired
Component: ttmkfdir (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Yu Shao
Depends On:
  Show dependency treegraph
Reported: 2003-01-22 10:28 EST by Rex Dieter
Modified: 2008-05-01 11:38 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-01-22 23:14:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

  None (edit)
Description Rex Dieter 2003-01-22 10:28:32 EST
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 10:53:51 EST
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 10:59:34 EST
Created attachment 89527 [details]
Hushes compiler warning about empty return;
Comment 3 Yu Shao 2003-01-22 20:57:35 EST
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-22 21:21:00 EST
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-22 23:14:12 EST
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.