Your message dated Mon, 5 Jul 2010 15:57:03 +0200
with message-id <[email protected]>
and subject line Re: Bug#586921: Printing now works fine in cups
has caused the Debian Bug report #586921,
regarding ghostscript-cups: GPL Ghostscript 8.71: Unrecoverable error, exit 
code 1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
586921: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586921
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ghostscript-cups
Version: 8.71~dfsg2-3
Severity: grave
Tags: squeeze
Justification: renders package unusable

Unable to print in any printer from CUPS. Let's see a sample from CUPS
error_log (just a sample test page from cups admin web page sent to a
remote printer):

D [23/Jun/2010:14:31:47 +0200] [Job 379] The following messages were recorded 
from 14:31:44 to 14:31:47
D [23/Jun/2010:14:31:47 +0200] [Job 379] Adding start banner page "none".
D [23/Jun/2010:14:31:47 +0200] [Job 379] Adding end banner page "none".
D [23/Jun/2010:14:31:47 +0200] [Job 379] File of type 
application/vnd.cups-banner queued by "root".
D [23/Jun/2010:14:31:47 +0200] [Job 379] hold_until=0
D [23/Jun/2010:14:31:47 +0200] [Job 379] Queued on "Pslsi3" by "root".
D [23/Jun/2010:14:31:47 +0200] [Job 379] job-sheets=none,none
D [23/Jun/2010:14:31:47 +0200] [Job 379] argv[0]="Pslsi3"
D [23/Jun/2010:14:31:47 +0200] [Job 379] argv[1]="379"
D [23/Jun/2010:14:31:47 +0200] [Job 379] argv[2]="root"
D [23/Jun/2010:14:31:47 +0200] [Job 379] argv[3]="Test Page"
D [23/Jun/2010:14:31:47 +0200] [Job 379] argv[4]="1"
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
argv[5]="job-uuid=urn:uuid:ad36efc2-7054-308f-6d08-d7bdfa47107b 
job-originating-host-name=localhost"
D [23/Jun/2010:14:31:47 +0200] [Job 379] argv[6]="/var/spool/cups/d00379-001"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[8]="HOME=/var/spool/cups/tmp"
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[10]="server_admin=r...@teseo"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[11]="SOFTWARE=CUPS/1.4.3"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[13]="TZ=Europe/Madrid"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[14]="USER=root"
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[17]="IPP_PORT=631"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[18]="CHARSET=utf-8"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[19]="LANG=es_ES.UTF-8"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[20]="PPD=/etc/cups/ppd/Pslsi3.ppd"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[21]="RIP_MAX_CACHE=518657k"
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
envp[22]="CONTENT_TYPE=application/vnd.cups-banner"
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
envp[23]="DEVICE_URI=socket://pslsi3.dlsi.uji.es"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[24]="PRINTER_INFO=Impresora 
láser (grises) del DLSI - 3"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[25]="PRINTER_LOCATION=Cuarto 
casilleros DLSI"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[26]="PRINTER=Pslsi3"
D [23/Jun/2010:14:31:47 +0200] [Job 379] envp[27]="CUPS_FILETYPE=document"
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
envp[28]="FINAL_CONTENT_TYPE=printer/Pslsi3"
D [23/Jun/2010:14:31:47 +0200] [Job 379] Started filter 
/usr/lib/cups/filter/bannertops (PID 15017)
D [23/Jun/2010:14:31:47 +0200] [Job 379] Started filter 
/usr/lib/cups/filter/pstopdf (PID 15018)
D [23/Jun/2010:14:31:47 +0200] [Job 379] Started filter 
/usr/lib/cups/filter/pdftopdf (PID 15019)
D [23/Jun/2010:14:31:47 +0200] [Job 379] Started filter 
/usr/lib/cups/filter/foomatic-rip-hplip (PID 15020)
D [23/Jun/2010:14:31:47 +0200] [Job 379] Started backend 
/usr/lib/cups/backend/socket (PID 15021)
D [23/Jun/2010:14:31:47 +0200] [Job 379] /usr/lib/cups/backend/socket: 
Permission denied
D [23/Jun/2010:14:31:47 +0200] [Job 379] pstopdf 5 args: 379 root Test Page 1 
job-uuid=urn:uuid:ad36efc2-7054-308f-6d08-d7bdfa47107b 
job-originating-host-name=localhost
D [23/Jun/2010:14:31:47 +0200] [Job 379] PPD: /etc/cups/ppd/Pslsi3.ppd
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
load_banner(filename="/var/spool/cups/d00379-001")
D [23/Jun/2010:14:31:47 +0200] [Job 379] Getting input from file 
D [23/Jun/2010:14:31:47 +0200] [Job 379] foomatic-rip version 4.0.1.208 
running...
D [23/Jun/2010:14:31:47 +0200] [Job 379] Parsing PPD file ...
D [23/Jun/2010:14:31:47 +0200] [Job 379] Added option Resolution
D [23/Jun/2010:14:31:47 +0200] [Job 379] Added option PageSize
D [23/Jun/2010:14:31:47 +0200] [Job 379] Added option Model
D [23/Jun/2010:14:31:47 +0200] [Job 379] Added option PrintoutMode
D [23/Jun/2010:14:31:47 +0200] [Job 379] Added option InputSlot
D [23/Jun/2010:14:31:47 +0200] [Job 379] Added option Duplex
D [23/Jun/2010:14:31:47 +0200] [Job 379] Added option Quality
D [23/Jun/2010:14:31:47 +0200] [Job 379] Added option ImageableArea
D [23/Jun/2010:14:31:47 +0200] [Job 379] Page = 595x842; 18,14 to 577,828
D [23/Jun/2010:14:31:47 +0200] [Job 379] Added option PaperDimension
D [23/Jun/2010:14:31:47 +0200] [Job 379] Added option Font
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
D [23/Jun/2010:14:31:47 +0200] [Job 379] Parameter Summary
D [23/Jun/2010:14:31:47 +0200] [Job 379] -----------------
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
D [23/Jun/2010:14:31:47 +0200] [Job 379] Spooler: cups
D [23/Jun/2010:14:31:47 +0200] [Job 379] Printer: Pslsi3
D [23/Jun/2010:14:31:47 +0200] [Job 379] Shell: /bin/bash
D [23/Jun/2010:14:31:47 +0200] [Job 379] PPD file: /etc/cups/ppd/Pslsi3.ppd
D [23/Jun/2010:14:31:47 +0200] [Job 379] ATTR file: 
D [23/Jun/2010:14:31:47 +0200] [Job 379] Printer model: HP LaserJet 9050 hpijs 
pcl3, 3.10.4.16
D [23/Jun/2010:14:31:47 +0200] [Job 379] Job title: Test Page
D [23/Jun/2010:14:31:47 +0200] [Job 379] File(s) to be printed:
D [23/Jun/2010:14:31:47 +0200] [Job 379] <STDIN>
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
D [23/Jun/2010:14:31:47 +0200] [Job 379] Ghostscript extra search path 
('GS_LIB'): /usr/share/cups/fonts
D [23/Jun/2010:14:31:47 +0200] [Job 379] Printing system options:
D [23/Jun/2010:14:31:47 +0200] [Job 379] Pondering option 
'job-uuid=urn:uuid:ad36efc2-7054-308f-6d08-d7bdfa47107b'
D [23/Jun/2010:14:31:47 +0200] [Job 379] Unknown option 
job-uuid=urn:uuid:ad36efc2-7054-308f-6d08-d7bdfa47107b.
D [23/Jun/2010:14:31:47 +0200] [Job 379] Pondering option 
'job-originating-host-name=localhost'
D [23/Jun/2010:14:31:47 +0200] [Job 379] Unknown option 
job-originating-host-name=localhost.
D [23/Jun/2010:14:31:47 +0200] [Job 379] Options from the PPD file:
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
================================================
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
D [23/Jun/2010:14:31:47 +0200] [Job 379] File: <STDIN>
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
================================================
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
D [23/Jun/2010:14:31:47 +0200] [Job 379] PNG image: 128x128x8, color_type=6 
(RGB+ALPHA)
D [23/Jun/2010:14:31:47 +0200] [Job 379] PNG image: 192x128x8, color_type=2 
(RGB)
D [23/Jun/2010:14:31:47 +0200] [Job 379] Resolution: 600
D [23/Jun/2010:14:31:47 +0200] [Job 379] Page size: A4
D [23/Jun/2010:14:31:47 +0200] [Job 379] Width: 595.00, height: 842.00, 
absolute margins: 18.00, 14.40, 577.00, 827.60
D [23/Jun/2010:14:31:47 +0200] [Job 379] Relative margins: 18.00, 14.40, 18.00, 
14.40
D [23/Jun/2010:14:31:47 +0200] [Job 379] PPD options: -r600 
-dDEVICEWIDTHPOINTS=595.00 -dDEVICEHEIGHTPOINTS=842.00
D [23/Jun/2010:14:31:47 +0200] [Job 379] PostScript to be injected: 
D [23/Jun/2010:14:31:47 +0200] [Job 379] Running cat | /usr/bin/ps2pdf13 
-dAutoRotatePages=/None -dAutoFilterColorImages=false                
-dNOPLATFONTS -dPARANOIDSAFER -sstdout=%stderr -dColorImageFilter=/FlateEncode  
               -dPDFSETTINGS=/printer -dUseCIEColor -dDoNumCopies -r600 
