Thunar crashes if I open the context menu of a file that has a custom action without icon, if this action is the first (of that type of file) thunar crashes when I select the file. If a custom action for directories hasn't an icon thunar crashes at startup. E.g With my uca.xml when I select an image thunar will crash, if I add at the top a custom action for images with an icon thunar will crash if I open the context menu. Steps to reproduce: Add a custom action without icons, use the pattern that you like. Click on a file that matches the pattern or open the context menu.
Created attachment 7796 My /.config/thunar/uca.xml
Created attachment 7797 My /.config/thunar/uca.xml
Created attachment 7798 Gdb backtrace
Comment on attachment 7798 Gdb backtrace Crash on select
Created attachment 7799 Gdb backtrace Crash at startup
I was able to reproduce more than 30 times the issue if the action without an icon is the first, but only few times when the action without icon is not the first. Perhaps the latter are false positives. Sorry for my bad english. Sorry for the confusion, I'm new on bugzilla
Andre Miranda referenced this bugreport in commit 510c8779584edf2f113c379cb024370cf844412b Avoid use of invalid pointer values in UCA (Bug #14464) https://git.xfce.org/xfce/thunar/commit?id=510c8779584edf2f113c379cb024370cf844412b
Fix pushed to master, it will be available in 1.8.2. Thanks for reporting this, good catch.
*** Bug 14776 has been marked as a duplicate of this bug. ***
Last 2 posts are spam bots advertising for Games. https://bugzilla.xfce.org/show_bug.cgi?id=14464#c11 https://bugzilla.xfce.org/show_bug.cgi?id=14464#c12 I urge you to ban "zain david" and "Lucille F. Parham" from making posts on this site.