Bug 606870

Summary: [abrt] crash in poppler-utils-0.12.4-2.fc13: ActualText::~ActualText: Process /usr/bin/pdftotext was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Frank Ch. Eigler <fche>
Component: popplerAssignee: Marek Kašík <mkasik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: mkasik, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:4e61fb5026e52b01bc46665fee6d3bb561f580b1
Fixed In Version: poppler-0.12.4-3.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-11 07:28:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Frank Ch. Eigler 2010-06-22 16:14:19 UTC
abrt 1.1.1 detected a crash.

architecture: x86_64
Attached file: backtrace
cmdline: pdftotext /usr/share/doc/systemtap-1.2/langref.pdf
component: poppler
crash_function: ActualText::~ActualText
executable: /usr/bin/pdftotext
global_uuid: 4e61fb5026e52b01bc46665fee6d3bb561f580b1
kernel: 2.6.33.5-124.fc13.x86_64
package: poppler-utils-0.12.4-2.fc13
rating: 4
reason: Process /usr/bin/pdftotext was killed by signal 11 (SIGSEGV)
release: Fedora release 13 (Goddard)

How to reproduce
-----
1. find a pdf in a non-writeable directory
2. run pdftotext with the full path to that file
3. observe segv instead of -EPERM

Comment 1 Frank Ch. Eigler 2010-06-22 16:14:20 UTC
Created attachment 425994 [details]
File: backtrace

Comment 2 Marek Kašík 2010-06-29 14:08:27 UTC
Hi,

the problem here is that constructor of TextOutputDev class can return in middle of its execution without initialization of its member "actualText" (and member "text"), which is then used uninitialized.

Thank you for this report

Marek

Comment 3 Fedora Update System 2010-07-19 13:14:54 UTC
poppler-0.12.4-4.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/poppler-0.12.4-4.fc12

Comment 4 Fedora Update System 2010-07-19 13:15:49 UTC
poppler-0.12.4-5.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/poppler-0.12.4-5.fc13

Comment 5 Fedora Update System 2010-07-27 02:46:45 UTC
poppler-0.12.4-5.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2010-08-10 21:44:24 UTC
poppler-0.12.4-4.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.