GNOME Bugzilla – Bug 577144
evince crashes when opening some pdf-files
Last modified: 2018-05-04 11:31:41 UTC
Steps to reproduce: 1. Download http://www.warperbbs.de/melting/readfile.php?file=andreas/detecting_and_preventing_anonymous_proxy_usage_32943 2. Open file with evince 3. crash Stack trace: Program received signal SIGSEGV, Segmentation fault.
+ Trace 213954
Thread 3054345104 (LWP 5987)
Other information: Reported on Launchpad: http://bugs.launchpad.net/bugs/348733
Created attachment 131606 [details] pdf which produces crash
poppler bug
It was already fixed in poppler, btw.
*** Bug 577677 has been marked as a duplicate of this bug. ***
Maybe this is the same error: Evince 3.18.2 claims excessive memeoy when opening a multipage file created with AbbyyFineReader14 (AFR14, under Windows). If Evince 3.18.2 (run under Xubuntu 16.04.4, it is the “oficial“ version distributed with Xubuntu 16.04.4 and I found no newer RPM-package for it) loads such a pdf file, after a few seconds, more than 3 GiB of RAM are in use. Then the memory consumption stays almost the stationary for some time to sharply rise again. Finally you may be caught in swapping memory and being almost unable to control the computer. In some cases, after many minutes of heavy CPU use, finally a result is shown. Memory consumption may be up to 6GiB for a two page grayscale pdf document and even for a two page BW-document! In such a case, after stopping Evince, all the memory is back again and the computer is operational as it was before. The same documents load quickly in Firefox 59.0.2 (64-Bit) and without excessive memory consumption. The syndrome does not show up, if Evince shall read a single page pdf document. But even if you add the same content into a single document (in AFR14) to make it a two page document, the result shows the syndrome. The syndrome does not show up with files made by AFR9. GIMP2.8 and LibreOffice (Draw) Build-ID: 1:5.1.6~rc2-0ubuntu1~xenial3 also suffer from the same illness for the same file. Do they all rely on the same libraries? If someone needs sample files to look into it, I can provide some. It even looks like Evince claims this excessive memory already when it is started from a command line and shows the „last opened“ view. I have seen an example when it claimed 3.3GiB and just showed the names of the last opened files with some default icons – maybe it was meant to show a preview of those files in the icons? After waiting some minutes, the icons were filled with previews and then Evince‘s memory consumption dropped down to 48,9 MB!
(In reply to Adalbert.Hanssen from comment #5) > Maybe this is the same error: Evince 3.18.2 claims excessive memeoy when > opening a multipage file created with AbbyyFineReader14 (AFR14, under > Windows). > If Evince 3.18.2 (run under Xubuntu 16.04.4, it is the “oficial“ version > distributed with Xubuntu 16.04.4 and I found no newer RPM-package for it) > loads such a pdf file, after a few seconds, more than 3 GiB of RAM are in > use. Then the memory consumption stays almost the stationary for some time > to sharply rise again. > Finally you may be caught in swapping memory and being almost unable to > control the computer. > In some cases, after many minutes of heavy CPU use, finally a result is > shown. Memory consumption may be up to 6GiB for a two page grayscale pdf > document and even for a two page BW-document! In such a case, after stopping > Evince, all the memory is back again and the computer is operational as it > was before. > The same documents load quickly in Firefox 59.0.2 (64-Bit) and without > excessive memory consumption. > The syndrome does not show up, if Evince shall read a single page pdf > document. But even if you add the same content into a single document (in > AFR14) to make it a two page document, the result shows the syndrome. > The syndrome does not show up with files made by AFR9. > GIMP2.8 and LibreOffice (Draw) Build-ID: 1:5.1.6~rc2-0ubuntu1~xenial3 also > suffer from the same illness for the same file. Do they all rely on the same > libraries? > If someone needs sample files to look into it, I can provide some. > It even looks like Evince claims this excessive memory already when it is > started from a command line and shows the „last opened“ view. I have seen an > example when it claimed 3.3GiB and just showed the names of the last opened > files with some default icons – maybe it was meant to show a preview of > those files in the icons? After waiting some minutes, the icons were filled > with previews and then Evince‘s memory consumption dropped down to 48,9 MB! Please, open a new bug, explain what is happening in the new bug and attach some sample files. From your comment, I think there is new information here, so we need a new bug. Thanks