GNOME Bugzilla – Bug 730326
segmentation fault in easytag-2.2.2 while parsing hidden directory
Last modified: 2014-05-18 13:31:51 UTC
If the "show hidden directories" option is unchecked, when easytag tries to load a directory located inside a hidden directory, a segfault occurs: $ mkdir -p .hiddendir/mydir $ easytag .hiddendir/mydir (easytag:4419): Gtk-CRITICAL **: gtk_tree_store_get_path: assertion 'iter->stamp == tree_store->stamp' failed (easytag:4419): Gtk-CRITICAL **: gtk_tree_store_iter_children: assertion 'VALID_ITER (parent, tree_store)' failed (easytag:4419): Gtk-CRITICAL **: gtk_tree_store_get_value: assertion 'VALID_ITER (iter, tree_store)' failed (easytag:4419): GLib-GObject-WARNING **: /home/portage/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/gobject/gtype.c:4215: type id '0' is invalid (easytag:4419): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced Segmentation fault If "show hidden directories" is checked, this does not happen. The other way to trigger this bug is to activate "show hidden directories" option, navigate to a hidden directory and deactivate this option.
Thanks for the bug report. I just fixed this on easytag-2-2 and master branches as 4bfe75daa174c6211e9f01e72c6d06c2051a2db and 4bfe75daa174c6211e9f01e72c6d06c2051a2db2. The behaviour is not perfect, as the current path is not updated to the first parent which is not a hidden path, but fixing this would need more severe refactoring.