[Pkg-cups-devel] libgs8 segfault : print jobs (recto/verso) stop after 2nd page

Jonathan Nieder jrnieder at gmail.com
Thu Aug 18 15:48:05 UTC 2011


Christophe Alonso wrote:

> Attached cups error_log.

Thanks.  Quick analysis:

> D [18/Aug/2011:11:56:45 +0200] [Job 7] envp[20]="PPD=/etc/cups/ppd/psc_1200_series.ppd"

It would be interesting to see /etc/cups/ppd/psc_1200_series.ppd, too.

[...]
> I [18/Aug/2011:11:56:45 +0200] [Job 7] Started filter /usr/lib/cups/filter/pdftopdf (PID 5597)
> I [18/Aug/2011:11:56:45 +0200] [Job 7] Started filter /usr/lib/cups/filter/pdftoraster (PID 5598)
> I [18/Aug/2011:11:56:45 +0200] [Job 7] Started filter /usr/lib/cups/filter/hpcups (PID 5599)
> I [18/Aug/2011:11:56:45 +0200] [Job 7] Started backend /usr/lib/cups/backend/hp (PID 5600)
[...]
> D [18/Aug/2011:11:56:45 +0200] PID 5597 (/usr/lib/cups/filter/pdftopdf) exited with no errors.

The error probably happens in pdftoraster (which is good news, since
that step is not device-specific).

> D [18/Aug/2011:11:56:45 +0200] [Job 7] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -I/usr/share/cups/fonts -sMediaType=Plain -sOutputType=0 -r600x600 -dMediaPosition=7 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=841 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 -dcupsRowStep=1 -dcupsInteger0=26 -scupsString0=PlainNormalColor -scupsPageSizeName=A4 -c -f -_

A gs commandline.  We are halfway to a testcase.

[...]
> D [18/Aug/2011:11:59:17 +0200] PID 5598 (/usr/lib/cups/filter/pdftoraster) stopped with status 1!

Indeed, pdfraster failed.

[...]
> E [18/Aug/2011:11:59:23 +0200] [Job 7] Job stopped due to filter errors; please consult the error_log file for details.

So, now my goal is to convince cups to give us a postscript file
so the problem can be reproduced independently of cups.  My
best idea for that at the moment is modifying the PPD, but I'm
also cc-ing the cups maintainers in case they know of an easier
way.

Hope that helps,
Jonathan



More information about the Pkg-cups-devel mailing list