[apport] gs-esp crashed with SIGSEGV

Bug #109370 reported by josesuarez1983
2
Affects Status Importance Assigned to Milestone
gs-esp (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: gs-esp

I just wanted to print a .ps file into a PDF file with 4 sheets per page, using the KDE PDF printer. The printing process failed.

ProblemType: Crash
Architecture: i386
Date: Mon Apr 23 20:20:26 2007
Disassembly: 0x0:
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/gs-esp
Package: gs-esp 8.15.4.dfsg.1-0ubuntu1
PackageArchitecture: i386
ProcCmdline: gs -q -dSAFER -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=/home/jose/print.pdf -sPAPERSIZE=a4 -c .setpdfwrite -f /tmp/kde-jose/kdeprint_yROA8b46
ProcCwd: /home/jose
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=es_ES.UTF-8
Signal: 11
SourcePackage: gs-esp
StacktraceTop:
 ?? ()
 ?? () from /usr/lib/libgs-esp.so.8
 ?? ()
 ?? ()
 ?? ()
Uname: Linux amd64 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
josesuarez1983 (j-suarez-agapito) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Do you have a dual-boot to a 64-bit version of Feisty (or try a live CD)? Can you check whether this problem occurs also with the 64-bit version?

Can you also try replacing ESP GhostScript by GPL GhostScript with

sudo apt-get install gs-gpl
sudo update-alternatives --config gs

and choose gs-gpl in the menu.

Does the problem disappear?

If you cannot print on a real printer any more now, return to ESP GhostScript with

sudo update-alternatives --config gs

and choose gs-esp in the menu.

Changed in gs-esp:
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
cos_value_equal (pcv0=<value optimized out>, pcv1=0x83ef848, pdev=0x8093e04) at ./src/gdevpdfo.c:397
cos_dict_equal (pco0=0x83f02f4, pco1=0x83ef2f0, pdev=0x8093e04) at ./src/gdevpdfo.c:1050
cos_stream_equal (pco0=0x83f02f4, pco1=0x83ef2f0, pdev=0x8093e04) at ./src/gdevpdfo.c:1205
pdf_find_same_resource (pdev=0x8093e04, rtype=resourceXObject, ppres=0x8432cdc, eq=0xb7b05730 <nocheck>) at ./src/gdevpdfu.c:545

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

StacktraceTop:?? ()
cos_value_equal (pcv0=<value optimized out>, pcv1=0x83ef848, pdev=0x8093e04) at ./src/gdevpdfo.c:397
cos_dict_equal (pco0=0x83f02f4, pco1=0x83ef2f0, pdev=0x8093e04) at ./src/gdevpdfo.c:1050
cos_stream_equal (pco0=0x83f02f4, pco1=0x83ef2f0, pdev=0x8093e04) at ./src/gdevpdfo.c:1205
pdf_find_same_resource (pdev=0x8093e04, rtype=resourceXObject, ppres=0x8432cdc, eq=0xb7b05730 <nocheck>) at ./src/gdevpdfu.c:545

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
josesuarez1983 (j-suarez-agapito) wrote : Re: [Bug 109370] Re: [apport] gs-esp crashed with SIGSEGV

Oh, by the way, i just reenabled gs-esp as the default gs provider and when
trying to print that file into a 4-sheet per page pdf, the output log
(announced by knotify) is the following:
A print error occurred. Error message received from system:

Abnormal process termination
(gs -q -dSAFER -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$out{/home/jose/print2.pdf} -sPAPERSIZE=a4 -c .setpdfwrite -f '/tmp/kde-jose/kdeprint_MfnKbbwq' ).

The same error (and crash) is obtained when printing the .ps file to a 1 sheet
per page pdf file.

The whole problem is quite weird because I had to print to a pdf file with KDE
virtual PDF printer because cups' virtual pdf printer prints an empty pdf
file from this .ps file!... So maybe it's a problem with the .ps file Firefox
generated. However if that was the problem, it wouldn't be possible to open
the file in KPDF or KGhostView...

About the 64 build, I'm afraid I cannot try that since at the moment I don't
have a 64bit Linux environment. I had it until 2 weeks ago, but I was tired
of Debian's policy to not release 64bit unstable packages... And I wanted to
install OOo 2.2 and KDE 3.5.6. So I moved to 32bit Feisty beta (because I
don't want to have a 32bit chroot environment).

Thanks for dealing with this bug so quickly.

El Martes, 24 de Abril de 2007, Till Kamppeter escribió:
> Do you have a dual-boot to a 64-bit version of Feisty (or try a live
> CD)? Can you check whether this problem occurs also with the 64-bit
> version?
>
> Can you also try replacing ESP GhostScript by GPL GhostScript with
>
> sudo apt-get install gs-gpl
> sudo update-alternatives --config gs
>
> and choose gs-gpl in the menu.
>
> Does the problem disappear?
>
> If you cannot print on a real printer any more now, return to ESP
> GhostScript with
>
> sudo update-alternatives --config gs
>
> and choose gs-esp in the menu.
>
>
> ** Tags added: need-i386-retrace
>
> ** Changed in: gs-esp (Ubuntu)
> Importance: Undecided => Medium
> Status: Unconfirmed => Needs Info

--
__________________________

José Suárez Agapito
<email address hidden>

Revision history for this message
josesuarez1983 (j-suarez-agapito) wrote :

The missing text problem happens with any dpf printout when using gs-gpl. (I
just tried to print an e-mail and the text is not shown, well just the first
character of every paragraph is shown).
I'm attaching two more pdfs, the first (print2.pdf) was generated using gs-gpl
and print3.pdf was generated by gs-esp. They both come from a printout of the
email Till Kamppeter sent to me.

These are the packages I have installed in my system which are related to gs:

jose@amd64:~$ dpkg -l | grep Ghostscript
ii gs-common 0.3.11ubuntu1
Common files for different Ghostscript relea
ii gs-esp 8.15.4.dfsg.1-0ubuntu1
The Ghostscript PostScript interpreter - ESP
ii gs-esp-x 8.15.4.dfsg.1-0ubuntu1
The Ghostscript PostScript interpreter - ESP
ii gs-gpl 8.54.dfsg.1-5build1
The GPL Ghostscript PostScript interpreter
ii gsfonts 8.11+urwcyr1.0.7~pre41-1
Fonts for the Ghostscript interpreter(s)
ii gsfonts-x11 0.20build1
Make Ghostscript fonts available to X11
ii libgs-esp8 8.15.4.dfsg.1-0ubuntu1
The Ghostscript PostScript Library

El Martes, 24 de Abril de 2007, Till Kamppeter escribió:
> Do you have a dual-boot to a 64-bit version of Feisty (or try a live
> CD)? Can you check whether this problem occurs also with the 64-bit
> version?
>
> Can you also try replacing ESP GhostScript by GPL GhostScript with
>
> sudo apt-get install gs-gpl
> sudo update-alternatives --config gs
>
> and choose gs-gpl in the menu.
>
> Does the problem disappear?
>
> If you cannot print on a real printer any more now, return to ESP
> GhostScript with
>
> sudo update-alternatives --config gs
>
> and choose gs-esp in the menu.
>
>
> ** Tags added: need-i386-retrace
>
> ** Changed in: gs-esp (Ubuntu)
> Importance: Undecided => Medium
> Status: Unconfirmed => Needs Info

--
__________________________

José Suárez Agapito
<email address hidden>

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

[Expired for gs-esp (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.

Other bug subscribers

Remote bug watches

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