-dDEVICEWIDTHPOINTS=595.00 -dDEVICEHEIGHTPOINTS=842.00 - -
D [23/Jun/2010:14:31:47 +0200] [Job 379] Filetype: PDF
D [23/Jun/2010:14:31:47 +0200] [Job 379] Storing temporary files in 
/var/spool/cups/tmp
D [23/Jun/2010:14:31:47 +0200] [Job 379] File contains 1 pages
D [23/Jun/2010:14:31:47 +0200] [Job 379] Starting renderer with command: gs 
-dFirstPage=1  -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs 
-sIjsServer=hpijs -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 
-sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet" 
-dDuplex=false -r300 
-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7
 -dIjsUseOutputFD -sOutputFile=-   /var/spool/cups/tmp/foomatic-EzjDwc 
D [23/Jun/2010:14:31:47 +0200] [Job 379] Starting process "kid3" (generation 1)
D [23/Jun/2010:14:31:47 +0200] [Job 379] Starting process "kid4" (generation 2)
D [23/Jun/2010:14:31:47 +0200] [Job 379] Starting process "renderer" 
(generation 2)
D [23/Jun/2010:14:31:47 +0200] [Job 379] JCL: %-123...@pjl
D [23/Jun/2010:14:31:47 +0200] [Job 379] <job data> 
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
D [23/Jun/2010:14:31:47 +0200] [Job 379] GPL Ghostscript 8.71: Unrecoverable 
error, exit code 1
D [23/Jun/2010:14:31:47 +0200] [Job 379] renderer exited with status 1
D [23/Jun/2010:14:31:47 +0200] [Job 379] Possible error on renderer command 
line or PostScript error. Check options.Kid3 exit status: 3
D [23/Jun/2010:14:31:47 +0200] [Job 379] Backend returned status 22 (unknown)
D [23/Jun/2010:14:31:47 +0200] [Job 379] Printer stopped due to backend errors; 
please consult the error_log file for details.
D [23/Jun/2010:14:31:47 +0200] [Job 379] End of messages
D [23/Jun/2010:14:31:47 +0200] [Job 379] printer-state=5(stopped)
D [23/Jun/2010:14:31:47 +0200] [Job 379] 
printer-state-message="/usr/lib/cups/backend/socket failed"
D [23/Jun/2010:14:31:47 +0200] [Job 379] printer-state-reasons=paused

