! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfdesktop/resources woes
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Olivier Fourdan editbugs 2006-09-04 20:18:52 CEST
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()
Comment 1 Olivier Fourdan editbugs 2006-09-04 21:16:18 CEST
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.
Comment 2 Olivier Fourdan editbugs 2006-09-05 20:51:15 CEST
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.
Comment 3 Olivier Fourdan editbugs 2006-09-07 19:48:38 CEST
Fixed with rev. 23101.

Bug #2268

Reported by:
Olivier Fourdan
Reported on: 2006-09-04
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Attachments

Additional information