[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

forwarded 527807 fontforge-devel@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@kaunas.init.lt>
http://kebil.ghost.lt  |  GnuPG-Key ID: F6E7A452

--- Begin Message ---
Package: fontforge
Version: 0.0.20090408-1
Severity: serious
Justification: causes FTBFS bug in another package

When I try building ttf-cjk-compact in a current sid pbuilder chroot (on
amd64), I get:

# Make fonts
./makettf zh /usr/share/fonts/truetype/arphic/uming.ttc
embedded bitmap: disable
Copyright (c) 2000-2009 by George Williams.
 Executable based on sources from 19:07 GMT 8-Apr-2009.
 Library based on sources from 19:39 GMT 8-Apr-2009.
The following table(s) in the font have been ignored by FontForge
  Ignoring 'VORG' vertical origin table
./makettf: line 41: 13135 Segmentation fault      $STRIPTTF.ff $basefont $EXPORTDIR/$lang.ttf $(sort -n $TMPDIR/$lang | uniq)
make: *** [build-stamp] Error 139
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Daniel Schepler

Pkg-fonts-devel mailing list

--- End Message ---

Reply to: