Bug 525444

Summary: [abrt] crash detected in fonttools-2.2-6.fc12
Product: [Fedora] Fedora Reporter: Caolan McNamara <caolanm>
Component: fonttoolsAssignee: Caolan McNamara <caolanm>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: fonts-bugs, roozbeh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:3b17aec5
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-02 15:17:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 527214    
Attachments:
Description Flags
File: backtrace
none
here the fix for this none

Description Caolan McNamara 2009-09-24 12:29:58 UTC
abrt detected a crash.


How to reproduce
-----
1.
2.
3.


Comment
-----
cp /usr/share/fonts/sazanami/gothic/sazanami-gothic.ttf /tmp
cd /tmp
ttx sazanami-gothic.ttf 

Additional information
======


Attached files
----
backtrace

cmdline
-----
/usr/bin/python /usr/bin/ttx sazanami-gothic.ttf 


component
-----
fonttools


executable
-----
/usr/bin/ttx


kernel
-----
2.6.31-2.fc12.x86_64


package
-----
fonttools-2.2-6.fc12


uuid
-----
3b17aec5

Comment 1 Caolan McNamara 2009-09-24 12:30:00 UTC
Created attachment 362481 [details]
File: backtrace

Comment 2 Caolan McNamara 2009-09-24 12:32:15 UTC
Created attachment 362482 [details]
here the fix for this

"as" is a reserved keyword in python

The rpmbuild process also lists the same error:

SyntaxError: ('invalid syntax', ('/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttLib/tables/ttProgram.py', 397, 3, '\tas = p.getAssembly()\n'))

Comment 3 Caolan McNamara 2009-09-24 12:39:00 UTC
abrt attached the wrong backtrace, so ignore the content of that. The crash is real though and the fix attached is good. Upstreamed now as well as https://sourceforge.net/tracker/?func=detail&aid=2865692&group_id=29196&atid=395374

Comment 4 Caolan McNamara 2009-10-01 09:55:13 UTC
Seeing as ttx simply doesn't work in F-12/rawhide is there any objection if I go ahead and backport the trivial fix from fonttools svn to fix this ?

Comment 5 Roozbeh Pournader 2009-10-01 19:08:51 UTC
(In reply to comment #4)
> Seeing as ttx simply doesn't work in F-12/rawhide is there any objection if I
> go ahead and backport the trivial fix from fonttools svn to fix this ?  

No objection. I don't have the time to do anything about this in the next week or so, so please feel free to fix it yourself.

Comment 6 Caolan McNamara 2009-10-02 09:41:08 UTC
oky doky, committed and built as fonttools-2.2-7.fc12.src.rpm

Comment 7 Caolan McNamara 2009-10-02 15:17:58 UTC
done