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 312115 - SmoothFreeArrowStyles() in libsmooth.so
SmoothFreeArrowStyles() in libsmooth.so
Status: RESOLVED FIXED
Product: gtk-engines
Classification: Deprecated
Component: smooth
2.6.x
Other Linux
: Normal critical
: ---
Assigned To: gtk-engines maintainers
gtk-engines maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-31 06:46 UTC by Thomas Zajic
Modified: 2006-03-18 11:21 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Thomas Zajic 2005-07-31 06:46:14 UTC
Version details: 2.6.4
Distribution/Version: Slackware 10.1

xpad-2.8, gtk-engines-2.6.4, gtk+-2.6.8, glib-2.6.5, everything self-compiled on
Slackware 10.1. Please let me know if you need additional information. Here's
the backtrace:

[zlatko@disclosure]:~/usrlocal/src/xpad-2.8/src$ ./xpad 
*** glibc detected *** double free or corruption (out): 0x080aca38 ***
Aborted
[zlatko@disclosure]:~/usrlocal/src/xpad-2.8/src$ gdb ./xpad 
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/src/xpad-2.8/src/xpad 
*** glibc detected *** double free or corruption (out): 0x080aca50 ***

Program received signal SIGABRT, Aborted.
0x406aaef1 in kill () from /lib/libc.so.6
(gdb) backtrace 
  • #0 kill
    from /lib/libc.so.6
  • #1 raise
    from /lib/libc.so.6
  • #2 abort
    from /lib/libc.so.6
  • #3 __libc_message
    from /lib/libc.so.6
  • #4 malloc_printerr
    from /lib/libc.so.6
  • #5 _int_free
    from /lib/libc.so.6
  • #6 free
    from /lib/libc.so.6
  • #7 g_free
    from /usr/local/lib/libglib-2.0.so.0
  • #8 SmoothFreeArrowStyles
    from /usr/local/lib/gtk-2.0/2.4.0/engines/libsmooth.so
  • #9 smooth_rc_style_real_dispose
    from /usr/local/lib/gtk-2.0/2.4.0/engines/libsmooth.so
  • #10 smooth_rc_style_dispose
    from /usr/local/lib/gtk-2.0/2.4.0/engines/libsmooth.so
  • #11 g_object_last_unref
    from /usr/local/lib/libgobject-2.0.so.0
  • #12 gtk_rc_style_unref
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #13 gtk_style_finalize
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #14 g_object_last_unref
    from /usr/local/lib/libgobject-2.0.so.0
  • #15 gtk_widget_set_style_internal
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #16 gtk_widget_reset_rc_style
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #17 gtk_widget_modify_color_component
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #18 gtk_widget_modify_bg
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #19 xpad_text_view_style_set
    at xpad-text-view.c line 224
  • #20 g_cclosure_marshal_VOID__OBJECT
    from /usr/local/lib/libgobject-2.0.so.0
  • #21 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #22 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #23 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #24 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #25 gtk_widget_set_style_internal
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #26 gtk_widget_reset_rc_style
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #27 reset_rc_styles_recurse
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #28 gtk_bin_forall
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #29 gtk_scrolled_window_forall
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #30 gtk_container_forall
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #31 reset_rc_styles_recurse
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #32 gtk_box_forall
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #33 gtk_container_forall
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #34 reset_rc_styles_recurse
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #35 gtk_widget_reset_rc_styles
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #36 gtk_widget_set_parent
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #37 gtk_bin_add
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #38 g_cclosure_marshal_VOID__OBJECT
    from /usr/local/lib/libgobject-2.0.so.0
  • #39 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.0
  • #40 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #41 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #42 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #43 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #44 gtk_container_add
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #45 gtk_container_set_property
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #46 g_object_set_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #47 g_object_set
    from /usr/local/lib/libgobject-2.0.so.0
  • #48 xpad_pad_init
    at xpad-pad.c line 229
  • #49 g_type_create_instance
    from /usr/local/lib/libgobject-2.0.so.0
  • #50 g_object_constructor
    from /usr/local/lib/libgobject-2.0.so.0
  • #51 g_object_newv
    from /usr/local/lib/libgobject-2.0.so.0
  • #52 g_object_new_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #53 g_object_new
    from /usr/local/lib/libgobject-2.0.so.0
  • #54 xpad_pad_new_with_info
    at xpad-pad.c line 133
  • #55 xpad_app_load_pads
    at xpad-app.c line 450
  • #56 xpad_app_init
    at xpad-app.c line 167
  • #57 main
    at xpad-app.c line 186

Comment 1 Christian Kirbach 2005-08-01 08:38:15 UTC
seems to be a unique stack trace.


can you run "thread apply all bt full" , please?
Comment 2 Thomas Zajic 2005-08-02 07:01:58 UTC
[x] done - hope I did it right, I didn't notice a difference in the resulting
backtrace. Anyway, here it is:

[zlatko@disclosure]:~/usrlocal/src/xpad-2.8/src$ gdb ./xpad
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/src/xpad-2.8/src/xpad 
*** glibc detected *** double free or corruption (out): 0x080aca50 ***

