Hi, I think I could verify that /usr/lib/cups/filter/rastertogutenprint.5.0 is the cause of the failure. gs-esp runs successfully with the attached postscript file "testcase" and produces the attached gs-test without any signs of trouble. I was using this command line: /usr/bin/gs-esp -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH \ -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout \ -c - < testcase > gs-test As I found out, rastertogutenprint seems to get the name of the ppd to use from $0 =8-O So I created a hard link named Klexi (such as my printer) to rastertogutenprint.5.0 and ran: PATH=/usr/lib/cups/filter:/bin:/usr/bin SOFTWARE=CUPS/1.1 USER=root \ CHARSET=utf-8 LANG=de TZ=Europe/Berlin PPD=/etc/cups/ppd/Klexi.ppd \ CUPS_SERVERROOT=/etc/cups RIP_MAX_CACHE=8m TMPDIR=/var/spool/cups/tmp \ CONTENT_TYPE=application/postscript DEVICE_URI=epson:/dev/lp0 PRINTER=Klexi \ CUPS_DATADIR=/usr/share/cups CUPS_FONTPATH=/usr/share/cups/fonts \ CUPS_SERVER=localhost IPP_PORT=631 Klexi 999 pelzi Gwonz.xyz 1 \ "multiple-document-handling=separate-documents-collated-copies orientation-requested=3" < gs-test > gutenprint-test I stole parameters, environment and commandline from a real CUPS job. The command results in the attacht file gutenprint-test and a long output on stderr, the last few lines of which read as follows: DEBUG: Gutenprint stp_get_string DitherAlgorithm(v) |NULL| 0 DEBUG: Gutenprint stp_get_string ImageType(v) |TextGraphics| 2 DEBUG: Gutenprint stp_get_string JobMode(v) |Job| 2 DEBUG: Gutenprint stp_get_int PageNumber(v) |0| 2 INFO: Starting page 1... INFO: Starting page 1... DEBUG: Gutenprint: Image_width 826 DEBUG: Gutenprint: Image_width 826 DEBUG: Gutenprint: Image_height 1058 DEBUG: Gutenprint: Image_height 1058 DEBUG2: Gutenprint reading 104 0 DEBUG2: Gutenprint tossing right 3 WARNING: Gutenprint detected broken job options. Output quality is degraded. Are you using psnup or non-ADSC PostScript? DEBUG: Gutenprint: Image_width 826 DEBUG2: Gutenprint reading 104 1 DEBUG2: Gutenprint tossing right 3 DEBUG2: Gutenprint reading 104 2 DEBUG2: Gutenprint tossing right 3 ERROR: Gutenprint: Buffer overflow: limit 544, actual 614, count 2 Abgebrochen Moreover, I discovered that the backend "parallel" as shipped with current cupsys package, also crashes with SEGV if called without arguments. Hope this helps, Andreas. -- Dr. Andreas Feldner Plinganserstraße 49 Tel. 089/95416904 81369 München Fax 069/13304311652
Attachment:
gs-test.bz2
Description: BZip2 compressed data
Attachment:
gutenprint-test.bz2
Description: BZip2 compressed data
Attachment:
testcase.bz2
Description: BZip2 compressed data
Attachment:
pgpvwvzdw0HB6.pgp
Description: PGP signature