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 791894 - SIGSEGV crash in g_vfs_monitor_emit_event
SIGSEGV crash in g_vfs_monitor_emit_event
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: recent backend
1.34.x
Other Linux
: Normal critical
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2017-12-23 14:11 UTC by Tom Nove
Modified: 2018-01-02 10:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tom Nove 2017-12-23 14:11:28 UTC
ore was generated by `/usr/lib/gvfs/gvfsd-recent --spawner :1.11 /org/gtk/gvfs/exec_spaw/10'.
Program terminated with signal SIGSEGV, Segmentation fault.
  • #0 g_vfs_monitor_emit_event
    at gvfsmonitor.c line 357
  • #0 g_vfs_monitor_emit_event
    at gvfsmonitor.c line 357
  • #1 reload_recent_items
    at gvfsbackendrecent.c line 566
  • #2 ffi_call_unix64
    at ../src/x86/unix64.S line 76
  • #3 ffi_call
    at ../src/x86/ffi64.c line 525
  • #4 g_cclosure_marshal_generic_va
    at ../../../../gobject/gclosure.c line 1604
  • #5 _g_closure_invoke_va
    at ../../../../gobject/gclosure.c line 867
  • #6 g_signal_emit_valist
    at ../../../../gobject/gsignal.c line 3300
  • #7 g_signal_emit
    at ../../../../gobject/gsignal.c line 3447
  • #8 g_file_monitor_emit_event
    at ../../../../gio/gfilemonitor.c line 290
  • #9 g_file_monitor_source_dispatch
    at ../../../../gio/glocalfilemonitor.c line 546
  • #10 g_main_dispatch
    at ../../../../glib/gmain.c line 3148
  • #11 g_main_context_dispatch
    at ../../../../glib/gmain.c line 3813
  • #12 g_main_context_iterate
    at ../../../../glib/gmain.c line 3886
  • #13 g_main_loop_run
    at ../../../../glib/gmain.c line 4082
  • #14 daemon_main
    at daemon-main.c line 398
  • #15 main
    at daemon-main-generic.c line 45

Comment 1 Tom Nove 2017-12-23 14:14:03 UTC
(gdb) thread apply 1 bt full

Thread 1 (Thread 0x7fa43a67b840 (LWP 15848))

  • #0 g_vfs_monitor_emit_event
    at gvfsmonitor.c line 357
  • #1 reload_recent_items
    at gvfsbackendrecent.c line 566
  • #2 ffi_call_unix64
    at ../src/x86/unix64.S line 76
  • #3 ffi_call
    at ../src/x86/ffi64.c line 525
  • #4 g_cclosure_marshal_generic_va
    at ../../../../gobject/gclosure.c line 1604
  • #5 _g_closure_invoke_va
    at ../../../../gobject/gclosure.c line 867
  • #6 g_signal_emit_valist
    at ../../../../gobject/gsignal.c line 3300
  • #7 g_signal_emit
    at ../../../../gobject/gsignal.c line 3447
  • #8 g_file_monitor_emit_event
    at ../../../../gio/gfilemonitor.c line 290
  • #9 g_file_monitor_source_dispatch
    at ../../../../gio/glocalfilemonitor.c line 546
  • #10 g_main_dispatch
    at ../../../../glib/gmain.c line 3148
  • #11 g_main_context_dispatch
    at ../../../../glib/gmain.c line 3813
  • #12 g_main_context_iterate
    at ../../../../glib/gmain.c line 3886
  • #13 g_main_loop_run
    at ../../../../glib/gmain.c line 4082
  • #14 daemon_main
    at daemon-main.c line 398
  • #15 main
    at daemon-main-generic.c line 45

Comment 2 Ondrej Holy 2018-01-02 10:28:09 UTC
Thanks for your report.

That was introduced by:
https://git.gnome.org/browse/gvfs/commit/?id=5d018cd76fb7cfac699602101bc06800569376c9

and have been fixed recently by:
https://git.gnome.org/browse/gvfs/commit/?id=761f226a13b5d46b2f010c8e1c2723f675184be8

I am just going to backport it into the stable branch as well.