[Pkg-cups-devel] Bug#510857: More information

Margarita Manterola margamanterola at gmail.com
Mon Feb 2 18:44:01 UTC 2009


Hi!

By adding:

echo $bindir/gs $gsopts -sOUTPUTFILE="%stdout" -c"$profile" "$ifile" >
/tmp/pstoraster.log
tee /tmp/pstoraster.ps | exec $bindir/gs $gsopts
-sOUTPUTFILE="%stdout" -c"$profile" "$ifile"

To the pstoraster file, I was able to get both the command line and
the postscript file that generate the problem.  This is the command
line, and I'm attaching the postscript file:

/usr/bin/gs -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH
-dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c
-_

I tried changing -sDEVICE=cups with -sDEVICE=pswrite and it worked
fine, so the problem seems to be in the cups device in ghostscript.

Just before failing, it prints:

./CIDFnmap 280 2634848 988725 5135900 3805810 true 1152 4 <1>
/usr/share/ghostscript/8.63/lib/CIDFnmap 280 2634848 991074 5135900
3805810 true 1152 4 <1>
/usr/share/ghostscript/8.63/Resource/CIDFnmap 280 2634848 993428
5135900 3805810 true 1152 4 <1>
/usr/share/ghostscript/fonts/CIDFnmap 280 2634848 995774 5135900
3805810 true 1152 4 <1>
/var/lib/defoma/gs.d/dirs/fonts/CIDFnmap 280 2634848 998123 5135900
3805810 true 1152 4 <1>
/usr/share/cups/fonts/CIDFnmap 280 2634848 1000462 5135900 3805810
true 1152 4 <1>
/usr/share/ghostscript/fonts/CIDFnmap 280 2634848 1002808 5135900
3805810 true 1152 4 <1>
/usr/local/lib/ghostscript/fonts/CIDFnmap 280 2634848 1005158 5135900
3805810 true 1152 4 <1>
/usr/share/fonts/CIDFnmap 280 2634848 1007492 5135900 3805810 true 1152 4 <1>
runEPS: Not DSC
DEBUG2: cups_get_params(0x9489464, 0xbfb2b21c)
DEBUG2: before gdev_prn_get_params()
DEBUG2: after gdev_prn_get_params()
DEBUG2: Leaving cups_get_params()
DEBUG2: cups_get_params(0x9489464, 0xbfb2b21c)
DEBUG2: before gdev_prn_get_params()
DEBUG2: after gdev_prn_get_params()
DEBUG2: Leaving cups_get_params()
Error: /undefined in pstoraster.ps
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push
.runexec2   --nostringval--   --nostringval--   --nostringval-- 2
%stopped_push   --nostringval--
Dictionary stack:
   --dict:1152/1684(ro)(G)--   --dict:0/20(G)--   --dict:92/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.63: Unrecoverable error, exit code 1
DEBUG2: cups_close(0x9489464)

I hope this helps fixing the problem.

-- 
Besos,
Marga
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pstoraster.ps
Type: application/postscript
Size: 159124 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20090202/c30307c2/attachment-0001.ps 


More information about the Pkg-cups-devel mailing list