View Issue Details

IDProjectCategoryView StatusLast Update
0000153luatexluatex bugpublic2009-02-24 14:36
ReporterTaco Assigned ToTaco  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.31.0 
Fixed in Version0.35.0 
Summary0000153: Fontforge font load memory leak
DescriptionSome fonts (like arial.ttf) create a memory leak.
500 loads of arial.tff (see attached file) produces this leak:

==8819== LEAK SUMMARY:
==8819== definitely lost: 16,965,191 bytes in 707,541 blocks.
==8819== possibly lost: 1,128 bytes in 22 blocks.
==8819== still reachable: 202,135,427 bytes in 81,127 blocks.
==8819== suppressed: 0 bytes in 0 blocks.
==8819== Rerun with --leak-check=full to see details of leaked memory.

Pinpointing it further gives this as the mail culprit:

==11618== 145,600 (114,400 direct, 31,200 indirect) bytes in 11 blocks are definitely lost in loss record 1,216 of 1,243
==11618== at 0x4C2136E: malloc (vg_replace_malloc.c:207)
==11618== by 0x7C102D: galloc (memory.c:47)
==11618== by 0x73E5BC: chunkalloc (splineutil.c:112)
==11618== by 0x73F044: RefCharCreate (splineutil.c:406)
==11618== by 0x67F62F: readttfcompositglyph (parsettf.c:2037)
==11618== by 0x67FD7C: readttfglyph (parsettf.c:2214)
==11618== by 0x67FF6D: readttfglyphs (parsettf.c:2247)
==11618== by 0x68B76E: readttf (parsettf.c:5491)
==11618== by 0x68EFF5: _SFReadTTF (parsettf.c:6261)
==11618== by 0x6E20B9: _ReadSplineFont (splinefont.c:1062)
==11618== by 0x6E2FDA: ReadSplineFont (splinefont.c:1231)
==11618== by 0x5FC0BA: ff_open (luafflib.c:168)

TagsNo tags attached.

Activities

2009-02-01 17:04

 

arial.tex (16,249 bytes)

Taco

2009-02-24 14:36

administrator   ~0000109

done

Issue History

Date Modified Username Field Change
2009-02-01 17:03 Taco New Issue
2009-02-01 17:03 Taco Status new => assigned
2009-02-01 17:03 Taco Assigned To => Taco
2009-02-01 17:04 Taco File Added: arial.tex
2009-02-24 14:36 Taco Status assigned => closed
2009-02-24 14:36 Taco Note Added: 0000109
2009-02-24 14:36 Taco Resolution open => fixed
2009-02-24 14:36 Taco Fixed in Version => 0.35.0