[Goodies-dev] [Bug 11713] *** Error in `/usr/lib/xfce4/panel/wrapper-1.0': free(): invalid pointer: 0x092d8c30 ***

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Mar 17 19:22:26 CET 2015


https://bugzilla.xfce.org/show_bug.cgi?id=11713

--- Comment #2 from Robby Workman <rw at rlworkman.net> ---
Here's a more useful backtrack:

Program received signal SIGABRT, Aborted.
0xb6dd0d3c in raise () from /lib/libc.so.6
(gdb) bt
#0  0xffffffff in raise () at /lib/libc.so.6
#1  0xffffffff in abort () at /lib/libc.so.6
#2  0xffffffff in  () at /lib/libc.so.6
#3  0xffffffff in _int_free () at /lib/libc.so.6
#4  0xffffffff in g_free () at /usr/lib/libglib-2.0.so.0
#5  0xffffffff in monitor_free (plugin=0x9790080, global=0x97b6820) at
systemload.c:397
#6  0xffffffff in g_cclosure_marshal_VOID__VOIDv () at
/usr/lib/libgobject-2.0.so.0
#7  0xffffffff in  () at /usr/lib/libgobject-2.0.so.0
#8  0xffffffff in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#9  0xffffffff in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#10 0xffffffff in xfce_panel_plugin_dispose (object=0x9790080) at
xfce-panel-plugin.c:902
#11 0xffffffff in g_object_run_dispose () at /usr/lib/libgobject-2.0.so.0
#12 0xffffffff in gtk_object_destroy () at /usr/lib/libgtk-x11-2.0.so.0
#13 0xffffffff in  () at /usr/lib/libgtk-x11-2.0.so.0
#14 0xffffffff in gtk_container_foreach () at /usr/lib/libgtk-x11-2.0.so.0
#15 0xffffffff in  () at /usr/lib/libgtk-x11-2.0.so.0
#16 0xffffffff in  () at /usr/lib/libgtk-x11-2.0.so.0
#17 0xffffffff in g_cclosure_marshal_VOID__VOID () at
/usr/lib/libgobject-2.0.so.0
#18 0xffffffff in  () at /usr/lib/libgobject-2.0.so.0
#19 0xffffffff in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#20 0xffffffff in  () at /usr/lib/libgobject-2.0.so.0
#21 0xffffffff in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#22 0xffffffff in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#23 0xffffffff in  () at /usr/lib/libgtk-x11-2.0.so.0
#24 0xffffffff in  () at /usr/lib/libgtk-x11-2.0.so.0
#25 0xffffffff in  () at /usr/lib/libgtk-x11-2.0.so.0
#26 0xffffffff in g_object_run_dispose () at /usr/lib/libgobject-2.0.so.0
#27 0xffffffff in gtk_object_destroy () at /usr/lib/libgtk-x11-2.0.so.0
#28 0x0804ad9c in main (argc=8, argv=0xbf81a714) at main.c:412

Looks like this makes the crash stop:

diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index 628947e..4df29e5 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -394,7 +394,6 @@ monitor_free(XfcePanelPlugin *plugin, t_global_monitor
*global)
         g_source_remove(global->timeout_id);

     g_free(global->command.command_text);
-    g_free(global->menu_item);

     for(count = 0; count < 3; count++)
     {

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the Goodies-dev mailing list