Debian Bug report logs -
#582846
ghostscript: example CJK postscript files cause segfault when gs quit
Reported by: dai@debian.org
Date: Mon, 24 May 2010 03:27:01 UTC
Severity: normal
Tags: confirmed
Found in version ghostscript/8.71~dfsg2-3
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Masayuki Hatta (mhatta) <mhatta@debian.org>:
Bug#582846; Package ghostscript.
(Mon, 24 May 2010 03:27:04 GMT) (full text, mbox, link).
Acknowledgement sent
to "VDR dai \(deb\)" <d+deb@vdr.jp>:
New Bug report received and forwarded. Copy sent to Masayuki Hatta (mhatta) <mhatta@debian.org>.
(Mon, 24 May 2010 03:27:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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
Information forwarded
to debian-bugs-dist@lists.debian.org, Masayuki Hatta (mhatta) <mhatta@debian.org>:
Bug#582846; Package ghostscript.
(Mon, 24 May 2010 09:51:05 GMT) (full text, mbox, link).
Acknowledgement sent
to 582846@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Masayuki Hatta (mhatta) <mhatta@debian.org>.
(Mon, 24 May 2010 09:51:05 GMT) (full text, mbox, link).
Message #10 received at 582846@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi dai,
On Mon, May 24, 2010 at 12:25:09PM +0900, VDR dai (deb) wrote:
>Package: ghostscript
>Version: 8.71~dfsg2-3
>Severity: normal
>
>When quitting ghostscript, after some example CJK postscript files processed,
>it segfault.
Thanks for filing this bugreport!
CJK support requires cjk font packages installed (as I understand it).
Which cjk packages did you have installed on the system?
Kind regards,
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Masayuki Hatta (mhatta) <mhatta@debian.org>:
Bug#582846; Package ghostscript.
(Mon, 24 May 2010 10:51:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Kenshi Muto <kmuto@debian.org>:
Extra info received and forwarded to list. Copy sent to Masayuki Hatta (mhatta) <mhatta@debian.org>.
(Mon, 24 May 2010 10:51:10 GMT) (full text, mbox, link).
Message #15 received at 582846@bugs.debian.org (full text, mbox, reply):
Hi,
At Mon, 24 May 2010 11:49:44 +0200,
Jonas Smedegaard wrote:
> On Mon, May 24, 2010 at 12:25:09PM +0900, VDR dai (deb) wrote:
> >Package: ghostscript
> >Version: 8.71~dfsg2-3
> >Severity: normal
> >
> >When quitting ghostscript, after some example CJK postscript files processed,
> >it segfault.
>
> Thanks for filing this bugreport!
>
> CJK support requires cjk font packages installed (as I understand it).
>
> Which cjk packages did you have installed on the system?
I confirmed this bug.
I installed:
otf-ipafont-mincho otf-ipafont-gothic ttf-unfonts-core ttf-arphic-uming
ttf-arphic-ukai
gs-cjk-resource
cmap-adobe-japan1 cmap-adobe-japan2 cmap-adobe-korea1 cmap-adobe-cns1 cmap-adobe-gb1
of Sid and got same error.
I'll investigate details.
Thanks,
--
Kenshi Muto
kmuto@debian.org
Information forwarded
to debian-bugs-dist@lists.debian.org, Masayuki Hatta (mhatta) <mhatta@debian.org>:
Bug#582846; Package ghostscript.
(Mon, 24 May 2010 11:06:03 GMT) (full text, mbox, link).
Acknowledgement sent
to 582846@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Masayuki Hatta (mhatta) <mhatta@debian.org>.
(Mon, 24 May 2010 11:06:03 GMT) (full text, mbox, link).
Message #20 received at 582846@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Mon, May 24, 2010 at 07:39:46PM +0900, Kenshi Muto wrote:
>I confirmed this bug.
>I'll investigate details.
Great that you will work on this!
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Masayuki Hatta (mhatta) <mhatta@debian.org>:
Bug#582846; Package ghostscript.
(Tue, 25 May 2010 00:21:03 GMT) (full text, mbox, link).
Acknowledgement sent
to "VDR dai (deb)" <d+deb@vdr.jp>:
Extra info received and forwarded to list. Copy sent to Masayuki Hatta (mhatta) <mhatta@debian.org>.
(Tue, 25 May 2010 00:21:03 GMT) (full text, mbox, link).
Message #25 received at 582846@bugs.debian.org (full text, mbox, reply):
Hi,
On Mon, May 24, 2010 at 11:49:44AM +0200, Jonas Smedegaard wrote:
> >Package: ghostscript
> >Version: 8.71~dfsg2-3
> >Severity: normal
> >
> >When quitting ghostscript, after some example CJK postscript files processed,
> >it segfault.
>
> Thanks for filing this bugreport!
>
> CJK support requires cjk font packages installed (as I understand it).
>
> Which cjk packages did you have installed on the system?
I installed below fonts.
gsfonts
gsfonts-other
gsfonts-wadalab-common
gsfonts-wadalab-gothic
gsfonts-wadalab-mincho
gsfonts-x11
gs-cjk-resource
cmap-adobe-cns1
cmap-adobe-gb1
cmap-adobe-japan1
cmap-adobe-japan2
cmap-adobe-korea1
ttf-arphic-ukai
ttf-arphic-uming
ttf-bitstream-vera
ttf-dejavu
ttf-dejavu-core
ttf-dejavu-extra
ttf-freefont
ttf-kiloji
ttf-lyx
ttf-opensymbol
ttf-sazanami-gothic
ttf-sazanami-mincho
ttf-unfonts-core
ttf-vlgothic
xfonts-100dpi
xfonts-base
xfonts-encodings
xfonts-mathml
xfonts-scalable
xfonts-utils
--
Regards,
dai
Information forwarded
to debian-bugs-dist@lists.debian.org, Masayuki Hatta (mhatta) <mhatta@debian.org>:
Bug#582846; Package ghostscript.
(Fri, 28 May 2010 17:12:03 GMT) (full text, mbox, link).
Acknowledgement sent
to "VDR dai (deb)" <d+deb@vdr.jp>:
Extra info received and forwarded to list. Copy sent to Masayuki Hatta (mhatta) <mhatta@debian.org>.
(Fri, 28 May 2010 17:12:04 GMT) (full text, mbox, link).
Message #30 received at 582846@bugs.debian.org (full text, mbox, reply):
Hi,
I found out where ghostscript crashed.
So, I modify random shot and it does not crash.
But I do not know what original and modified line means.
Here is debug built ghostscript's execution log.
dai@qemu-i386:~$ ./src/ghostscript-8.71~dfsg2/debugobj/gs -Z^ -dSAFER -dBATCH -dNOPAUSE iso2022.ps > log 2>&1
セグメンテーション違反です (core dumped)
dai@qemu-i386:~$ grep gs_subst_CID_on_WMode log
Loading a TT font from /usr/share/fonts/truetype/ttf-japanese-mincho.ttf to emulate a CID font Japanese-Mincho-Regular ... Done.[^]gs_subst_CID_on_WMode 0xa1bae80 init = 1
[^]gs_subst_CID_on_WMode 0xa1bae80 ++ => 2
[^]gs_subst_CID_on_WMode 0xa1326a4 init = 1
[^]gs_subst_CID_on_WMode 0xa1326a4 ++ => 2
[^]gs_subst_CID_on_WMode 0xa132538 ++ => 3
[^]gs_subst_CID_on_WMode 0xa132538 ++ => 4
[^]gs_subst_CID_on_WMode 0xa132538 ++ => 5
[^]gs_subst_CID_on_WMode 0xa132538 ++ => 6
Loading a TT [^]gs_subst_CID_on_WMode 0xa132538 ++ => 7
[^]gs_subst_CID_on_WMode 0xa132538 ++ => 8
[^]gs_subst_CID_on_WMode 0xa132538 ++ => 9
[^]gs_subst_CID_on_WMode 0xa132538 ++ => 10
[^]gs_subst_CID_on_WMode 0xa132538 -2 => 8
[^]gs_subst_CID_on_WMode 0xa132538 -2 => 6
[^]gs_subst_CID_on_WMode 0xa132538 -2 => 4
[^]gs_subst_CID_on_WMode 0xa132538 -2 => 2
[^]gs_subst_CID_on_WMode 0xa132538 -2 => 0
[^]gs_subst_CID_on_WMode 0xa132538 => free (release_subst_CID_on_WMode)
dai@qemu-i386:~$
I suspect that -2 is over subtraction, but no reason.
So, I modify release_subst_CID_on_WMode in ghostscript-8.71~dfsg/psi/zfcid1.c.
diff -urNp ghostscript-8.71~dfsg2/psi/zfcid1.c.orig ghostscript-8.71~dfsg2/psi/zfcid1.c
--- ghostscript-8.71~dfsg2/psi/zfcid1.c.orig 2009-12-06 04:21:42.000000000 +0900
+++ ghostscript-8.71~dfsg2/psi/zfcid1.c 2010-05-28 18:03:53.000000000 +0900
@@ -291,7 +291,7 @@ release_subst_CID_on_WMode(void *data, v
gs_font_notify_unregister((gs_font *)pfcid, release_subst_CID_on_WMode, data);
pfcid->subst_CID_on_WMode = NULL;
- rc_adjust(subst, -2, "release_subst_CID_on_WMode");
+ rc_adjust(subst, -1, "release_subst_CID_on_WMode");
return 0;
}
Then, Here is modify ghostscript's execution log.
dai@qemu-i386:~$ ./src/ghostscript-8.71~dfsg2/debugobj/gs -Z^ -dSAFER -dBATCH -dNOPAUSE iso2022.ps > log 2>&1
dai@qemu-i386:~$ grep gs_subst_CID_on_WMode log
Loading a TT font from /usr/share/fonts/truetype/ttf-japanese-mincho.ttf to emulate a CID font Japanese-Mincho-Regular ... Done.[^]gs_subst_CID_on_WMode 0x8ff7e80 init = 1
[^]gs_subst_CID_on_WMode 0x8ff7e80 ++ => 2
[^]gs_subst_CID_on_WMode 0x8f6f6a4 init = 1
[^]gs_subst_CID_on_WMode 0x8f6f6a4 ++ => 2
[^]gs_subst_CID_on_WMode 0x8f6f538 ++ => 3
[^]gs_subst_CID_on_WMode 0x8f6f538 ++ => 4
[^]gs_subst_CID_on_WMode 0x8f6f538 ++ => 5
[^]gs_subst_CID_on_WMode 0x8f6f538 ++ => 6
Loading a TT [^]gs_subst_CID_on_WMode 0x8f6f538 ++ => 7
[^]gs_subst_CID_on_WMode 0x8f6f538 ++ => 8
[^]gs_subst_CID_on_WMode 0x8f6f538 ++ => 9
[^]gs_subst_CID_on_WMode 0x8f6f538 ++ => 10
[^]gs_subst_CID_on_WMode 0x8f6f538 -1 => 9
[^]gs_subst_CID_on_WMode 0x8f6f538 -1 => 8
[^]gs_subst_CID_on_WMode 0x8f6f538 -1 => 7
[^]gs_subst_CID_on_WMode 0x8f6f538 -1 => 6
[^]gs_subst_CID_on_WMode 0x8f6f538 -1 => 5
[^]gs_subst_CID_on_WMode 0x8ff7e80 -1 => 1
dai@qemu-i386:~$
It does not crash.
But I do not know whether it is correct and
why original code is not -1 but -2.
This code was introduced about 1.5 years ago.
http://bugs.ghostscript.com/show_bug.cgi?id=689304
http://ghostscript.com/pipermail/gs-cvs/2008-November/008789.html
Should I ask this bug to upstream?
--
Regards,
dai
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#582846; Package ghostscript.
(Mon, 23 Jul 2012 15:12:09 GMT) (full text, mbox, link).
Acknowledgement sent
to bastien ROUCARIES <roucaries.bastien@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>.
(Mon, 23 Jul 2012 15:12:09 GMT) (full text, mbox, link).
Message #35 received at 582846@bugs.debian.org (full text, mbox, reply):
tags 582846 +moreinfo
thanks
Dear VDR dai,
Could you try to reproduce this bug with the newer ghostscript.
I could not reproduce with 9.05~dfsg-6
thanks
Added tag(s) moreinfo.
Request was from bastien ROUCARIES <roucaries.bastien@gmail.com>
to control@bugs.debian.org.
(Mon, 23 Jul 2012 15:12:12 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#582846; Package ghostscript.
(Tue, 24 Jul 2012 09:45:03 GMT) (full text, mbox, link).
Acknowledgement sent
to dai@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>.
(Tue, 24 Jul 2012 09:45:03 GMT) (full text, mbox, link).
Message #42 received at 582846@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
submitter 582846 !
thanks
On Mon, Jul 23, 2012 at 05:08:45PM +0200, bastien ROUCARIES wrote:
> Could you try to reproduce this bug with the newer ghostscript.
>
> I could not reproduce with 9.05~dfsg-6
I could reproduce with 9.05~dfsg-6.
I think it depends installed fonts.
% ghostscript iso2022.ps
GPL Ghostscript 9.05 (2012-02-08)
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... 3732144 2230667 4600464 3242359 1 done.
Loading NimbusMonL-Bold font from /usr/share/fonts/type1/gsfonts/n022004l.pfb... 3775136 2365854 4600464 3262388 1 done.
Loading a TT font from /usr/share/fonts/truetype/fonts-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-core/UnBatang.ttf to emulate a CID font UnBatang-Regular ... Done.
Can't find (or can't open) font file /usr/share/ghostscript/9.05/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/9.05/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/fonts-japanese-gothic.ttf to emulate a CID font Japanese-Gothic-Regular ... Done.
Loading a TT font from /usr/share/fonts/truetype/unfonts-core/UnDotum.ttf to emulate a CID font UnDotum-Regular ... Done.
Can't find (or can't open) font file /usr/share/ghostscript/9.05/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... 17815720 16348056 5326264 3286463 1 done.
Loading NimbusSanL-Bold font from /usr/share/fonts/type1/gsfonts/n019004l.pfb... 17876896 16453460 6106584 4278370 1 done.
>>showpage, press <return> to continue<<
GS>quit
zsh: segmentation fault (core dumped) ghostscript iso2022.ps
%
% dpkg --get-selections | grep poppler
libpoppler-glib8:amd64 install
libpoppler19:amd64 install
poppler-data install
poppler-utils install
ruby-poppler install
%
% dpkg --get-selections | grep ^cmap
%
% dpkg --get-selections | grep ^gsfonts
gsfonts install
gsfonts-other install
gsfonts-x11 install
%
% dpkg --get-selections | grep ^fonts
fonts-arphic-ukai install
fonts-arphic-uming install
fonts-freefont-ttf install
fonts-ipaexfont-gothic install
fonts-ipaexfont-mincho install
fonts-ipafont-gothic install
fonts-ipafont-mincho install
fonts-liberation install
fonts-lyx install
fonts-opensymbol install
fonts-unfonts-core install
fonts-vlgothic install
%
% dpkg --get-selections | grep ^ttf
ttf-bitstream-vera install
ttf-dejavu-core install
ttf-dejavu-extra install
ttf-marvosym install
%
% dpkg --get-selections | grep ^xfonts
xfonts-100dpi install
xfonts-base install
xfonts-encodings install
xfonts-mathml install
xfonts-scalable install
xfonts-utils install
%
--
Regards,
dai
GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
[signature.asc (application/pgp-signature, inline)]
Changed Bug submitter to 'dai@debian.org' from '"VDR dai \(deb\)" <d+deb@vdr.jp>'
Request was from dai@debian.org
to control@bugs.debian.org.
(Tue, 24 Jul 2012 09:45:05 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#582846; Package ghostscript.
(Fri, 27 Jul 2012 08:21:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Bastien ROUCARIES <roucaries.bastien@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>.
(Fri, 27 Jul 2012 08:21:03 GMT) (full text, mbox, link).
Message #49 received at 582846@bugs.debian.org (full text, mbox, reply):
tags 582846 - moreinfo
tags 582846 + confirmed
thanks
Dear dai,
Could you retry under gdb and get a backtrace (with ghostscript-dbg installed).
Thanks
Bastien
Removed tag(s) moreinfo.
Request was from Bastien ROUCARIES <roucaries.bastien@gmail.com>
to control@bugs.debian.org.
(Fri, 27 Jul 2012 09:57:08 GMT) (full text, mbox, link).
Added tag(s) confirmed.
Request was from Bastien ROUCARIES <roucaries.bastien@gmail.com>
to control@bugs.debian.org.
(Fri, 27 Jul 2012 09:57:09 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#582846; Package ghostscript.
(Fri, 27 Jul 2012 11:30:06 GMT) (full text, mbox, link).
Acknowledgement sent
to dai@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>.
(Fri, 27 Jul 2012 11:30:06 GMT) (full text, mbox, link).
Message #58 received at 582846@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
On Fri, Jul 27, 2012 at 10:16:56AM +0200, Bastien ROUCARIES wrote:
> Could you retry under gdb and get a backtrace (with ghostscript-dbg installed).
Here is backtrace.
GS>quit
Program received signal SIGSEGV, Segmentation fault.
i_free_object (mem=<optimized out>, ptr=0x8606c8, cname=<optimized out>)
at ./base/gsalloc.c:846
846 ./base/gsalloc.c: No such file or directory.
(gdb) bt
#0 i_free_object (mem=<optimized out>, ptr=0x8606c8, cname=<optimized out>)
at ./base/gsalloc.c:846
#1 0x00002aaaaae1f849 in subst_CID_on_WMode_finalize (cmem=<optimized out>,
data=0x8606b0) at ./base/gsfcid.c:113
#2 0x00002aaaab02ccc8 in i_free_object (mem=0x6028d8, ptr=0x8606b0,
cname=<optimized out>) at ./base/gsalloc.c:846
#3 0x00002aaaaade5e69 in release_subst_CID_on_WMode (data=<optimized out>,
event=<optimized out>) at ./psi/zfcid1.c:292
#4 0x00002aaaab0482e8 in gs_notify_all (nlist=<optimized out>, event_data=0x0)
at ./base/gsnotify.c:103
#5 0x00002aaaab03b9f0 in gs_font_finalize (cmem=<optimized out>,
vptr=<optimized out>) at ./base/gsfont.c:164
#6 0x00002aaaaae80d79 in restore_finalize (mem=0x603e68) at ./psi/isave.c:933
#7 0x00002aaaaae82133 in alloc_restore_step_in (dmem=0x644fb0, save=0x82dcc8)
at ./psi/isave.c:758
#8 0x00002aaaaae82239 in alloc_restore_all (dmem=0x644fb0)
at ./psi/isave.c:869
#9 0x00002aaaaae40f51 in gs_main_finit (minst=0x602340, exit_status=0, code=0)
at ./psi/imain.c:880
#10 0x00002aaaaae442d3 in gsapi_exit (lib=<optimized out>) at ./psi/iapi.c:263
#11 0x00000000004009e4 in main (argc=<optimized out>, argv=0x7fffffffe908)
at ./psi/dxmainc.c:88
(gdb)
--
Regards,
dai
GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#582846; Package ghostscript.
(Wed, 08 Aug 2012 13:09:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Bastien ROUCARIES <roucaries.bastien@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>.
(Wed, 08 Aug 2012 13:09:03 GMT) (full text, mbox, link).
Message #63 received at 582846@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Till could you try to reproduce this bug on the ubuntu side and forward
upstream?
Thanks
Bastien
[Message part 2 (text/html, inline)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Mon Jun 5 03:21:28 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.