Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 209303
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Fonts Team <fonts@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Leverton <levertond@googlemail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
1.3.1-ttf2pk.patch fix patch David Leverton 2008-02-07 22:43 0000 1.02 KB Details | Diff
freetype-1.4_pre-ttf2tfm-segfault.patch freetype-1.4_pre-ttf2tfm-segfault.patch patch Ryan Hill 2008-03-19 00:43 0000 567 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 209303 depends on: Show dependency tree
Bug 209303 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-07 22:42 0000
The ttf2tfm utility from FreeType 1 segfaults when used on the Gentium font. 
To reproduce:

1) install media-libs/freetype-1.3.1-r5
2) install media-fonts/ttf-gentium-1.0.1
3) run ttf2tfm /usr/share/fonts/ttf-gentium/Gentium.ttf

------- Comment #1 From David Leverton 2008-02-07 22:43:38 0000 -------
Created an attachment (id=142941) [details]
fix

------- Comment #2 From Ryan Hill 2008-03-19 00:43:09 0000 -------
Created an attachment (id=146536) [details]
freetype-1.4_pre-ttf2tfm-segfault.patch

Hi David.  Can you test this patch for me?

------- Comment #3 From David Leverton 2008-03-19 02:16:27 0000 -------
(In reply to comment #2)
> Created an attachment (id=146536) [edit] [details]
> freetype-1.4_pre-ttf2tfm-segfault.patch
> 
> Hi David.  Can you test this patch for me?

That doesn't make a difference here.  I assume the patch comes from this Debian
bug[1], which talks about uninitialised memory, but valgrind doesn't show any
errors except for the final segfault, so I think this is a different issue.

[1]
http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg98580.html

------- Comment #4 From Ryan Hill 2008-03-19 02:52:44 0000 -------
it does.  i just happened to notice i couldn't reproduce your testcase any more
when previously i could, and narrowed it down to that patch.  your patch does
look correct but i thought i'd check.

------- Comment #5 From Ryan Hill 2008-03-20 04:19:24 0000 -------
should be fixed by freetype-1.4_pre20080316, now in the tree package.masked.

------- Comment #6 From Ryan Hill 2008-03-25 01:05:42 0000 -------
Unmasked.  Thanks for the report.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug