Bug 85244 - [pdftops] Segfault in PSOutputDev.cc:3576
Summary: [pdftops] Segfault in PSOutputDev.cc:3576
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: utils (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-20 14:51 UTC by MH
Modified: 2015-02-03 10:00 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
segfault-PSOutputDev.cc:3576.pdf (60.68 KB, application/pdf)
2014-10-20 14:51 UTC, MH
Details
85-unfuzzed.pdf (60.68 KB, application/pdf)
2014-10-21 13:46 UTC, MH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MH 2014-10-20 14:51:25 UTC
Created attachment 108120 [details]
segfault-PSOutputDev.cc:3576.pdf

OS: Fedora 20 (running in virtualbox)
Dependencies installed with: yum-builddep poppler
Version: GIT Master
Command line: master/utils/pdftops <attached.pdf> /dev/null

###############################################################################
GDB output:

Reading symbols from /home/foobar/poppler/utils/.libs/lt-pdftops...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Syntax Error: Top-level pages object is wrong type (null)
Syntax Warning: Object (1 65535) is not a pageDict
Syntax Warning: Failed parsing page 2 using hint tables
Syntax Error: Top-level pages object is wrong type (null)
Syntax Error: Failed writing resources for page 2
Syntax Warning: Object (3 0) is not a pageDict
Syntax Warning: Failed parsing page 3 using hint tables
Syntax Error: Top-level pages object is wrong type (null)
Syntax Error: Failed writing resources for page 3
Syntax Warning: Object (5 0) is not a pageDict
Syntax Warning: Failed parsing page 4 using hint tables
Syntax Error: Top-level pages object is wrong type (null)
Syntax Error: Failed writing resources for page 4
Syntax Error: Top-level pages object is wrong type (null)
Syntax Error: Top-level pages object is wrong type (null)

Program received signal SIGSEGV, Segmentation fault.
PSOutputDev::startPage (this=0x642ff0, pageNum=1, state=0x645400, xrefA=<optimized out>) at PSOutputDev.cc:3576
3576      Page *page;
Comment 1 MH 2014-10-21 13:46:12 UTC
Created attachment 108182 [details]
85-unfuzzed.pdf

Attached unfuzzed file as per request.
Comment 2 Albert Astals Cid 2015-01-08 16:58:06 UTC
I don't get any segmentation fault with current master. Plese try again and if you can still reproduce ost the whole backtrace, not just the last line


bug/show.html.tmpl processed on Mar 24, 2017 at 10:10:01.
(provided by the Example extension).