! 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 !
xfce panel crashes with glib2 2.10
Status:
RESOLVED: FIXED
Product:
Xfce4-weather-plugin
Component:
General

Comments

Description james 2006-03-21 03:37:53 CET
*** glibc detected *** free(): invalid pointer: 0x0837ba30 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1219746112 (LWP 19018)]
0xb766c7c7 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb766c7c7 in raise () from /lib/tls/libc.so.6
#1  0xb766e06b in abort () from /lib/tls/libc.so.6
#2  0xb76a3525 in __fsetlocking () from /lib/tls/libc.so.6
#3  0xb76a9b77 in malloc_usable_size () from /lib/tls/libc.so.6
#4  0xb76aa012 in free () from /lib/tls/libc.so.6
#5  0xb78fdea1 in g_free () from /usr/lib/libglib-2.0.so.0
#6  0xb723e861 in redraw_labels ()
   from /usr/lib/xfce4/panel-plugins/libweather.so
#7  0xb797052b in g_cclosure_marshal_VOID__OBJECT ()
   from /usr/lib/libgobject-2.0.so.0
#8  0xb7962cb9 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#9  0xb7972c0a in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#10 0xb7974490 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#11 0xb79747f9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#12 0xb7e09345 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
#13 0xb7e09598 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb7c43400 in gtk_box_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb7c7f96c in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#16 0xb7e09587 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb7c3f9ef in gtk_bin_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb7c7f96c in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb7e09587 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb7c43400 in gtk_box_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#21 0xb7c7f96c in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb7e09587 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb7c3f9ef in gtk_bin_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#24 0xb7c7f96c in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xb7e09587 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb7c43400 in gtk_box_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb7c7f96c in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb7e09587 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb7c3f9ef in gtk_bin_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb7c7f96c in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#31 0xb7e09587 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
#32 0xb7c43400 in gtk_box_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
#33 0xb7c7f96c in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#34 0xb7e09587 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb7c43400 in gtk_box_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
#36 0xb7c7f96c in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#37 0xb7e09587 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
#38 0xb7ccf703 in gtk_frame_new () from /usr/lib/libgtk-x11-2.0.so.0
#39 0xb7c7f96c in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#40 0xb7e09587 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
#41 0xb7c3f9ef in gtk_bin_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#42 0xb7c7f96c in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#43 0xb7e09587 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#44 0xb7e095eb in gtk_widget_reset_rc_styles ()
   from /usr/lib/libgtk-x11-2.0.so.0
#45 0xb7d4c49d in gtk_rc_style_unref () from /usr/lib/libgtk-x11-2.0.so.0
#46 0xb7cddf71 in gtk_icon_theme_new () from /usr/lib/libgtk-x11-2.0.so.0
#47 0xb78f8731 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#48 0xb78f611c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0xb78f95ab in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#50 0xb78f9907 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#51 0xb7d10261 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#52 0x08057e7d in main ()
(gdb)
Comment 1 Jasper Huijsmans editbugs 2006-03-21 15:06:18 CET
Actually, it is the weather plugin that is crashing. It does not look like it will be very hard to fix.
Comment 2 Yves-Alexis Perez editbugs 2006-03-27 09:44:16 CEST
Jasper, do you have any information on this bug ? I'd like to fix it (there are few debian users which suffers from the bug, and I guess lots of other people).

I guess there is a g_free() which shouldn't be there but I couldn't find which one, as I am very new at glib programming.

If you need some help looking at the code, please tell :)

Regards,

Yves-Alexis Perez
Comment 3 Jared Casper 2006-03-28 00:12:26 CEST
Created attachment 490 
proposed patch for weather plugin

Finally found the right place to send this... hope this helps
Comment 4 Yves-Alexis Perez editbugs 2006-03-28 10:58:48 CEST
This patch don't fix the problem, I still have 

*** glibc detected *** free(): invalid pointer: 0x1042e450 ***


Regards,

Yves-Alexis Perez
Comment 5 Nick Schermer editbugs 2006-05-18 05:29:24 CEST
Fixed in trunk, there were was a wrong g_free 3 times :). Please reopen if crash is still there.
Comment 6 Yves-Alexis Perez editbugs 2006-05-18 05:34:28 CEST
Could you please provide a backport patch (if possible, both for 4.2 and 4.4 plugins ;) ) so we won't have to wait for the next beta to fix this annoying bug.

I don't reopen it because there is no reason :)

Thanks.

Regards,

--
Yves-Alexis Perez
Comment 7 Jannis Pohlmann editbugs 2009-06-12 13:21:34 CEST
Re-assigning to Colin Leroy who is the new maintainer of the plugin.

Bug #1590

Reported by:
james
Reported on: 2006-03-21
Last modified on: 2014-12-07

People

Assignee:
Colin Leroy
CC List:
2 users

Version

Version:
0.7.3 or older

Attachments

proposed patch for weather plugin (886 bytes, patch)
2006-03-28 00:12 CEST , Jared Casper
no flags

Additional information