Crash on DnD
Fedora Rawhide, Evince 3.32.0
Evince regularly crashes for me. Steps to reproduce it:
- Open a document of you choice
- Select something
- Start dragging the selected text
- Drop it on the selected area (the area selected in 2.)
- Evince crashes
That is my backtrace:
PID: 12592 (evince)
UID: 1000 (bjoern)
GID: 1000 (bjoern)
Signal: 6 (ABRT)
Timestamp: Fri 2019-09-06 14:13:51 CEST (18s ago)
Command Line: evince /home/bjoern/.local/share/geary/goa_account_1564337424_0/attachments/1180/456/Order_DE_HSB_DHSA_701643108_2019-09-06.pdf
Executable: /usr/bin/evince
Control Group: /user.slice/user-1000.slice/user@1000.service/gnome\x2dsession\x2dmanager.slice/gnome-session-manager@gnome.service
Unit: user@1000.service
User Unit: gnome-session-manager@gnome.service
Slice: user-1000.slice
Owner UID: 1000 (bjoern)
Boot ID: cdf7f7fca7b64dafb5ec6dbe5012102c
Machine ID: 32e7c023a79043fe93cf61b18871b289
Hostname: xps-9370
Storage: /var/lib/systemd/coredump/core.evince.1000.cdf7f7fca7b64dafb5ec6dbe5012102c.12592.1567772031000000000000.lz4
Message: Process 12592 (evince) of user 1000 dumped core.
Stack trace of thread 12592:
#0 0x00007f6e68f7b615 __GI_raise (libc.so.6)
#1 0x00007f6e68f648d9 __GI_abort (libc.so.6)
#2 0x00007f6e68fbf3ff __libc_message (libc.so.6)
#3 0x00007f6e68fc69bc malloc_printerr (libc.so.6)
#4 0x00007f6e68fc882c _int_free (libc.so.6)
#5 0x00007f6e692c739d g_free (libglib-2.0.so.0)
#6 0x00007f6e692a2277 g_datalist_clear (libglib-2.0.so.0)
#7 0x00007f6e69850bdd gdk_wayland_drag_context_finalize (libgdk-3.so.0)
#8 0x00007f6e693afcb0 g_object_unref (libgobject-2.0.so.0)
#9 0x00007f6e69c78929 gtk_drag_drop_finished (libgtk-3.so.0)
#10 0x00007f6e693aa742 g_closure_invoke (libgobject-2.0.so.0)
#11 0x00007f6e693be4b4 signal_emit_unlocked_R (libgobject-2.0.so.0)
#12 0x00007f6e693c730e g_signal_emit_valist (libgobject-2.0.so.0)
#13 0x00007f6e693c7933 g_signal_emit (libgobject-2.0.so.0)
#14 0x00007f6e69858269 data_source_cancelled (libgdk-3.so.0)
#15 0x00007f6e68547aa8 ffi_call_unix64 (libffi.so.6)
#16 0x00007f6e685472a4 ffi_call (libffi.so.6)
#17 0x00007f6e68b465e8 wl_closure_invoke (libwayland-client.so.0)
#18 0x00007f6e68b42f18 dispatch_event.isra.0 (libwayland-client.so.0)
#19 0x00007f6e68b4446c wl_display_dispatch_queue_pending (libwayland-client.so.0)
#20 0x00007f6e69851768 _gdk_wayland_display_queue_events (libgdk-3.so.0)
#21 0x00007f6e697ee0d4 gdk_display_get_event (libgdk-3.so.0)
#22 0x00007f6e69851466 gdk_event_source_dispatch (libgdk-3.so.0)
#23 0x00007f6e692c1470 g_main_context_dispatch (libglib-2.0.so.0)
#24 0x00007f6e692c1800 g_main_context_iterate.isra.0 (libglib-2.0.so.0)
#25 0x00007f6e692c18a3 g_main_context_iteration (libglib-2.0.so.0)
#26 0x00007f6e69500c65 g_application_run (libgio-2.0.so.0)
#27 0x00005613faa1e89b main (evince)
#28 0x00007f6e68f66193 __libc_start_main (libc.so.6)
#29 0x00005613faa1e97e _start (evince)
Stack trace of thread 12596:
#0 0x00007f6e6903579f __GI___poll (libc.so.6)
#1 0x00007f6e692c176e g_main_context_iterate.isra.0 (libglib-2.0.so.0)
#2 0x00007f6e692c1af3 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f6e6953c6ba gdbus_shared_thread_func (libgio-2.0.so.0)
#4 0x00007f6e692eadb2 g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f6e691114e2 start_thread (libpthread.so.0)
#6 0x00007f6e69040333 __clone (libc.so.6)
Stack trace of thread 12594:
#0 0x00007f6e6903579f __GI___poll (libc.so.6)
#1 0x00007f6e692c176e g_main_context_iterate.isra.0 (libglib-2.0.so.0)
#2 0x00007f6e692c18a3 g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f6e692c18f1 glib_worker_main (libglib-2.0.so.0)
#4 0x00007f6e692eadb2 g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f6e691114e2 start_thread (libpthread.so.0)
#6 0x00007f6e69040333 __clone (libc.so.6)
Stack trace of thread 12838:
#0 0x00007f6e6903ae4d syscall (libc.so.6)
#1 0x00007f6e6930da46 g_cond_wait_until (libglib-2.0.so.0)
#2 0x00007f6e69292411 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0)
#3 0x00007f6e69292a36 g_async_queue_timeout_pop (libglib-2.0.so.0)
#4 0x00007f6e692eb599 g_thread_pool_thread_proxy (libglib-2.0.so.0)
#5 0x00007f6e692eadb2 g_thread_proxy (libglib-2.0.so.0)
#6 0x00007f6e691114e2 start_thread (libpthread.so.0)
#7 0x00007f6e69040333 __clone (libc.so.6)
Stack trace of thread 12611:
#0 0x00007f6e6903ae4d syscall (libc.so.6)
#1 0x00007f6e6930d923 g_cond_wait (libglib-2.0.so.0)
#2 0x00007f6e6a08b393 ev_job_thread_proxy (libevview3.so.3)
#3 0x00007f6e692eadb2 g_thread_proxy (libglib-2.0.so.0)
#4 0x00007f6e691114e2 start_thread (libpthread.so.0)
#5 0x00007f6e69040333 __clone (libc.so.6)
Stack trace of thread 12597:
#0 0x00007f6e6903579f __GI___poll (libc.so.6)
#1 0x00007f6e692c176e g_main_context_iterate.isra.0 (libglib-2.0.so.0)
#2 0x00007f6e692c18a3 g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f6e6a11d93d dconf_gdbus_worker_thread (libdconfsettings.so)
#4 0x00007f6e692eadb2 g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f6e691114e2 start_thread (libpthread.so.0)
#6 0x00007f6e69040333 __clone (libc.so.6)
Furthermore, this is printed when running Evince via commandline
(evince:13775): Gtk-CRITICAL **: 14:31:05.029: gtk_widget_get_display: assertion 'GTK_IS_WIDGET (widget)' failed
(evince:13775): GLib-GObject-WARNING **: 14:31:05.029: invalid (NULL) pointer instance
(evince:13775): GLib-GObject-CRITICAL **: 14:31:05.029: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(evince:13775): GLib-GObject-WARNING **: 14:31:05.029: invalid (NULL) pointer instance
(evince:13775): GLib-GObject-CRITICAL **: 14:31:05.029: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(evince:13775): Gtk-CRITICAL **: 14:31:05.029: gtk_target_list_unref: assertion 'list->ref_count > 0' failed
(evince:13775): Gtk-CRITICAL **: 14:31:05.030: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Edited by Björn Daase