Program received signal SIGABRT, Aborted.
0x406aaef1 in kill () from /lib/libc.so.6
(gdb) thread apply all bt full
(gdb) backtrace 
  • #0 kill
    from /lib/libc.so.6
  • #1 raise
    from /lib/libc.so.6
  • #2 abort
    from /lib/libc.so.6
  • #3 __libc_message
    from /lib/libc.so.6
  • #4 malloc_printerr
    from /lib/libc.so.6
  • #5 _int_free
    from /lib/libc.so.6
  • #6 free
    from /lib/libc.so.6
  • #7 g_free
    from /usr/local/lib/libglib-2.0.so.0
  • #8 SmoothFreeArrowStyles
    from /usr/local/lib/gtk-2.0/2.4.0/engines/libsmooth.so
  • #9 smooth_rc_style_real_dispose
    from /usr/local/lib/gtk-2.0/2.4.0/engines/libsmooth.so
  • #10 smooth_rc_style_dispose
    from /usr/local/lib/gtk-2.0/2.4.0/engines/libsmooth.so
  • #11 g_object_last_unref
    from /usr/local/lib/libgobject-2.0.so.0
  • #12 gtk_rc_style_unref
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #13 gtk_style_finalize
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #14 g_object_last_unref
    from /usr/local/lib/libgobject-2.0.so.0
  • #15 gtk_widget_set_style_internal
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #16 gtk_widget_reset_rc_style
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #17 gtk_widget_modify_color_component
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #18 gtk_widget_modify_bg
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #19 xpad_text_view_style_set
    at xpad-text-view.c line 224
  • #20 g_cclosure_marshal_VOID__OBJECT
    from /usr/local/lib/libgobject-2.0.so.0
  • #21 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #22 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #23 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #24 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #25 gtk_widget_set_style_internal
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #26 gtk_widget_reset_rc_style
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #27 reset_rc_styles_recurse
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #28 gtk_bin_forall
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #29 gtk_scrolled_window_forall
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #30 gtk_container_forall
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #31 reset_rc_styles_recurse
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #32 gtk_box_forall
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #33 gtk_container_forall
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #34 reset_rc_styles_recurse
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #35 gtk_widget_reset_rc_styles
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #36 gtk_widget_set_parent
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #37 gtk_bin_add
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #38 g_cclosure_marshal_VOID__OBJECT
    from /usr/local/lib/libgobject-2.0.so.0
  • #39 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.0
  • #40 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #41 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #42 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #43 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #44 gtk_container_add
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #45 gtk_container_set_property
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #46 g_object_set_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #47 g_object_set
    from /usr/local/lib/libgobject-2.0.so.0
  • #48 xpad_pad_init
    at xpad-pad.c line 229
  • #49 g_type_create_instance
    from /usr/local/lib/libgobject-2.0.so.0
  • #50 g_object_constructor
    from /usr/local/lib/libgobject-2.0.so.0
  • #51 g_object_newv
    from /usr/local/lib/libgobject-2.0.so.0
  • #52 g_object_new_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #53 g_object_new
    from /usr/local/lib/libgobject-2.0.so.0
  • #54 xpad_pad_new_with_info
    at xpad-pad.c line 133
  • #55 xpad_app_load_pads
    at xpad-app.c line 450
  • #56 xpad_app_init
    at xpad-app.c line 167
  • #57 main
    at xpad-app.c line 186

Comment 3 Christian Kirbach 2005-08-02 08:20:53 UTC
Reopening
Comment 4 Christian Kirbach 2005-10-07 09:01:26 UTC
does this still happen with the latest versions?
Comment 5 Thomas Zajic 2005-10-07 23:07:33 UTC
I haven't yet updated to the latest versions of glib/gtk+, gtk-engines and xpad,
unfortunately. I'll let you know once I did, feel free to ignore this bug report
until then. BTW are you still interested in the latest 2.6.x versions, or should
I test it with 2.8.x only?
Comment 6 Christian Kirbach 2005-10-08 11:09:44 UTC
Thanks for responding.
Priority is always to fix errors in the latest version :)
I am not sure how many fixes are also applied to older versions, if possible.

It would be very helpful if you could get us a stacktrace with debugging symbols 
for libsmooth. Please see http://live.gnome.org/GettingTraces for more 
information on how to do so.

We need symbols for libsmooth (gtk2-engines-smooth), but debugging symbold for 
glib and gtk+ may also be useful.

Then please upgrade to the latest versions and try to reproduce.
Comment 7 Thomas Zajic 2005-10-09 08:44:45 UTC
Okay, I'll do that once I've upgraded to the latest and greatest. But don't hold
your breath, that might take a while - I'm currently still running GNOME 2.10.x
on glib/gtk+ 2.6.x.
Comment 8 Christian Kirbach 2005-11-13 11:59:40 UTC
any news?
Comment 9 Thomas Zajic 2005-11-13 13:47:06 UTC
No, sorry, I'm still running the old versions here. :-/ I don't want to block
anything, though, so feel free to assume it's fixed in the latest versions and
close this report. When I finally get around to upgrade to the latest versions
and find that it's still there, I'll simply reopen it. Would that be okay for you?
Comment 10 Christian Kirbach 2005-11-13 18:55:32 UTC
very well.
Comment 11 Thomas Zajic 2006-03-18 10:54:35 UTC
I finally got around to upgrading a few things. Current versions are xpad-2.11, gtk-engines-2.6.8, gtk+-2.8.16, glib-2.10.1, everything self-compiled on Slackware 10.2.

And *poof!*, no more segfaults on startup. :-) Feel free to close this bug, and thanks for you patience!
Comment 12 Christian Kirbach 2006-03-18 11:21:15 UTC
thanks for responding. that is the kind of comments we love :)

marking FIXED.
Comment 13 Christian Kirbach 2006-03-18 11:21:39 UTC
err now actually FIXED.