[Poppler-bugs] [Bug 106781] New: poppler uses excessive memory for multipage pdf files created by Abbyy Fine Reader 14
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jun 2 09:02:21 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106781
Bug ID: 106781
Summary: poppler uses excessive memory for multipage pdf files
created by Abbyy Fine Reader 14
Product: poppler
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: general
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: adalbert.hanssen at gmx.de
Created attachment 139964
--> https://bugs.freedesktop.org/attachment.cgi?id=139964&action=edit
2 pages file created by AFR14, showing excessive memory and CPU usage
This error shows up in evince, xpdf, gimp 2.8 and okular, which all depend on
poppler. pdfinfo -f 1 also shows the syndrome for the same file:
q at q:~$ pdfinfo -f 1 "~/Test-AFR14_00-00_SW.tif_SW_2pages.pdf"
Creator: ABBYY FineReader 14
Producer: ABBYY FineReader 14
CreationDate: Mon Apr 30 06:53:01 2018
ModDate: Mon Apr 30 06:53:01 2018
Tagged: yes
UserProperties: no
Suspects: no
Form: none
JavaScript: no
Pages: 2
Encrypted: no
Page size: 499.9 x 260.9 pts
Page rot: 0
File size: 38356 bytes
Optimized: yes
PDF version: 1.5
q at q:~$ pdfinfo -f 1 "~/Test AFR9_2pages.pdf"
Producer: ABBYY FineReader 9.0 Professional Edition
CreationDate: Mon Apr 30 08:37:55 2018
ModDate: Mon Apr 30 08:37:55 2018
Tagged: no
UserProperties: no
Suspects: no
Form: none
JavaScript: no
Pages: 2
Encrypted: no
Page size: 841.7 x 595.45 pts
Page rot: 0
File size: 401539 bytes
Optimized: yes
PDF version: 1.4
q at q:~$
In the shown first case, pdfinfo shows an additional tag "Creator" and the pdf
version is different.
If a multipage pdf file created by Abbyy Fine Reader Version 14 (AFR14) is
read, memory and CPU usage rise very quickly. Even for a small two page pdf
file after a few seconds more than 3GB of memory are in use. CPU usage is also
very heavy. After some time, memory usage even increases and eventually the
computer gets stuck in swapping or even freezes. In happy cases, the file
finally can be displayed, however in other cases it can't.
Firefox can display files which show the nasty behaviour and so does
LibreOfficeDraw.
The excssive memory and CPU usage does not show up for pdf files created by
AFR14 with only a single page:
q at q:~$ pdfinfo -f 1 "~/AFR14_00-00_GR_singlepage.pdf"
Creator: ABBYY FineReader 14
Producer: ABBYY FineReader 14
CreationDate: Sun Apr 29 14:55:57 2018
ModDate: Sun Apr 29 14:55:57 2018
Tagged: yes
UserProperties: no
Suspects: no
Form: none
JavaScript: no
Pages: 1
Encrypted: no
Page size: 499.9 x 261.35 pts
Page rot: 0
File size: 30131 bytes
Optimized: no
PDF version: 1.5
q at q:~$
The error also does not show up for files created by AFR9.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180602/ef509265/attachment.html>
More information about the Poppler-bugs
mailing list