GNOME Bugzilla – Bug 711454
SIGSEGV in gdaemonfile
Last modified: 2013-11-07 14:39:54 UTC
If the daemon is killed while in the fallback g_file_copy code: Program received signal SIGSEGV, Segmentation fault. 0x00007f5b89793ead in g_object_unref (_object=0x0) at gobject.c:3075 3075 old_ref = g_atomic_int_get (&object->ref_count); (gdb) bt
+ Trace 232713
Created attachment 258979 [details] [review] client: Fix SIGSEGV in fallback copy If the daemon is killed during the fallback copy, it is possible that proxy is NULL which causes a segfault when unrefing it. Use g_clear_object() instead.
Review of attachment 258979 [details] [review]: Looks good.
Pushed to master as 74e284c7f1bd3377d27250755b3c2fad5a2aa5c8 and stable as 218eb4c46633948ec590922f95368410072dd8e9. Thanks!