Bug 525444 - [abrt] crash detected in fonttools-2.2-6.fc12
Summary: [abrt] crash detected in fonttools-2.2-6.fc12
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: fonttools
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3b17aec5
Depends On:
Blocks: 527214
TreeView+ depends on / blocked
 
Reported: 2009-09-24 12:29 UTC by Caolan McNamara
Modified: 2009-10-05 12:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-02 15:17:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (15.43 KB, text/plain)
2009-09-24 12:30 UTC, Caolan McNamara
no flags Details
here the fix for this (507 bytes, patch)
2009-09-24 12:32 UTC, Caolan McNamara
no flags Details | Diff

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


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