Evince needs 10 minutes to open certain PDFs
Submitted by Germán Poo-Caamaño
Assigned to poppler-bugs
Link to original bug (#106867)
Description
Created attachment 140102 PDF test case
As reported in https://gitlab.gnome.org/GNOME/evince/issues/745
-->snip<-- Opening PDFs scanned with my Brother Laser Printer is virtually impossible. The opening causes a 100% CPU spike on one core and does take forever.
The PDFs were generated in PDF/A by the Brother scanner unit. I have attached one for testing. I did not have this problem on Mac OSX, but Microsoft Edge seems slow on opening these files too. Chrome does process them with no mayor delay.
PDFs not from my scanner, like digital invoices I get regularly, do not produce any problem. -->snip<--
It is noticeable slower than Acroread, which is instant, and xpdf, which is almost instant.
$ time pdftoppm -png brother_001793.pdf out-ppm
real 0m9.454s user 0m9.404s sys 0m0.036s
$ time pdftocairo -png brother_001793.pdf out-cairo
real 0m34.103s user 0m33.884s sys 0m0.200s
Attachment 140102, "PDF test case":
brother_001793.pdf