Steps: 1. open thunar 2. press Ctrl + B and then Ctrl + E to switch between shortcut and tree view 3. repeat step 2 until it crashes (should crash on the 8th time) Confirmed on 1.8.9 and master
Created attachment 9545 backtrace
Created attachment 9548 backtrace with symbols
Thanks for reporting ! For me it is not even required to use Ctrl + B. It's sufficient to hold Ctrl + E to permanently add/remove the tree-view .. same backtrace.
I can reproduce this on 1.8.12 and master. The number of changes needed varies quite a bit, but for me it seems to be 20-40. It seems like the crash always happens on Ctrl^B, and when I start thunar again after the crash it opens with tree view in the side pane, so maybe this is a bug somewhere in the chain of code that selects shortcuts view before the change gets saved? Reproducing this a few times seems to yield the following pattern of errors: I do Ctrl^B and Ctrl^E a few times with no errors printed, until at some point hitting Ctrl^B yields the errors GLib-GObject-WARNING **: 00:22:58.872: invalid cast from '(null)' to 'GObject' GLib-GObject-CRITICAL **: 00:22:58.872: g_object_set: assertion 'G_IS_OBJECT (object)' failed after which each Ctrl^E yields GLib-GObject-WARNING **: 00:23:25.478: invalid unclassed pointer in cast to 'GObject' GLib-GObject-CRITICAL **: 00:23:25.478: g_object_set: assertion 'G_IS_OBJECT (object)' failed and each Ctrl^B yields GLib-GObject-CRITICAL **: 00:23:32.777: g_object_unref: assertion 'G_IS_OBJECT (object)' failed GLib-GObject-WARNING **: 00:23:32.796: invalid uninstantiatable type '(null)' in cast to 'GObject' GLib-GObject-CRITICAL **: 00:23:32.796: g_object_set: assertion 'G_IS_OBJECT (object)' failed and then this pattern repeats until eventually one Ctrl^B yields a segfault.
I can also get a crash from just doing Ctrl-E enough times, with similar errors printed to the console.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/284. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev