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 739315 - Crashed while opening PDF document
Crashed while opening PDF document
Status: RESOLVED DUPLICATE of bug 738846
Product: evince
Classification: Core
Component: PDF
3.14.x
Other Linux
: Normal critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-28 18:56 UTC by info.kalsan
Modified: 2014-10-29 16:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The PDF that makes evince crash. NOTE: I have the explicit permission of the author, Prof. J. Hromkovic, to share this file in this bug report. (250.12 KB, application/pdf)
2014-10-28 19:01 UTC, info.kalsan
Details

Description info.kalsan 2014-10-28 18:56:38 UTC
The attached PDF leads to segfault of evince when scrolling down to page 138. qpdfview renders it with no problems.
Running XFCE on Arch Linux.
Comment 1 info.kalsan 2014-10-28 19:01:19 UTC
Created attachment 289537 [details]
The PDF that makes evince crash. NOTE: I have the explicit permission of the author, Prof. J. Hromkovic, to share this file in this bug report.

I used pdfshuffler to cut the pdf to around the problematic part only.
Comment 2 André Klapper 2014-10-28 20:18:30 UTC
No problems here with evince-3.10.3-1.fc20.i686 and poppler-0.24.3-3.fc20.i686
Comment 3 Germán Poo-Caamaño 2014-10-28 20:23:34 UTC
Thanks for the bug report. Unfortunately it lacks some information that may help us in finding the cause of the bug. This may be a Poppler Bug (the backend used by Evince to render PDF), could you please supply the poppler version and type? You can find it in the Help->About menu in Evince.

Also, may you get a backtrace?
https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces

We have seen some reports coming from Arch Linux users, I would like to check whether is the same bug that Bug 738846 or a different one.
Comment 4 info.kalsan 2014-10-29 07:35:56 UTC
Evince version: 3.14.1
top-left -> Info does not show anything about poppler. yaourt says: extra/poppler 0.26.5-1
GDB backtrace:

$ gdb evince
GNU gdb (GDB) 7.8
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from evince...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/evince 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

(evince:1596): Gtk-WARNING **: Error setting gtk-xft-antialias in /home/user/.config/gtk-3.0/settings.ini: Die Schlüsselwertedatei enthält den Schlüssel »gtk-xft-antialias« in der Gruppe »Settings« mit einem Wert, der nicht interpretiert werden konnte.

(evince:1596): Gtk-WARNING **: Error setting gtk-xft-hinting in /home/user/.config/gtk-3.0/settings.ini: Die Schlüsselwertedatei enthält den Schlüssel »gtk-xft-hinting« in der Gruppe »Settings« mit einem Wert, der nicht interpretiert werden konnte.
[New Thread 0x7fffeaefc700 (LWP 1600)]
[New Thread 0x7fffea6fb700 (LWP 1601)]
[New Thread 0x7fffe9efa700 (LWP 1602)]
[New Thread 0x7fffe9436700 (LWP 1603)]
[New Thread 0x7fffe8a95700 (LWP 1604)]
[New Thread 0x7fffd36e4700 (LWP 1605)]
[New Thread 0x7fffd2ee3700 (LWP 1606)]
[New Thread 0x7fffd26e2700 (LWP 1607)]
[New Thread 0x7fffd1ee1700 (LWP 1608)]
[New Thread 0x7fffd16e0700 (LWP 1609)]
[New Thread 0x7fffd0edf700 (LWP 1610)]
[New Thread 0x7fffbbfff700 (LWP 1611)]
[New Thread 0x7fffbb7fe700 (LWP 1612)]

(evince:1596): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
[Thread 0x7fffd36e4700 (LWP 1605) exited]
[Thread 0x7fffd16e0700 (LWP 1609) exited]
[Thread 0x7fffea6fb700 (LWP 1601) exited]
[Thread 0x7fffbb7fe700 (LWP 1612) exited]
[Thread 0x7fffd0edf700 (LWP 1610) exited]
[Thread 0x7fffd26e2700 (LWP 1607) exited]
[Thread 0x7fffd2ee3700 (LWP 1606) exited]
[Thread 0x7fffbbfff700 (LWP 1611) exited]
[Thread 0x7fffe8a95700 (LWP 1604) exited]
[New Thread 0x7fffe8a95700 (LWP 1616)]
[New Thread 0x7fffbbfff700 (LWP 1617)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe8a95700 (LWP 1616)]
0x00007ffff5fdaf50 in ?? () from /usr/lib/libcairo.so.2
(gdb) thread apply all bt

Thread 16 (Thread 0x7fffbbfff700 (LWP 1617))

  • #0 syscall
    from /usr/lib/libc.so.6
  • #1 g_cond_wait_until
    from /usr/lib/libglib-2.0.so.0
  • #2 ??
    from /usr/lib/libglib-2.0.so.0
  • #3 ??
    from /usr/lib/libglib-2.0.so.0
  • #4 ??
    from /usr/lib/libglib-2.0.so.0
  • #5 start_thread
    from /usr/lib/libpthread.so.0
  • #6 clone
    from /usr/lib/libc.so.6

Thread 10 (Thread 0x7fffd1ee1700 (LWP 1608))

  • #0 syscall
    from /usr/lib/libc.so.6
  • #1 g_cond_wait_until
    from /usr/lib/libglib-2.0.so.0
  • #2 ??
    from /usr/lib/libglib-2.0.so.0
  • #3 ??
    from /usr/lib/libglib-2.0.so.0
  • #4 ??
    from /usr/lib/libglib-2.0.so.0
  • #5 start_thread
    from /usr/lib/libpthread.so.0
  • #6 clone
    from /usr/lib/libc.so.6

Comment 5 André Klapper 2014-10-29 14:02:21 UTC
Please install debug packages for cairo, poppler, evince and (lib)glib2. Afterwards, please attach the stacktrace again here.
Comment 6 info.kalsan 2014-10-29 15:38:26 UTC
Sorry, I don't know how to apply https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces#General , e.g. to poppler.
How do I correctly install the dbg packages in Arch?
Comment 7 Germán Poo-Caamaño 2014-10-29 16:38:43 UTC
Although there are missing symbols in cairo, for the parts related to poppler:

  • #10 cairo_stroke
    from /usr/lib/libcairo.so.2
  • #11 CairoOutputDev::stroke(GfxState*)
  • #12 Gfx::opStroke(Object*, int)
    from /usr/lib/libpoppler.so.46
  • #13 Gfx::go(bool)
    from /usr/lib/libpoppler.so.46
  • #14 Gfx::display(Object*, bool)
    from /usr/lib/libpoppler.so.46
  • #15 Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool)
    from /usr/lib/libpoppler.so.46
  • #16 ??
    from /usr/lib/libpoppler-glib.so.8
  • #17 ??

It is a duplicated of Bug 738846 (something that Arch Linux users have been experiencing).  It is either a bug in cairo or poppler, but not Evince.

Thanks for the bug report.

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