gs segfault while printing - not a PDF file

Bug #1530902 reported by airblade
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ghostscript (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

OS: Ubuntu 14.04.3 LTS x64
Package: ghostscript 9.10~dfsg-0ubuntu10
Printer: HP LaserJet 400 M401dn
Printer driver: HP LaserJet Series PCL 6 CUPS

CUPS fails to print PDF (created from Jasper): "loadFile failed: temp file: not a PDF file"
"lpr -P printer1 some.pdf" works, this is related to gs.
gs segfault identified in syslog/apport - crash report attached.

[cups/error_log]
[Job 6] backendWaitLoop(snmp_fd=5, addr=0x55c6ae178c28, side_cb=0x55c6ac426200)
[Job 6] Segmentation fault (core dumped)
[Job 6] Set job-printer-state-message to "loadFile failed: temp file: not a PDF file", current level=ERROR

[syslog]
gs[53566]: segfault at 1698 ip 00007f493465b5a9 sp 00007ffd81443260 error 4 in libgs.so.9.10[7f49342f7000+52a000]

[apport]
ERROR: apport (pid 54474) Mon Jan 4 16:23:18 2016: called for pid 54449, signal 11, core limit 0
ERROR: apport (pid 54474) Mon Jan 4 16:23:18 2016: executable: /usr/bin/gs (command line "/usr/bin/gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoRotatePages=/None -dAutoFilterColor
ERROR: apport (pid 54474) Mon Jan 4 16:23:18 2016: is_closing_session(): no DBUS_SESSION_BUS_ADDRESS in environment
ERROR: apport (pid 54474) Mon Jan 4 16:23:37 2016: wrote report /var/crash/_usr_bin_gs.7.crash
ERROR: apport (pid 54963) Mon Jan 4 16:23:39 2016: called for pid 54953, signal 11, core limit 0

Upgrading to ghostscript 9.15 fixed the problem.
(Using ppa:anton+/photo-video-apps)

Please consider releasing gs9.15 for trusty.

Revision history for this message
airblade (petterah) wrote :
description: updated
description: updated
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Hello, thanks for reporting this issue.
Ghostscript has been updated to 9.25 in current releases of Ubuntu.

Could you please verify that your issue has been resolved, and update this bug accordingly?

Thanks!

Changed in ghostscript (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in ghostscript (Ubuntu):
status: Incomplete → Expired
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.