After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 343200 - "Shared folders" incorrect free()
"Shared folders" incorrect free()
Status: RESOLVED FIXED
Product: gnome-system-tools
Classification: Deprecated
Component: shares-admin
2.14.x
Other Linux
: Normal critical
: ---
Assigned To: Carlos Garnacho
Carlos Garnacho
Depends on:
Blocks:
 
 
Reported: 2006-05-28 15:43 UTC by Sebastien Bacher
Modified: 2006-05-28 16:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
this is the patch I've committed to gnome-2.12 branch. the bug doesn't apply to HEAD (1.06 KB, patch)
2006-05-28 16:28 UTC, Carlos Garnacho
committed Details | Review

Description Sebastien Bacher 2006-05-28 15:43:03 UTC
That bug has been described on https://launchpad.net/distros/ubuntu/+source/gnome-system-tools/+bug/26117

"After fiddling with System > Administration > Shared folders, it just doesn't
work. Now, when I try to open it, it loads (cursor shows as "work in progress")
for many seconds, then all buttons are blanked, and the list is empty, hence I
can't do anything.
...
*** glibc detected *** double free or corruption (fasttop): 0x08289638 ***
...
> Could you get a valgrind log? Install the "valgrind" package and use "sudo valgrind shares-admin", it should make the application really slow to start but point some issues you may have, especially was is creating the "*** glibc detected *** double free or corruption (fasttop): 0x08289638 ***" you copied to your first comment
...
==9561== Invalid free() / delete / delete[]
==9561== at 0x1B8FF44F: free (vg_replace_malloc.c:235)
==9561== by 0x1C166053: g_free (in /usr/lib/libglib-2.0.so.0.800.3)
==9561== by 0x8050A88: gst_share_nfs_new_from_xml (in /usr/bin/shares-admin)
==9561== by 0x8051286: table_add_share_from_node (in /usr/bin/shares-admin)
==9561== by 0x80517A2: transfer_xml_to_gui (in /usr/bin/shares-admin)
==9561== by 0x1C08FAB2: g_cclosure_marshal_VOID__VOID (in /usr/lib/libgobject-2.0.so.0.800.3)
...
Itś been a while, but i found a good workaround. Use Synaptic to remove the package "nfs-kernel-server". Be sure you do a Complete removal including the config files.
After that, reinstall the same package and you're done. It worked in my case anyway.
As this worked, I suspect there is something wrong in a configuration file.
..."
Comment 1 Carlos Garnacho 2006-05-28 16:28:07 UTC
Created attachment 66378 [details] [review]
this is the patch I've committed to gnome-2.12 branch. the bug doesn't apply to HEAD