GNOME Bugzilla – Bug 754310
Crash when trying to show hidden files
Last modified: 2015-09-04 21:07:06 UTC
In the Pictures folder, Ctrl+H cause a crash: Program received signal SIGSEGV, Segmentation fault. g_type_check_instance_is_fundamentally_a ( type_instance=type_instance@entry=0x9ea7f0, fundamental_type=fundamental_type@entry=80) at gtype.c:4028 warning: Source file is more recent than executable. 4028 node = lookup_type_node_I (type_instance->g_class->g_type); (gdb) bt
+ Trace 235401
nautilus from git master updated, the same for glib and gtk+.
putting nautilus creashes on the blocker list for now
*** Bug 754288 has been marked as a duplicate of this bug. ***
Created attachment 310683 [details] [review] files-view: take a ref to source object when loading directory We were calling load_directory with the current model, but the view expect to own it's own reference to the model, and the caller to own it's own one to the source object. However, when we use that internally, we were just using the current model withouth taking an aditional reference, which was causing a use-after-free crash. To avoid it, if we are going to us public functions internally, take a reference to the source object like a external client would have.
Attachment 310683 [details] pushed as 8117ec0 - files-view: take a ref to source object when loading directory