FS#60823 - [poppler] evince crashes (coredump) when opening certain pdf files

Attached to Project: Arch Linux
Opened by Karen Eliot (kareliot) - Friday, 16 November 2018, 11:39 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 21 January 2019, 21:08 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

evince frequently crashes when opening certain pdf files.
I could not see any clear pattern for which kind of pdf files trigger the crash and coredump


Additional info:
* package version(s): evince 3.30.2-1
* config and/or log files:
coredump from systemd-journal is attached.


Steps to reproduce:
open a pdf file (but most files work fine)

I can provide additionl logs etc. Let me know what would be required.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 21 January 2019, 21:08 GMT
Reason for closing:  Fixed
Comment by Jonas Witschel (diabonas) - Friday, 16 November 2018, 14:04 GMT
I cannot find your attachment, but this might be the same problem I am experiencing in poppler 0.71.0 with PDF documents containing annotations. Downgrading poppler{,-glib,-qt5} to version 0.70.2 for testing purposes resolves the problem, so I filed a bug report upstream: https://gitlab.freedesktop.org/poppler/poppler/issues/670 This bug report also contains an example PDF document containing an annotation that triggers a crash of Evince.
Comment by Karen Eliot (kareliot) - Saturday, 17 November 2018, 19:09 GMT
Sorry, I must have forgotten to upload the log file.
But the bug filed upstream does indeed seem to be the same, as I get a similar error message when evince crashes.
Thank you for pointing that out.
The bug seems to have been fixed already, so I will test after updating poppler and will then request to close the bug report.
Comment by Jonas Witschel (diabonas) - Wednesday, 12 December 2018, 23:51 GMT
Poppler 0.72.0 has been released on 2018-12-06 that contains the aforementioned fix. I verified that the new version does not exhibit this crash anymore by locally building and installing an updated package.

To do this, I bumped the pkgver to 0.72.0 and the commit id for the "test" repository in the sources array from 0d2bfd4 to fcb27feed2e9a98ec0db3ab60aef4e010a9fdeb3 (otherwise the test suite fails). This resulted in a successful build that does not crash anymore.

As an aside, upstream provides PGP signatures for the source tarballs under the URL https://poppler.freedesktop.org/${pkgbase}-${pkgver}.tar.xz.sig that could be used for integrity verification. They are signed by Albert Astals Cid using a key with the fingerprint CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7, see https://poppler.freedesktop.org/

Loading...