Bug#519640:
Bug#519640: Bug still exists
This bug still exists for me. apt-get upgrade just pulled in a ghostscript update today but it still crashes. If you need any info let me know.
Bug#519640: Is it fixed in the meantime?
On Tue, 01 Dec 2015 17:03:01 +0100 Natanael Arndtwrote: > Is #519640 fixed in the meantime? > I also had some segmentation fault with pdf2ps and particular files in > ghostscript 9.06~dfsg-2+deb8u1 (stable/jessie) but it is gone in > 9.16~dfsg-2 (taken from testing/stretch). > > Is it possible, that the bug creator checks if the bug is still > reproducible? > > All the best > Natanael > > Same here, we have a .pdf file which cannot be converted (segmentation fault) in 9.06 ("jessie"), but it works with 9.16 ("stretch"). It seems that 32-Bit i386 "jessie" 9.06 works though, but not amd64. With "strace" it is found that gs wants to access "Halftone/Default" in the "fonts" subdirectory and soft-linking some font helps a little bit, but then after some more steps there is another "segmentation fault". All the best Kajetan, Dr Hinner EDV
Bug#519640: Is it fixed in the meantime?
Is #519640 fixed in the meantime? I also had some segmentation fault with pdf2ps and particular files in ghostscript 9.06~dfsg-2+deb8u1 (stable/jessie) but it is gone in 9.16~dfsg-2 (taken from testing/stretch). Is it possible, that the bug creator checks if the bug is still reproducible? All the best Natanael
Bug#519640: ghostscript: ps2pdf segmentation fault with a particular file
tags 519640 + confirmed upstream quit Ryo Furue wrote: ps2pdf crashes: Here's how it can be reproduced in place with upstream ghostscript. Simplifications welcome. Recipe: ... install ghostscript build-deps, ttf-sazanami-mincho, etc ... $ git clone git://git.ghostscript.com/ghostscript.git $ cd ghostscript/gs $ ./autogen.sh -C \ --with-fontpath=/var/lib/ghostscript/fonts:\ /usr/share/cups/fonts:/usr/share/ghostscript/fonts:\ /usr/local/lib/ghostscript/fonts:/usr/share/fonts \ --disable-compile-inits --prefix=/usr $ (cd /usr/share/ghostscript ln -sT /tmp/ghostscript/gs 9.01) $ rm Resource/Init/cidfmap $ make -j2 $ sed -i -e 's,exec $GS_EXECUTABLE,exec gdb --args bin/gs,' lib/ps2pdfwr $ lib/ps2pdfwr ghostscript-ps2pdf-crash.ps Result: Starting program: bin/gs -P- -dSAFER -q -P- -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile=ghostscript-ps2pdf-crash.pdf -P- -dSAFER -c .setpdfwrite -f /tmp/ghostscript-ps2pdf-crash.ps [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. pdf_set_charproc_attrs (pdev=0x89ca124, font=0x9d9b608, pw=0xbfffe140, narg=2, control=TEXT_SET_CHAR_WIDTH, ch=161) at ./base/gdevpdti.c:578 578 pcp-owner_fonts = NULL; (gdb) pcp (= pdev-accumulating_substream_resource) is null, hence the segfault. Further reading: git log --follow -G pdf_set_charproc_attrs base/gdevpdti.c git log -G accumulating_substream_resource [one can instead use git log -p and grep by hand if using pre-1.7.4 git] Well, that's a start. Thanks again. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#519640: ghostscript: ps2pdf segmentation fault with a particular file
tags 519640 + moreinfo quit Hi, Sorry for the long silence. Ryo Furue wrote: $ type ps2pdf ps2pdf is /usr/bin/ps2pdf $ ps2pdf ghostscript-ps2pdf-crash.ps Segmentation fault $ Unfortunately, I can't post this file to a public server because it contains some personal information. That's fine. If you'd like, I can try to help make a reduced testcase with no identifying information that you could post in its place. Alternatively, here is one way to debug: $ apt-get build-dep ghostscript $ git clone git://git.ghostscript.com/ghostscript.git $ cd gs $ ./autogen.sh --help=short $ ./configure --enable-debug $ make -j2 $ gdb --args bin/gs -dSAFER ghostscript-ps2pdf-crash.ps Even a backtrace could be enough to track the bug down. Thanks for reporting, Jonathan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#519640: ghostscript: ps2pdf segmentation fault with a particular file
tags 519640 - moreinfo found 519640 ghostscript/9.00~dfsg-2 quit Ryo Furue wrote: OK, it's fine. You can attach it to the bug log. Thanks, attached. ghostscript-ps2pdf-crash.ps.xz Description: Binary data
Bug#519640: ghostscript: ps2pdf segmentation fault with a particular file
Package: ghostscript Version: 8.63.dfsg.1-2 Severity: important ps2pdf crashes: $ type ps2pdf ps2pdf is /usr/bin/ps2pdf $ ps2pdf ghostscript-ps2pdf-crash.ps Segmentation fault $ Unfortunately, I can't post this file to a public server because it contains some personal information. I'll provide it if a maintainer or developer of ghostscript directly contacts me. (But, I can't guarantee how long I'll keep it on my disk.) Thanks. Regards, Ryo -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686-bigmem (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages ghostscript depends on: ii debconf [debc 1.5.25 Debian configuration management sy ii debianutils 2.31 Miscellaneous utilities specific t ii defoma0.11.10-0.2Debian Font Manager -- automatic f ii ghostscript [ 8.63.dfsg.1-2 The GPL Ghostscript PostScript/PDF ii gs-common 8.63.dfsg.1-2 Dummy package depending on ghostsc ii gsfonts 1:8.11+urwcyr1.0.7~pre44-4 Fonts for the Ghostscript interpre ii libc6 2.9-4 GNU C Library: Shared libraries ii libcomerr21.41.3-1 common error description library ii libcups2 1.3.8-1lenny4.1Common UNIX Printing System(tm) - ii libcupsimage2 1.3.8-1lenny4.1Common UNIX Printing System(tm) - ii libgnutls26 2.6.4-2the GNU TLS library - runtime libr ii libgs88.63.dfsg.1-2 The Ghostscript PostScript/PDF int ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii libkrb53 1.6.dfsg.4~beta1-9 Transitional library package/krb4 ii libpng12-01.2.27-2 PNG library - runtime ii libtiff4 3.8.2-11 Tag Image File Format (TIFF) libra ii zlib1g1:1.2.3.3.dfsg-12 compression library - runtime Versions of packages ghostscript recommends: ii psfontmgr0.11.10-0.2 PostScript font manager -- part of Versions of packages ghostscript suggests: ii ghostscript-x 8.63.dfsg.1-2 The GPL Ghostscript PostScript/PDF ii hpijs 2.8.6.b-4 HP Linux Printing and Imaging - gs -- 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