Package: cups-pdf
Version: 2.4.2-3
Severity: critical
Tags: patch
Justification: breaks the whole system

Hi!

When printing certain files via cups-pdf, gs runs forever using all cpu
and slowly eating all memory. In consequence the system becomes
unresponsive after a few seconds and therefore unusable.
If you think this bug is not critical, please tell me, so I know better
next time.
A typical example in our environment would be a MS Excel user printing
to the cups-pdf printer using dim borderlines. If you'd like an example
.ps file I can provide one.
Actually this seems to be a bug in gs-esp, but since I managed to fix it
in cups-pdf, I file it against cups-pdf.

I could fix it by adding -c .setpdfwrite in the config:
GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER 
-sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage 
-dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode 
-dPDFSETTINGS=/prepress -c .setpdfwrite -f %s

I removed the -c save pop, since /usr/share/doc/gs-esp/Use.htm
[Improving Performance] suggests that it is not needed.

I don't really understand why this fix works and probably this has to be
fixed in gs, too. But the default of gs should be changed anyway as far
as I understand the -c .setpdfwrite option.
I don't think it is the same bug as #267423 since for me gs never
finishes.


Kind Regards, 

Christopher Zimmermann


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.20.5
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to