Bug 51655 - PDFtoPS freezes when certain PDF files are printed from evince to cups
Summary: PDFtoPS freezes when certain PDF files are printed from evince to cups
Status: RESOLVED WORKSFORME
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-02 09:05 UTC by Harald Linden
Modified: 2012-07-03 09:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Attachment as described, Part1 (2.00 MB, application/octet-stream)
2012-07-02 09:10 UTC, Harald Linden
Details
Attachment as described, Part2 (2.00 MB, application/octet-stream)
2012-07-02 09:10 UTC, Harald Linden
Details
Attachment as described, Part3 (2.00 MB, application/octet-stream)
2012-07-02 09:10 UTC, Harald Linden
Details
Attachment as described, Part4 (1.84 KB, application/octet-stream)
2012-07-02 09:11 UTC, Harald Linden
Details

Description Harald Linden 2012-07-02 09:05:51 UTC
When I print some PDF files from evince 2.32 to a printer in CUPS 1.5.2 that uses PDFtoPS to process the PDF, PDFtoPS uses 100% CPU and does nothing else. When I convert the original PDF, it works fine. When I convert the one I've pulled from the spool directory of cups, it freezes. Tested using poppler-0.18 and 0.20 on Gentoo. See both files, the original and the one that breaks PDFtoPS in the attachment.
Comment 1 Harald Linden 2012-07-02 09:10:10 UTC
Created attachment 63705 [details]
Attachment as described, Part1
Comment 2 Harald Linden 2012-07-02 09:10:36 UTC
Created attachment 63706 [details]
Attachment as described, Part2
Comment 3 Harald Linden 2012-07-02 09:10:55 UTC
Created attachment 63708 [details]
Attachment as described, Part3
Comment 4 Harald Linden 2012-07-02 09:11:14 UTC
Created attachment 63709 [details]
Attachment as described, Part4
Comment 5 Adrian Johnson 2012-07-03 06:24:34 UTC
I'm not sure if it is frozen or very slow. The problem is page 6 in the broken pdf. Acroread renders this page extremely slowly. So it looks like a problem with the pdf generated by cairo 1.10.2. I tried generating the pdf from the original using cairo 1.12.2. The output was 1/3 of the size and pdftops was able to convert it to ps in a few seconds.
Comment 6 Harald Linden 2012-07-03 07:40:38 UTC
I've just tried upgrading to cairo 1.12.2 but the build fails at the moment. I'll get back to this bug as soon as I can test it.
Comment 7 Harald Linden 2012-07-03 09:52:16 UTC
Alright, I managed to build and install Cairo 0.12.2 after all and the problem seems to have gone away. Thanks Adrian for the quick resolution!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.