Bug 85137 - [pdftocairo] Segfault in CairoOutputDev.cc:1629
Summary: [pdftocairo] Segfault in CairoOutputDev.cc:1629
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-17 13:27 UTC by MH
Modified: 2014-10-20 08:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
segfault-CairoOutputDev.cc:1629.pdf (126.23 KB, text/plain)
2014-10-17 13:27 UTC, MH
Details
fix crash (895 bytes, patch)
2014-10-19 11:08 UTC, Adrian Johnson
Details | Splinter Review

Description MH 2014-10-17 13:27:22 UTC
Created attachment 107986 [details]
segfault-CairoOutputDev.cc:1629.pdf

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

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

Reading symbols from /home/foobar/poppler/utils/.libs/lt-pdftocairo...done.
Starting program: /home/foobar/poppler/utils/.libs/lt-pdftocairo -svg segfault-CairoOutputDev.cc-1629-411-pdftocairofuzz-7.pdf /dev/null
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Invalid XRef entry
Syntax Warning: Bad ICCBased color space (stream)

Program received signal SIGSEGV, Segmentation fault.
0x000000000040ea71 in CairoOutputDev::setSoftMask (this=0x6528a0, state=<optimized out>, bbox=<optimized out>, alpha=false, transferFunc=0x0,
    backdropColor=0x7fffffffd900) at CairoOutputDev.cc:1629
1629          groupColorSpaceStack->cs->getRGB(backdropColor, &backdropColorRGB);
Comment 1 Adrian Johnson 2014-10-19 11:08:58 UTC
Created attachment 108057 [details] [review]
fix crash
Comment 2 Carlos Garcia Campos 2014-10-19 12:59:38 UTC
Comment on attachment 108057 [details] [review]
fix crash

Review of attachment 108057 [details] [review]:
-----------------------------------------------------------------

Please push it, thanks!
Comment 3 Adrian Johnson 2014-10-20 08:33:19 UTC
Pushed


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.