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 756515 - crash (SIGSEGV) when downloading the DebConf15 sponsor brochure
crash (SIGSEGV) when downloading the DebConf15 sponsor brochure
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: PDF
3.18.x
Other All
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-13 16:38 UTC by Paul Wise
Modified: 2018-05-22 16:21 UTC
See Also:
GNOME target: ---
GNOME version: 3.17/3.18


Attachments
gdb backtrace of the crash (48.99 KB, text/plain)
2015-10-13 16:38 UTC, Paul Wise
Details

Description Paul Wise 2015-10-13 16:38:00 UTC
Created attachment 313207 [details]
gdb backtrace of the crash

I get a crash (SIGSEGV) when downloading the DebConf15 sponsor brochure. This doesn't happen when I download the brochure with wget and then open it in evince. I am using evince 3.18.0-1 and poppler 0.26.5-4 on Debian stretch.
Comment 1 Germán Poo-Caamaño 2015-10-15 15:28:13 UTC
Pasting the backtrace inline:

pabs@chianamo ~ $ wget -q http://media.debconf.org/dc15/fundraising/debconf15_sponsorship_brochure.pdf
pabs@chianamo ~ $ evince debconf15_sponsorship_brochure.pdf

(evince:25189): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -69 and height 36
pabs@chianamo ~ $ rm -f debconf15_sponsorship_brochure.pdf 
pabs@chianamo ~ $ gdb -batch -n -ex 'set height 0' -ex run -ex bt -ex 'thread apply all bt full' --args evince http://media.debconf.org/dc15/fundraising/debconf15_sponsorship_brochure.pdf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffed142700 (LWP 25248)]
[New Thread 0x7fffec941700 (LWP 25249)]
[New Thread 0x7fffeb0c5700 (LWP 25250)]
[New Thread 0x7fffea660700 (LWP 25256)]
[New Thread 0x7fffe9759700 (LWP 25259)]
[Thread 0x7fffe9759700 (LWP 25259) exited]
[New Thread 0x7fffe9759700 (LWP 25260)]
[New Thread 0x7fffe5125700 (LWP 25262)]

(evince:25244): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkWidget'

(evince:25244): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

Program received signal SIGSEGV, Segmentation fault.
g_type_check_instance (type_instance=type_instance@entry=0x555555e18310) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gtype.c:4134
4134	/build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gtype.c: No such file or directory.

Thread 1 (Thread 0x7ffff7f27a00 (LWP 25244))

  • #0 g_type_check_instance
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gtype.c line 4134
  • #1 g_signal_handler_disconnect
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gsignal.c line 2620
  • #2 ev_page_action_widget_set_document
    at ev-page-action-widget.c line 265
  • #6 <emit signal notify:document on instance 0x55555596c860 [EvDocumentModel]>
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gsignal.c line 3439
  • #7 g_object_dispatch_properties_changed
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gobject.c line 1061
  • #8 g_object_notify
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gobject.c line 1154
  • #9 g_object_notify
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gobject.c line 1202
  • #10 ev_document_model_set_document
    at ev-document-model.c line 381
  • #11 ev_window_load_job_cb
    at ev-window.c line 1726
  • #12 _g_closure_invoke_va
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gclosure.c line 864
  • #13 g_signal_emit_valist
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gsignal.c line 3292
  • #14 g_signal_emit
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gsignal.c line 3439
  • #15 emit_finished
    at ev-jobs.c line 181
  • #16 g_main_context_dispatch
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./glib/gmain.c line 3154
  • #17 g_main_context_dispatch
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./glib/gmain.c line 3769
  • #18 g_main_context_iterate
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./glib/gmain.c line 3840
  • #19 g_main_context_iteration
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./glib/gmain.c line 3901
  • #20 g_application_run
    at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gio/gapplication.c line 2311
  • #21 main
    at main.c line 316

Comment 2 Germán Poo-Caamaño 2015-10-16 15:56:00 UTC
With Evince master from today f93a84c015a53f I do not get segfault anymore.

However, it does not load the document because:

** (evince:16819): WARNING **: DBus error org.freedesktop.DBus.Error.UnknownMethod: No such method 'lookupMount'
Comment 3 GNOME Infrastructure Team 2018-05-22 16:21:54 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/628.