Package: ghostscript Version: 8.71~dfsg2-3 Severity: normal When quitting ghostscript, after some example CJK postscript files processed, it segfault.
/usr/share/doc/ghostscript/examples/cjk: all_ac1.ps.gz all_ag1.ps.gz all_aj1.ps.gz all_aj2.ps.gz all_ak1.ps.gz article9.ps gscjk_ac.ps gscjk_ag.ps gscjk_aj.ps gscjk_ak.ps iso2022.ps.gz iso2022v.ps.gz iso2022.ps.gz and iso2022.ps.gz make gs segfault when quit. Others are OK. % zcat /usr/share/doc/ghostscript/examples/cjk/iso2022.ps.gz > iso2022.ps % gs iso2022.ps GPL Ghostscript 8.71 (2010-02-10) Copyright (C) 2010 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. ------------------------------------------------------------------------ This is a script to test CJK fonts such as CID-keyed fonts. If you have not done CID-keyed fonts installation and definitions at /Resource/CMap and CIDFnmap or /Resource/CIDFont of ghostscript, then this script can't work correctly. For details, please see README at http://www.gyve.org/gs-cjk/supplement. If you throw this script into a printer, it requires PostScript 3 printer and CID-keyed fonts specified in this script. ------------------------------------------------------------------------ Loading NimbusMonL-Regu font from /usr/share/fonts/type1/gsfonts/n022003l.pfb... 3909104 2177679 6773592 5444181 1 done. Loading NimbusMonL-Bold font from /usr/share/fonts/type1/gsfonts/n022004l.pfb... 3952096 2314304 6773592 5460478 1 done. Loading a TT font from /usr/share/fonts/truetype/ttf-japanese-mincho.ttf to emulate a CID font Japanese-Mincho-Regular ... Done. Loading a TT font from /usr/share/fonts/truetype/arphic/uming.ttc to emulate a CID font BousungEG-Light-GB ... Done. Loading a TT font from /usr/share/fonts/truetype/unfonts/UnBatang.ttf to emulate a CID font UnBatang-Regular ... Done. Can't find (or can't open) font file /usr/share/ghostscript/8.71/Resource/Font/HeiseiMin-W3H-Hojo-H. Can't find (or can't open) font file HeiseiMin-W3H-Hojo-H. Querying operating system for font files... Can't find (or can't open) font file /usr/share/ghostscript/8.71/Resource/Font/HeiseiMin-W3H-Hojo-H. Can't find (or can't open) font file HeiseiMin-W3H-Hojo-H. Didn't find this font on the system! Substituting font Courier for HeiseiMin-W3H-Hojo-H. Loading a TT font from /usr/share/fonts/truetype/arphic/uming.ttc to emulate a CID font ShanHeiSun-Light ... Done. Loading a TT font from /usr/share/fonts/truetype/ttf-japanese-gothic.ttf to emulate a CID font Japanese-Gothic-Regular ... Done. Loading a TT font from /usr/share/fonts/truetype/unfonts/UnDotum.ttf to emulate a CID font UnDotum-Regular ... Done. Can't find (or can't open) font file /usr/share/ghostscript/8.71/Resource/Font/HeiseiKakuGo-W5H-Hojo-H. Can't find (or can't open) font file HeiseiKakuGo-W5H-Hojo-H. Didn't find this font on the system! Substituting font Courier for HeiseiKakuGo-W5H-Hojo-H. Loading a TT font from /usr/share/fonts/truetype/arphic/ukai.ttc to emulate a CID font ZenKai-Medium ... Done. Loading NimbusSanL-Regu font from /usr/share/fonts/type1/gsfonts/n019003l.pfb... 18364328 16950211 7472224 5505865 1 done. Loading NimbusSanL-Bold font from /usr/share/fonts/type1/gsfonts/n019004l.pfb... 18486056 17067725 8252544 6524718 1 done. >>showpage, press <return> to continue<< GS>quit zsh: segmentation fault (core dumped) gs iso2022.ps % I want to get backtrace, so I run not stripped binary. % LD_LIBRARY_PATH=./ghostscript-8.71\~dfsg2/sobin ./ghostscript-8.71\~dfsg2/bin/gs iso2022.ps : zsh: segmentation fault (core dumped) LD_LIBRARY_PATH=./ghostscript-8.71\~dfsg2/sobin iso2022.ps % % gdb ./ghostscript-8.71\~dfsg2/bin/gs core : Core was generated by `./ghostscript-8.71~dfsg2/bin/gs iso2022.ps'. Program terminated with signal 11, Segmentation fault. #0 0x00000000007064ed in i_free_object (mem=0x2a0c848, ptr=0x3132488, cname=0x7a04c0 "subst_CID_on_WMode_finalize") at ./base/gsalloc.c:787 warning: Source file is more recent than executable. 787 gs_alloc_fill(ptr, gs_alloc_fill_free, size); (gdb) bt #0 0x00000000007064ed in i_free_object (mem=0x2a0c848, ptr=0x3132488, cname=0x7a04c0 "subst_CID_on_WMode_finalize") at ./base/gsalloc.c:787 #1 0x000000000049f5e9 in subst_CID_on_WMode_finalize (data=0x3132470) at ./base/gsfcid.c:112 #2 0x00000000007064f0 in i_free_object (mem=0x2a0c848, ptr=0x3132470, cname=0x79c965 "release_subst_CID_on_WMode") at ./base/gsalloc.c:787 #3 0x0000000000463cf7 in release_subst_CID_on_WMode (data=0x30e9570, event=<value optimized out>) at ./psi/zfcid1.c:294 #4 0x000000000072c048 in gs_notify_all (nlist=<value optimized out>, event_data=0x0) at ./base/gsnotify.c:103 #5 0x00000000007199f2 in gs_font_finalize (vptr=<value optimized out>) at ./base/gsfont.c:165 #6 0x0000000000522cf5 in restore_finalize (mem=<value optimized out>) at ./psi/isave.c:950 #7 0x0000000000523e8b in alloc_restore_step_in (dmem=0x2a4ebf8, save=0x3101348) at ./psi/isave.c:775 #8 0x0000000000523f7b in alloc_restore_all (dmem=0x2a4ebf8) at ./psi/isave.c:886 #9 0x00000000004d2035 in gs_main_finit (minst=0x2a0c2b0, exit_status=0, code=-101) at ./psi/imain.c:796 #10 0x0000000000451975 in main (argc=2, argv=0x7fff99da0838) at ./psi/gs.c:119 (gdb) -- Regards, dai -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ja_JP.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ghostscript depends on: ii debconf [de 1.5.32 Debian configuration management sy ii debianutils 3.2.3 Miscellaneous utilities specific t ii ghostscript 8.71~dfsg2-3 The GPL Ghostscript PostScript/PDF ii gs-common 8.71~dfsg2-3 Dummy package depending on ghostsc ii gsfonts 1:8.11+urwcyr1.0.7~pre44-4.1 Fonts for the Ghostscript interpre ii libc6 2.10.2-9 Embedded GNU C Library: Shared lib ii libgs8 8.71~dfsg2-3 The Ghostscript PostScript/PDF int ghostscript recommends no packages. ghostscript suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org