After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 761380 - Evince crashes on a PDF file (which can be opened by some other viewer)
Evince crashes on a PDF file (which can be opened by some other viewer)
Status: RESOLVED DUPLICATE of bug 697471
Product: evince
Classification: Core
Component: general
3.16.x
Other Linux
: Normal major
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-01 00:06 UTC by Tomasz Kuchta
Modified: 2016-02-24 20:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The file that causes the crash (69.43 KB, application/pdf)
2016-02-01 00:06 UTC, Tomasz Kuchta
Details

Description Tomasz Kuchta 2016-02-01 00:06:53 UTC
Created attachment 320163 [details]
The file that causes the crash

Evince crashes (segmentation fault) on a PDF file "506789.pdf".
The file can be opened with MuPDF and Xpdf without a crash.

The file comes from Govdocs data set: http://digitalcorpora.org/corpora/govdocs
and is a part of this archive: http://digitalcorpora.org/corp/files/govdocs1/zipfiles/506.zip

The version of Evince I've checked that on is 3.16.1 under Ubuntu 15.10.

I would be grateful if you could confirm the problem. 
Thank you.
Comment 1 Germán Poo-Caamaño 2016-02-24 20:35:22 UTC
It crashed on Cairo:

(gdb) r -png 506789.pdf
Starting program: /home/gpoo/code/evince/install/bin/pdftocairo -png 506789.pdf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff73c14b1 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
(gdb) thread apply all bt

Thread 1 (Thread 0x7ffff7fbf8c0 (LWP 26902))

  • #0 ??
    from /usr/lib/x86_64-linux-gnu/libcairo.so.2
  • #1 cairo_set_dash
    from /usr/lib/x86_64-linux-gnu/libcairo.so.2
  • #2 CairoOutputDev::fillToStrokePathClip
    at CairoOutputDev.cc line 1307
  • #3 CairoOutputDev::tilingPatternFill
    at CairoOutputDev.cc line 925
  • #4 Gfx::doTilingPatternFill
    at Gfx.cc line 2280
  • #5 Gfx::opCloseEOFillStroke
    at Gfx.cc line 1991
  • #6 Gfx::go
    at Gfx.cc line 763
  • #7 Gfx::display
    at Gfx.cc line 729
  • #8 Page::displaySlice
    at Page.cc line 599
  • #9 PDFDoc::displayPageSlice
    at PDFDoc.cc line 504
  • #10 renderPage
    at pdftocairo.cc line 627
  • #11 main
    at pdftocairo.cc line 1146

Comment 2 Germán Poo-Caamaño 2016-02-24 20:37:37 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 697471 ***