[Pkg-fonts-devel] Bug#527807: [Fwd: Bug#527807: fontforge: Segfaults building ttf-cjk-compact]

Kęstutis Biliūnas kebil at kaunas.init.lt
Mon May 11 07:25:35 UTC 2009

forwarded 527807 fontforge-devel at lists.sourceforge.net


This problem occurs with fontgorge-20090408, compiled, and with X
and without. With fontgorge-20080429 is working well.

Execution of script by using Valgrind:

valgrind --tool=memcheck ./stripttf.ff uming.ttc zh.ttf $(sort -n zh | uniq)

I get output:

==10707== Process terminating with default action of signal 11 (SIGSEGV)
==10707==  Access not within mapped region at address 0xC
==10707==    at 0x4219E59: FVClear (in /usr/lib/libfontforge.so.1.0.0)
==10707==    by 0x42FE86F: (within /usr/lib/libfontforge.so.1.0.0)
==10707==    by 0x430A263: (within /usr/lib/libfontforge.so.1.0.0)
==10707==    by 0x4306949: (within /usr/lib/libfontforge.so.1.0.0)
==10707==    by 0x43081A1: (within /usr/lib/libfontforge.so.1.0.0)
==10707==    by 0x430833D: (within /usr/lib/libfontforge.so.1.0.0)
==10707==    by 0x430858D: (within /usr/lib/libfontforge.so.1.0.0)
==10707==    by 0x43088DD: (within /usr/lib/libfontforge.so.1.0.0)
==10707==    by 0x4308B7B: (within /usr/lib/libfontforge.so.1.0.0)
==10707==    by 0x4308CFE: (within /usr/lib/libfontforge.so.1.0.0)
==10707==    by 0x43093F5: ff_statement (in /usr/lib/libfontforge.so.1.0.0)
==10707==    by 0x430A96D: ProcessNativeScript (in
==10707==  If you believe this happened as a result of a stack overflow
in your
==10707==  program's main thread (unlikely but possible), you can try to
==10707==  the size of the main thread stack using the --main-stacksize=
==10707==  The main thread stack size used in this run was 8388608.
==10707== ERROR SUMMARY: 335 errors from 15 contexts (suppressed: 95 from 2)
==10707== malloc/free: in use at exit: 332,443,385 bytes in 258,894 blocks.
==10707== malloc/free: 333,955 allocs, 75,061 frees, 334,790,686 bytes
==10707== For counts of detected errors, rerun with: -v
==10707== Use --track-origins=yes to see where uninitialised values come
==10707== searching for pointers to 258,894 not-freed blocks.
==10707== checked 333,333,280 bytes.
==10707== LEAK SUMMARY:
==10707==    definitely lost: 32,254 bytes in 2,689 blocks.
==10707==      possibly lost: 10,360 bytes in 31 blocks.
==10707==    still reachable: 332,400,771 bytes in 256,174 blocks.
==10707==         suppressed: 0 bytes in 0 blocks.
==10707== Rerun with --leak-check=full to see details of leaked memory.

Files stripttf.ff, uming.ttc and zh can be founf at:

I am unable to find any reason for this error.
Kęstutis Biliūnas <kebil at kaunas.init.lt>
http://kebil.ghost.lt  |  GnuPG-Key ID: F6E7A452

-------------- next part --------------
An embedded message was scrubbed...
From: Daniel Schepler <dschepler at gmail.com>
Subject: [Pkg-fonts-devel] Bug#527807: fontforge: Segfaults building
Date: Fri, 8 May 2009 13:40:55 -0700
Size: 6453
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20090511/116c1d6d/attachment.eml>

More information about the Pkg-fonts-devel mailing list