I'm installing xfce in my HOME dir and it works mostly fine. The problem is that it requires to have menu.xml i $HOME/.config/xfce4/desktop/menu.xml. Otherwise, xfdesktop fails to find the definition file in $PREFIX/etc/xdg/xfce4/desktop/menu.xml and is just cores, log follows: * (xfdesktop:3625): CRITICAL **: xfdesktop_icon_peek_label: assertion `XFDESKTOP_IS_ICON(icon)' failed ** (xfdesktop:3625): CRITICAL **: xfdesktop_icon_set_position: assertion `XFDESKTOP_IS_ICON(icon)' failed (xfdesktop:3625): GLib-GObject-WARNING **: invalid (NULL) pointer instance (xfdesktop:3625): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (xfdesktop:3625): GLib-GObject-WARNING **: invalid (NULL) pointer instance (xfdesktop:3625): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (xfdesktop:3625): GLib-GObject-WARNING **: invalid (NULL) pointer instance (xfdesktop:3625): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed ** (xfdesktop:3625): CRITICAL **: xfdesktop_icon_view_add_item: assertion `XFDESKTOP_IS_ICON_VIEW(icon_view) && XFDESKTOP_IS_ICON(icon)' failed ** (xfdesktop:3625): WARNING **: xfdesktop: Could not locate a menu definition file Segmentation fault (core dumped) I'm copying Benny here too, to see if he has an idea, because the function that returns that error is xfce_desktop_get_menufile() and that uses xfce_resource_lookup_all()
Oh, and it's also worth noting that the pixmap pointed by_XROOTPMAP_ID contains garbish. I guess there could be some mem corruption there too.
The root cause seems to be Debian that modifies menu.xml file with update-menus. This said, I'll try to come up with a patch for xfdesktop to make it more solid against such mistakes.
Fixed with rev. 23101.