I have run as root:

teseo:~# gs -dFirstPage=1  -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE 
-sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 
-sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet" 
-dDuplex=false -r300 
-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7
 -dIjsUseOutputFD -sOutputFile=kk.ps /var/spool/cups/tmp/foomatic-EzjDwc

and when I've tried to open the file "kk.ps" with gv a popup error
window shows this message:


Error: /undefined in 
E&l7H&l26a8c0E*t600R&u600D&l0L&l48D&l8E&l6D*p0X&l0S&l0O&l1X*r1A*b2M*p0Y*b12WGPL
 Ghostscript 8.71: Unrecoverable error, exit code 1

Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop   
1877   1   3   %oparray_pop   1861   1   3   %oparray_pop   1755   1   3   
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1158/1684(ro)(G)--   --dict:0/20(G)--   --dict:70/200(L)--
Current allocation mode is local
Current file position is 247

I suspect something is going wrong with the PS generation in CUPS.

Thanks a lot in advance! Your time and effort are greatly appreciated.

Regards,

P.S.: I can attach file "kk.ps" if you want.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ghostscript-cups depends on:
ii  ghostscript             8.71~dfsg2-3     The GPL Ghostscript PostScript/PDF
ii  libc6                   2.11.1-3         Embedded GNU C Library: Shared lib
ii  libcups2                1.4.3-1          Common UNIX Printing System(tm) - 
ii  libcupsimage2           1.4.3-1          Common UNIX Printing System(tm) - 
ii  libgnutls26             2.8.6-1          the GNU TLS library - runtime libr
ii  libgssapi-krb5-2        1.8.1+dfsg-5     MIT Kerberos runtime libraries - k
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages ghostscript-cups recommends:
ii  cups                          1.4.3-1    Common UNIX Printing System(tm) - 
ii  cups-client                   1.4.3-1    Common UNIX Printing System(tm) - 

ghostscript-cups suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi Juan Carlos,

On Mon, Jul 05, 2010 at 03:18:32PM +0200, Juan Carlos Amengual Argudo wrote:
a) I think that this bug can be closed with the current status of debian testing.

Thanks for the feedback.  This email closes the bugreport.


b) Circumstances should be investigated as to make clear which library was responsible of the fault. I think that two serious candidates are libcups2 and libcupsimage2, both updated in my system today. I think that it's not a good thing that this bug could be reproduced due to a "misunderstanding" between ghostscript-cups and libcups2 or whatever dependence.

Others have reported permision problems to be the root cause of the problem, which I believe have also entered testing together with those CUPS packages you mention. So I suspect this is not a problem of broken library linkage tracking. If you feel that I miss the point somehow and there is still something wrong in the packaging - even if it does not cause actual problems at the moment - then please do file a separate bugreport and describe in more detail what you suspect to be wrong.


Kind regards,

 - Jonas

--
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to