Bug 1106462 - [abrt] woffTools: sstruct.py:74:pack:error: integer out of range for 'L' format code
Summary: [abrt] woffTools: sstruct.py:74:pack:error: integer out of range for 'L' form...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: woffTools
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: sandeep shedmake
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:b4770559f6479bc930b030f399f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-09 12:14 UTC by Jaša Bartelj
Modified: 2015-06-29 21:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-29 21:01:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.44 KB, text/plain)
2014-06-09 12:14 UTC, Jaša Bartelj
no flags Details
File: environ (2.55 KB, text/plain)
2014-06-09 12:14 UTC, Jaša Bartelj
no flags Details

Description Jaša Bartelj 2014-06-09 12:14:12 UTC
Description of problem:
Familiarizing myself with woffTools and on first use I hit this bug.

The font is from this site:
http://www.sil.org/resources/software_fonts/andika
You can find it in an archive here: http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=Andika-1.004-web.zip&filename=Andika-1.004-web.zip

$ woff-validate Andika-R.woff 
Testing: Andika-R.woff...
Traceback (most recent call last):
...
File "/usr/lib64/python2.7/site-packages/FontTools/sstruct.py", line 74, in pack
    data = apply(struct.pack, (formatstring,) + tuple(elements))
struct.error: integer out of range for 'L' format code

Version-Release number of selected component:
woffTools-0.1-0.7.684svn.fc20

Additional info:
reporter:       libreport-2.2.2
cmdline:        /usr/bin/python /usr/bin/woff-validate Andika-R.woff
dso_list:       fonttools-2.4-2.fc20.x86_64
executable:     /usr/bin/woff-validate
kernel:         3.14.4-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

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

Traceback (most recent call last):
  File "/usr/bin/woff-validate", line 5, in <module>
    validate.main()
  File "/usr/lib/python2.7/site-packages/woffTools/tools/validate.py", line 1511, in main
    validateFont(fontPath, options)
  File "/usr/lib/python2.7/site-packages/woffTools/tools/validate.py", line 1450, in validateFont
    shouldStop = func(data, reporter)
  File "/usr/lib/python2.7/site-packages/woffTools/tools/validate.py", line 441, in testHeadCheckSumAdjustment
    newChecksum = calcHeadCheckSum(data)
  File "/usr/lib/python2.7/site-packages/woffTools/tools/validate.py", line 1383, in calcHeadCheckSum
    directory += sfntEntry.toString()
  File "/usr/lib64/python2.7/site-packages/FontTools/fontTools/ttLib/sfnt.py", line 227, in toString
    return sstruct.pack(sfntDirectoryEntryFormat, self)
  File "/usr/lib64/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: ['GDEF', -966601972, 1660, 2452]
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': -966601972, 'length': 2452, 'tag': 'GDEF', 'offset': 1660}
fixes: {}
formatstring: '>4sLLL'
value: 2452
names: ['tag', 'checkSum', 'offset', 'length']

Comment 1 Jaša Bartelj 2014-06-09 12:14:14 UTC
Created attachment 904622 [details]
File: backtrace

Comment 2 Jaša Bartelj 2014-06-09 12:14:15 UTC
Created attachment 904623 [details]
File: environ

Comment 3 Fedora End Of Life 2015-05-29 12:03:52 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2015-06-29 21:01:34 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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