FS#2835 - glibc detected *** double free or corruption with XFce4
Attached to Project:
Arch Linux
Opened by Zsolt Botykai (in hungarian: Botykai Zsolt) (zsoltika) - Tuesday, 14 June 2005, 18:10 GMT
Last edited by Dale Blount (dale) - Tuesday, 14 June 2005, 18:28 GMT
Opened by Zsolt Botykai (in hungarian: Botykai Zsolt) (zsoltika) - Tuesday, 14 June 2005, 18:10 GMT
Last edited by Dale Blount (dale) - Tuesday, 14 June 2005, 18:28 GMT
|
Details
Hi I just installed archlinux with my favourite DE=xfce4. I
set my $LANG as 'hu_HU'. Now I got this error with xfdesktop
(it doesn't even start) and with the panel (after adding
some plugin).
*** attempt to put segment in horiz list twice ... (same lines repeated) *** attempt to put segment in horiz list twice *** glibc detected *** double free or corruption (fasttop): 0x0818f2e0 *** IMHO it's the same like this I found here: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=135859 I would like to use xfce4 in hungarian (my wife does too), AFAIK xfce4 has hungarian translation files ... |
This task depends upon
cat_to_displayname_new_full = g_hash_table_new(g_str_hash, g_str_equal,
(GDestroyNotify)g_free, (GDestroyNotify)g_free);
This line in desktop-menuspec.c in xfdesktop source makes sure gchar* "objects" (they're just strings, no objects/structs at all) get free'd when they get removed from the hashtable. Nice and shiny feature, but you should never free a stupid string, glibc will trigger either an invalid free or some corruption/double free error on it.
Change these lines to this:
cat_to_displayname_new = g_hash_table_new(g_str_hash, g_str_equal);
Maybe the same accounts for the creation of the hashtable of displayname_to_icon, but that one doesn't crash over here.