[Bug 688713] New: [abrt] fonttools-2.3-2.fc14: sstruct.py:74:pack:error: integer out of range for 'L' format code

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 17 19:36:31 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: [abrt] fonttools-2.3-2.fc14: sstruct.py:74:pack:error: integer out of range for 'L' format code

https://bugzilla.redhat.com/show_bug.cgi?id=688713

           Summary: [abrt] fonttools-2.3-2.fc14: sstruct.py:74:pack:error:
                    integer out of range for 'L' format code
           Product: Fedora
           Version: 14
          Platform: i686
        OS/Version: Unspecified
            Status: NEW
 Status Whiteboard: abrt_hash:fe1ca5fc
          Severity: unspecified
          Priority: unspecified
         Component: fonttools
        AssignedTo: pnemade at redhat.com
        ReportedBy: paul at frixxon.co.uk
         QAContact: extras-qa at fedoraproject.org
                CC: pnemade at redhat.com, fonts-bugs at lists.fedoraproject.org
    Classification: Fedora


abrt version: 1.1.17
architecture: i686
cmdline: /usr/bin/python /usr/bin/ttx MTLmr3m.ttx
comment: ttx crashes after reporting that it is parsing the vmtx table. This is
a very big font!
component: fonttools
executable: /usr/bin/ttx
kernel: 2.6.35.11-83.samsung.fc14.i686.PAE
package: fonttools-2.3-2.fc14
reason: sstruct.py:74:pack:error: integer out of range for 'L' format code
release: Fedora release 14 (Laughlin)
time: 1300390438
uid: 500

backtrace
-----
sstruct.py:74:pack:error: integer out of range for 'L' format code

Traceback (most recent call last):
  File "/usr/bin/ttx", line 11, in <module>
    ttx.main(sys.argv[1:])
  File "/usr/lib/python2.7/site-packages/FontTools/fontTools/ttx.py", line 296,
in main
    process(jobs, options)
  File "/usr/lib/python2.7/site-packages/FontTools/fontTools/ttx.py", line 281,
in process
    action(input, output, options)
  File "/usr/lib/python2.7/site-packages/FontTools/fontTools/ttx.py", line 187,
in ttCompile
    ttf.save(output)
  File
"/usr/lib/python2.7/site-packages/FontTools/fontTools/ttLib/__init__.py", line
203, in save
    writer.close()
  File "/usr/lib/python2.7/site-packages/FontTools/fontTools/ttLib/sfnt.py",
line 153, in close
    directory = directory + entry.toString()
  File "/usr/lib/python2.7/site-packages/FontTools/fontTools/ttLib/sfnt.py",
line 224, in toString
    return sstruct.pack(sfntDirectoryEntryFormat, self)
  File "/usr/lib/python2.7/site-packages/FontTools/sstruct.py", line 74, in
pack
    data = apply(struct.pack, (formatstring,) + tuple(elements))
error: integer out of range for 'L' format code

Local variables in innermost frame:
elements: ['OS/2', -613424631, 2824236, 86]
name: 'length'
format: '\n\t\t> # big endian\n\t\ttag:            4s\n\t\tcheckSum:      
L\n\t\toffset:         L\n\t\tlength:         L\n'
object: {'checkSum': -613424631, 'length': 86, 'tag': 'OS/2', 'offset':
2824236}
fixes: {}
formatstring: '>4sLLL'
value: 86
names: ['tag', 'checkSum', 'offset', 'length']

How to reproduce
-----
1. Install motoya-lmaru-fonts
2. ttx MTLmr3m.ttf to convert to XML
3. ttx MTLmr3m.ttx to try to convert back to TTF

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the fonts-bugs mailing list