Created attachment 5167 Patch which prevents the crash. To see the bug in action: mkdir -p ~/.local/share/desktop-directories/ touch ~/.local/share/desktop-directories/xfce-accessories.directory xfdesktop will immediately crash. xfce4-panel will crash the next time you open the menu. This happens because garcon does not read the menu's name from the empty file. It then tries to construct the menu with name == NULL. Later, it tries to validate that the name is utf8, passing NULL to g_utf8_validate which causes a segfault. Patch is attached, but maybe it's not the best way to handle the problem. It prevents the crash though.
Pushed. Thanks.