GNOME Bugzilla – Bug 672729
Crash: gnome-settings-daemon: free(): invalid pointer
Last modified: 2012-03-26 19:56:42 UTC
version: git commit c11745733ba666cc48cfe2c8de5df4ff6815f673
+ Trace 229943
I undoing commit c9d3c0e939c21230d6088aaf915d9b7d965d97d8 in libgnomekbd seems to 'fix' it.
Undoing commit c9d3c0e939c21230d6088aaf915d9b7d965d97d8 in libgnomekbd seems to 'fix' it.
I can confirm the crash with libgnomekbd 3.4.0, but not the 'fix'. You are pointing to a commit that is meant as a fix for bug #670164, but this seems not to be the cause for the crash. I got it working again reverting commit a6ca20e027edf43df578c7cf1aa26eecb6512540 which is meant as a patch to plug a memleak, but obviously something is wrong there. By the way: Shouldn't this report be assigned to libgnomekbd rather than to gnome-settings-daemon?
Whoops, both patches are part of the fix for bug #670164 ;-)
(In reply to comment #4) > Whoops, both patches are part of the fix for bug #670164 ;-) Thanks for reference!
The fix is committed. The bad patch is reverted
FYI: Still getting crash reports @ Mageia with 3.4.0.1. Nothing with stack traces yet.
Olav, Sure it is libgnomekbd?
Yes, see e.g. https://bugs.mageia.org/show_bug.cgi?id=5098:
+ Trace 229951
I'll get a good stack trace in a bit.
Olav, could you try removing all g_free calls from the second patch of that bug? It should help.
3.4.0.1 crashes here too. I accidentally said above 'reverting a6ca20e027edf43df578c7cf1aa26eecb6512540' fixes it, when in fact I meant 'checking out and compiling d63547c01abff6a24920445455c8d2ede2eadd02' fixed it.
Apparently you did a g_free on a static array? Another Mageia packager added a patch: http://svnweb.mageia.org/packages/cauldron/libgnomekbd/current/SOURCES/0001-config-fix-segfault-in-gkbd_keyboard_config_options_.patch?revision=226605&view=markup
Created attachment 210621 [details] [review] 0001-config-fix-segfault-in-gkbd_keyboard_config_options_.patch not mine, patch is git formatted, has author
Could you please do a final check that git version is ok now? *** This bug has been marked as a duplicate of bug 670164 ***
=(In reply to comment #14) > Could you please do a final check that git version is ok now? ffaf5489fad6588b50384e944c56284e9edef222 works for me.
Patch in git master matches exactly with the one in Mageia. Had multiple confirmations in Mageia that they can now login again.
Thanks!