<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - poppler uses excessive memory for multipage pdf files created by Abbyy Fine Reader 14"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106781">106781</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>poppler uses excessive memory for multipage pdf files created by Abbyy Fine Reader 14
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>adalbert.hanssen@gmx.de
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=139964" name="attach_139964" title="2 pages file created by AFR14, showing excessive memory and CPU usage">attachment 139964</a> <a href="attachment.cgi?id=139964&action=edit" title="2 pages file created by AFR14, showing excessive memory and CPU usage">[details]</a></span>
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@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@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@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@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@q:~$
The error also does not show up for files created by AFR9.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>