Bug 518887 - FontForge segfaults while generating TrueType version of Kurier-Regular.otf
Summary: FontForge segfaults while generating TrueType version of Kurier-Regular.otf
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: fontforge
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-23 21:03 UTC by zhoujingmiller
Modified: 2009-09-03 22:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-03 22:34:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Segfault Message in gdb (410 bytes, text/plain)
2009-08-23 21:05 UTC, zhoujingmiller
no flags Details
the Font that crashed FontForge (137.47 KB, application/octet-stream)
2009-08-23 21:07 UTC, zhoujingmiller
no flags Details
"where"-Message in gdb after FontForge segfaults (3.85 KB, text/plain)
2009-08-23 21:09 UTC, zhoujingmiller
no flags Details

Description zhoujingmiller 2009-08-23 21:03:58 UTC
Description of problem:
When the font attached is opened in FontForge and TrueType option is selected in "Generate Fonts" in FontForge, FontForge segfaults.

Version-Release number of selected component (if applicable):
fontforge-20090224-2.fc11.i586

Kurier-Regular.otf as is shipped in TeX Live 2008

How reproducible:

Open the font attached with FontForge, and select "Generate Fonts" in "File". Choose "TrueType" option, and click on "Save". Then FontForge segfaults.


Steps to Reproduce:
1. Open the font attached with "fontforge <path_to_the_attached_font>"
2. Click on File
3. Click on Generate Fonts
4. Select TrueType in export type.
5. Click on "Save".
  
Actual results:
FontForge segfaults.

Expected results:
FontForge does not segfault and Kurier-Regular.ttf is generated in the expected location.

Additional info:
Vide attachment please.

Comment 1 zhoujingmiller 2009-08-23 21:05:44 UTC
Created attachment 358384 [details]
Segfault Message in gdb

Comment 2 zhoujingmiller 2009-08-23 21:07:08 UTC
Created attachment 358385 [details]
the Font that crashed FontForge

Comment 3 zhoujingmiller 2009-08-23 21:09:19 UTC
Created attachment 358386 [details]
"where"-Message in gdb after FontForge segfaults

Comment 4 zhoujingmiller 2009-08-23 21:12:11 UTC
Since I passed arguments to rpmbuild to build bytecode interpreter and subpixel hinting in freetype (using fedora's src.rpm), it could be related to freetype. However, a cvs version and the 0622 version of FontForge still fails at the same font. The src.rpm is for freetype-2.3.9-5.fc11.i586 .

Comment 5 zhoujingmiller 2009-08-23 21:13:36 UTC
Just forgot something --- I built with the cvs FontForge with bytecode interpreter support and the 0622 version without bci.

Comment 6 Kevin Fenzi 2009-08-24 23:07:56 UTC
ok. I will see about reporting this upstream... 

Thanks for the bug report.

Comment 7 Kevin Fenzi 2009-09-03 16:11:07 UTC
Just an update here. I posted to the upstream devel list and it seems this bug is hopefully fixed in cvs: 

"I think this one really depends on converting OpenType advanced
typographic features to Apple ones. At least that's where the crash
occurs.
This is now fixed in cvs."

So, as soon as there is another release I can whip up a package for you to test with, or if you are brave and willing to build from cvs to confirm it's fixed that would be great too.

Comment 8 zhoujingmiller 2009-09-03 19:54:05 UTC
Thanks, Kevin, for the package, but I just tested the cvs version with "Version: 01:15 GMT 3-Sep-2009(20090903)" and "Library Version: 02:27 GMT 1-Sep-2009" and the TrueType font is generated successfully. So it is confirmed that the issue is fixed in cvs. (So this bug will be closed?)

Comment 9 Kevin Fenzi 2009-09-03 20:02:46 UTC
Up to you. We can close it out now, or wait until the next release and I will close it when that release lands in Fedora. 

Which would you prefer?

Comment 10 zhoujingmiller 2009-09-03 22:34:45 UTC
Since it is fixed already and people encountering similar problem will probably checking out later releases or cvs builds of fontforge, given that the information is still accessible to them, I would prefer to close it so that we get «less» bugs in total. So I will close it now.


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