[apport] gs-esp crashed with SIGSEGV in jbig2_image_get_pixel()

Bug #115175 reported by VF
10
Affects Status Importance Assigned to Milestone
ghostscript (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gs-esp

?

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Mon May 14 15:25:30 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/gs-esp
Package: gs-esp 8.15.4.dfsg.1-0ubuntu1
PackageArchitecture: i386
ProcCmdline: gs -sDEVICE=png16m -sOutputFile=- -dSAFER -dPARANOIDSAFER -dNOPAUSE -dFirstPage=1 -dLastPage=1 -q - /home/vfotop1/Desktop/research/20030179901.pdf -c showpage -c quit
ProcCwd: /home/vfotop1
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: gs-esp
StacktraceTop:
 jbig2_image_get_pixel () from /usr/lib/libgs-esp.so.8
 jbig2_decode_refinement_region ()
 jbig2_symbol_dictionary () from /usr/lib/libgs-esp.so.8
 jbig2_parse_segment () from /usr/lib/libgs-esp.so.8
 jbig2_data_in () from /usr/lib/libgs-esp.so.8
Uname: Linux pli007 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev scanner video

Revision history for this message
VF (vfotop1) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:jbig2_decode_refinement_region (ctx=0x8169320, segment=0x8125d28, params=0xbfe6cbe4, as=0x816c8d8, image=0x816b5f8, GR_stats=0x82634e0 "")
jbig2_symbol_dictionary (ctx=0x8169320, segment=0x8125d28, segment_data=0x816c1eb "") at jbig2dec/jbig2_symbol_dict.c:414
jbig2_parse_segment (ctx=0x8169320, segment=0x8125d28, segment_data=0x816c1eb "") at jbig2dec/jbig2_segment.c:233
jbig2_data_in (ctx=0x8169320, data=0x813e244 "D\217Zk&��\200\a�/l\231\200\026T��<bA�fi�, size=2048) at jbig2dec/jbig2.c:320

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you try with the new gs-gpl packages?

Download all packages from

http://www.linux-foundation.org/~till/tmp/ubuntu/gutsy/gs-gpl/binary/

and do

sudo dpkg -i *gs-esp*.deb *gs-gpl*.deb

to replace your ESP Ghostscript by the new GPL Ghostscript.

Changed in gs-esp:
status: Unconfirmed → Needs Info
Revision history for this message
VF (vfotop1) wrote : Re: [Bug 115175] Re: [apport] gs-esp crashed with SIGSEGV in jbig2_image_get_pixel()

i tried but i have lots of dependencies problems.
for example my libc6 is v2.3.6 and the new
gs drivers require 2.5.5 or newer.I also have
problem with 6 more librarys for 7 (in total)
of the new deb packages.
Unfortunately I don't have time for such an
upgrade right now.

Vassilis

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The packages I mentioned in my last posting are for gutsy. If you are on Feisty or earlier, you can either try to use distribution-independent packages or compile from upstream source (both described on http://www.openprinting.org/download/printing/esp-gpl-ghostscript-merge/README) or rebuild the Ubuntu packages.

To rebuild the Ubuntu packages download the files from

http://www.openprinting.org/download/printing/esp-gpl-ghostscript-merge/

into the same directory. Then do

sudo apt-get install build-essential
sudo apt-get build-dep gs-esp gs-gpl
dpkg-source -x gs-gpl_8.60.dfsg.1-0ubuntu1.dsc
cd gs-gpl-8.60.dfsg.1
dpkg-buildpackage -rfakeroot
cd ..
sudo dpkg -i *gs-esp*.deb *gs-gpl*.deb

Answer every question which appears with "y", so that all needed packages get installed.
Add a comment/attachment

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Due to change of Artifex' license policy to do the head development of Ghostscript under GPL and the merger of the extra functionality of ESP Ghostscript (ESP Ghostscript is discontinued now), the packages gs-esp and gs-afpl got obsolete. They are both replaced by gs-gpl, version 8.60 or newer. I have already done a first test package:

For Gutsy download all packages from

http://www.linux-foundation.org/~till/tmp/ubuntu/gutsy/gs-gpl/binary/

and do

sudo dpkg -i *gs-esp*.deb *gs-afpl*.deb *gs-gpl*.deb

to replace your ESP and AFPL Ghostscript by the new merged GPL Ghostscript.

If you are running Feisty or older download the files from

http://www.openprinting.org/download/printing/esp-gpl-ghostscript-merge/

into the same directory. Then do

sudo apt-get install build-essential
sudo apt-get build-dep gs-esp gs-gpl
dpkg-source -x gs-gpl_8.60.dfsg.1-0ubuntu1.dsc
cd gs-gpl-8.60.dfsg.1
dpkg-buildpackage -rfakeroot
cd ..
sudo dpkg -i *gs-esp*.deb *gs-afpl*.deb *gs-gpl*.deb

Answer every question which appears with "y", so that all needed packages get installed.

Or try the distribution-independent binary package from

http://www.openprinting.org/download/printing/esp-gpl-ghostscript-merge/README

The new grand unified GPL Ghostscript will make it into Ubuntu soon, after

- Agreeing on the name with Debian: "gs-gpl" or simply "gs"
- Adding the C header files to libgs-gpl-dev
- Fixing upstream bug 689237: http://bugs.ghostscript.com/show_bug.cgi?id=689237

Please tell us your results with the test packages.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have uploaded new test packages (after working out a common concept with Debian's Ghostscript maintainer):

For Gutsy download all packages from

http://www.linux-foundation.org/~till/tmp/ubuntu/gutsy/ghostscript/binary/

and do

sudo dpkg -i *gs-esp*.deb *gs-afpl*.deb *gs-gpl*.deb *libgs*.deb *ghostscript*.deb

to replace your ESP and/or AFPL Ghostscript by the new merged GPL Ghostscript.

If you are running Feisty or older download the files from

http://www.linux-foundation.org/~till/tmp/ubuntu/gutsy/ghostscript/

into the same directory. Then do

sudo apt-get install build-essential
sudo apt-get build-dep gs-esp gs-gpl
dpkg-source -x ghostscript_8.60.dfsg.1-0ubuntu1.dsc
cd ghostscript-8.60.dfsg.1
dpkg-buildpackage -rfakeroot
cd ..
sudo dpkg -i *gs-esp*.deb *gs-afpl*.deb *gs-gpl*.deb *libgs*.deb *ghostscript*.deb

Answer every question which appears with "y", so that all needed packages get installed.

Please tell us your results with the test packages.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ghostscript (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.