Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1240265

Summary: fonttools 2.5 takes too much memory
Product: [Fedora] Fedora Reporter: Akira TAGOH <tagoh>
Component: fonttoolsAssignee: Parag Nemade <pnemade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: fonts-bugs, pnemade
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fonttools-3.0-4.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-13 07:24:08 UTC Type: Bug
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: 1239985, 1308109    

Description Akira TAGOH 2015-07-06 11:58:37 UTC
Description of problem:
related to Bug#1239985, after upgrading fonttools to 2.5, it doesn't work anymore to decompile ttf to ttx.

Version-Release number of selected component (if applicable):
2.5-2.fc22

How reproducible:
always

Steps to Reproduce:
1.ttx -a -i -e sazanami-gothic.ttf
2.
3.

Actual results:
OOM killer kills the process

Expected results:
should works as it worked before.

Additional info:

Comment 1 Akira TAGOH 2015-07-07 04:06:15 UTC
There seems leak or something around the code dealing with EBDT table. Comparing between 2.4 and 2.5 about the memory usage, 2.4 takes about 140MB to dump EBDT table. but on 2.5, it fails on even 2GB.

Comment 2 Parag Nemade 2015-07-07 04:12:21 UTC
Can you please file report in upstream https://github.com/behdad/fonttools/issues ?

Comment 3 Akira TAGOH 2015-07-07 06:18:08 UTC
was going to file an issue there. https://github.com/behdad/fonttools/issues/317

Comment 4 Parag Nemade 2015-09-08 12:18:34 UTC
I just got information that on Koji server, buildvm and arm builder's have 4GB RAM whereas on Copr builder's have 5GB RAM.

Comment 5 Parag Nemade 2016-03-07 09:16:06 UTC
Fixed and pushed in F24+ for now.
Updated builds are
fonttools-3.0-4
sazanami-fonts-0.20040629-26

Comment 6 Akira TAGOH 2016-03-31 10:33:21 UTC
Parag, can you push the updates for f23?

Comment 7 Fedora Update System 2016-03-31 15:11:41 UTC
fonttools-3.0-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f3240920b0

Comment 8 Fedora Update System 2016-04-01 15:23:26 UTC
fonttools-3.0-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f3240920b0

Comment 9 Fedora Update System 2016-04-13 07:24:06 UTC
fonttools-3.0-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.