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 603934 - Evince crashes while trying to open a specific PDF file
Evince crashes while trying to open a specific PDF file
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-12-06 23:24 UTC by mathieu.marquer
Modified: 2009-12-09 21:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Faulty PDF file (244.27 KB, application/pdf)
2009-12-06 23:24 UTC, mathieu.marquer
Details
Backtrace (10.67 KB, text/plain)
2009-12-06 23:24 UTC, mathieu.marquer
Details

Description mathieu.marquer 2009-12-06 23:24:03 UTC
Created attachment 149216 [details]
Faulty PDF file

Trying to open the attached PDF file, evince immediately crashes with a segfault. Tested on two computers with Ubuntu 9.10, one with 32 bits version, the other with 64 bits version. Acroread opens the file normally.

ProblemType: Bug
Architecture: i386
Date: Sat Dec 5 14:12:24 2009
DistroRelease: Ubuntu 9.10
Package: evince 2.28.1-0ubuntu1.2 [modified: usr/bin/evince usr/bin/evince-thumbnailer usr/bin/evince-previewer]
ProcEnviron:
 SHELL=/bin/bash
 LANG=fr_FR.UTF-8
ProcVersionSignature: Error: [Errno 2] Aucun fichier ou dossier de ce type: '/proc/version_signature'
SourcePackage: evince
Uname: Linux 2.6.32-020632-generic i686

Bug also reported on https://bugs.launchpad.net/ubuntu/+source/evince/+bug/492835
Comment 1 mathieu.marquer 2009-12-06 23:24:28 UTC
Created attachment 149217 [details]
Backtrace
Comment 2 Emmanuel Fleury 2009-12-08 08:34:53 UTC
Confirmed in Evince 2.29.3 (git master).

The test case is good and I give also a stack trace here.

Mathieu, just for you to know for next time, just paste the stack trace inside the message, so that Bugzilla can keep track of it. If you attach it separately it won't.

Distribution: Debian squeeze/sid
Gnome Release: 2.28.0 2009-11-21 (Debian)
BugBuddy Version: 2.28.0

System: Linux 2.6.31.5 #4 SMP Thu Nov 26 17:44:31 CET 2009 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10605000
Selinux: No
Accessibility: Enabled
GTK+ Theme: Clearlooks
Icon Theme: gnome
GTK+ Modules: gnomebreakpad, gail:atk-bridge

Memory status: size: 67121152 vsize: 67121152 resident: 17936384 share: 12935168 rss: 17936384 rss_rlim: 18446744073709551615
CPU usage: start_time: 1260261125 rtime: 33 utime: 30 stime: 3 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/home/fleury/Development/teaching/EMC09/rootdir/bin/evince'

[Thread debugging using libthread_db enabled]
[New Thread 0xb43bfb70 (LWP 5746)]
[New Thread 0xb5672b70 (LWP 5744)]
0xb6a69b3d in *__GI___poll (fds=0x9330918, nfds=12, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:87
	in ../sysdeps/unix/sysv/linux/poll.c

Thread 3 (Thread 0xb5672b70 (LWP 5744))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 IA__g_spawn_sync
    at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gspawn.c line 386
  • #2 IA__g_spawn_command_line_sync
    at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gspawn.c line 700
  • #3 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #4 <signal handler called>
  • #5 TextWord
    at TextOutputDev.cc line 236
  • #6 TextPage::beginWord
    at TextOutputDev.cc line 1991
  • #7 TextPage::addChar
    at TextOutputDev.cc line 2090
  • #8 ActualText::endMC
    at TextOutputDev.cc line 4603
  • #9 CairoOutputDev::endMarkedContent
    at CairoOutputDev.cc line 1050
  • #10 Gfx::opEndMarkedContent
    at Gfx.cc line 4525
  • #11 Gfx::execOp
    at Gfx.cc line 799
  • #12 Gfx::go
    at Gfx.cc line 670
  • #13 Gfx::display
    at Gfx.cc line 639
  • #14 Page::displaySlice
    at Page.cc line 474
  • #15 _poppler_page_render
    at poppler-page.cc line 560
  • #16 poppler_page_render
    at poppler-page.cc line 586
  • #17 pdf_page_render
    at ev-poppler.cc line 402
  • #18 pdf_document_render
    at ev-poppler.cc line 452
  • #19 ev_document_render
    at ev-document.c line 439
  • #20 ev_job_render_run
    at ev-jobs.c line 523
  • #21 ev_job_run
    at ev-jobs.c line 213
  • #22 ev_job_thread
    at ev-job-scheduler.c line 183
  • #23 ev_job_thread_proxy
    at ev-job-scheduler.c line 213
  • #24 g_thread_create_proxy
    at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gthread.c line 635
  • #25 start_thread
    at pthread_create.c line 300
  • #26 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130

	Inferior 1 [process 5743] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]


----------- .xsession-errors (576 sec old) ---------------------
 *** Gnome Registry Session: yes.
 *** Gnome Registry Session: yes.
 *** Gnome Registry Session: yes.
 *** Gnome Registry Session: yes.
(firefox-bin:22142): GLib-WARNING **: g_set_prgname() called multiple times
(nautilus:2640): Nautilus-GDU-WARNING **: unable to query info: The specified location is not supported
(xchat-gnome:22174): Gtk-WARNING **: Ran out of links
(xchat-gnome:22174): Gtk-WARNING **: Ran out of links
(xchat-gnome:22174): Gtk-WARNING **: Ran out of links
--------------------------------------------------
Comment 3 Carlos Garcia Campos 2009-12-09 21:05:25 UTC
It's a poppler crash, I've just fixed it in poppler git (poppler-0.12 branch, there's a problem with the git repo in freedesktop, I'll push to master as soon as it's fixed)

Thanks for reporting.