← Back to team overview

desktop-packages team mailing list archive

[Bug 1530902] [NEW] gs segfault while printing - not a PDF file

 

Public bug reported:

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.

** Affects: ghostscript (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "_usr_bin_gs.7.crash.gz"
   https://bugs.launchpad.net/bugs/1530902/+attachment/4543885/+files/_usr_bin_gs.7.crash.gz

** Description changed:

  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"
- segfault in syslog/apport - crash report attached.
+ 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.

** Description changed:

  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.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ghostscript in Ubuntu.
https://bugs.launchpad.net/bugs/1530902

Title:
  gs segfault while printing - not a PDF file

Status in ghostscript package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1530902/+subscriptions