epdfview crashed with SIGSEGV in __strlen_sse42()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
epdfview (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Natty |
Fix Released
|
Medium
|
Marcel Stimberg |
Bug Description
Binary package hint: epdfview
Split off from bug 669211.
In Ubuntu 11.04, many PDFs cause epdfview to crash on startup.
The attached crash is for the document referenced in the above bug (http://
This bug has a severe impact as it makes epdfview completely unusable for many PDF documents. The linked branch contains backported changes from upstream rev 357 and rev 359, additional the "cosmetic" patch from rev 336 was also necessary in order for the other two patches to apply cleanly.
TEST CASE:
Open the file http://
Without fix: epdfview crashes during the start
With fix: epdfview opens and displays the file
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: epdfview 0.1.7-5ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-9-generic x86_64
Architecture: amd64
CheckboxSubmission: 476acdb7217a833
CheckboxSystem: daed2f3d6643b4a
Date: Sun May 15 19:13:26 2011
ExecutablePath: /usr/bin/epdfview
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100114)
ProcCmdline: epdfview 1-EBRPD_
ProcEnviron:
SHELL=/bin/bash
LANG=de_DE.UTF-8
LANGUAGE=
SegvAnalysis:
Segfault happened at: 0x7fd0fb3ee49f <__strlen_
PC (0x7fd0fb3ee49f) ok
source "(%rdi)" (0x00000000) not located in a known VMA region (needed readable region)!
destination "%xmm1" ok
Stack memory exhausted (SP below stack segment)
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: epdfview
StacktraceTop:
__strlen_sse42 () at ../sysdeps/
g_strdup (str=0x1 <Address 0x1 out of bounds>) at /build/
?? ()
?? ()
?? ()
Title: epdfview crashed with SIGSEGV in __strlen_sse42()
UpgradeStatus: Upgraded to natty on 2011-03-27 (48 days ago)
UserGroups: adm admin audio cdrom dialout fuse lpadmin netdev plugdev sambashare video
Related branches
- Stefano Rivera: Approve
- Chris Coulson (community): Needs Fixing
- Ubuntu branches: Pending requested
-
Diff: 592 lines (+340/-33)9 files modified.pc/applied-patches (+1/-0)
THANKS (+2/-0)
configure.ac (+5/-0)
debian/changelog (+8/-0)
debian/patches/series (+1/-0)
debian/patches/ubuntu_poppler-0.16.patch (+276/-0)
src/IDocument.cxx (+35/-33)
src/IDocument.h (+8/-0)
src/PDFDocument.cxx (+4/-0)
visibility: | private → public |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
Actually, Dennis Sheil mentioned the problem in his blog quite a while ago[1]. Apparently the problem is the break in the poppler API introduced in this commit: cgit.freedeskto p.org/poppler/ poppler/ commit/ ?id=d4a6c172558 21925906c17b79b 88eebed9edfee1 trac.emma- soft.com/ epdfview/ changeset/ 357
http://
He also submitted a patch that was applied to epdfview:
http://
There hasn't been any release since. Debian is not affected BTW, because they are still shipping the old poppler version. However, there is already a bug report[2] for applying the necessary changes to epdfview (according to this bug report not only r357 but also r354 and r359).
[1] http:// www.vartmp. com/blog/ 2010/10/ 30#20101030 bugs.debian. org/cgi- bin/bugreport. cgi?bug= 618814
[2] http://