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 141090 - balsa crashes while customizing toolbar
balsa crashes while customizing toolbar
Status: RESOLVED FIXED
Product: balsa
Classification: Other
Component: general
2.0.x
Other other
: Normal normal
: ---
Assigned To: Balsa Maintainers
Balsa Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-04-26 09:34 UTC by samael
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Toolbar edit patch (1.14 KB, patch)
2004-07-06 22:02 UTC, Craig Routledge
none Details | Review
toolbar-factory.diff (1.20 KB, patch)
2004-07-06 22:07 UTC, Pawel Salek
none Details | Review

Description samael 2004-04-25 19:34:04 UTC
Distribution: Gentoo Base System version 1.4.3.13
Package: balsa
Severity: normal
Version: GNOME2.6. 2.0.x
Gnome-Distributor: Gentoo Linux
Synopsis: balsa crashes while customizing toolbar
Bugzilla-Product: balsa
Bugzilla-Component: general
Bugzilla-Version: 2.0.x
BugBuddy-GnomeVersion: 2.0 (2.6.0)
Description:
Description of the crash:

tried to remove the "print" icon from the toolbar --> balsa crashes	

Steps to reproduce the crash:
1. customize toolbars
2.  remove "print" icon
3. 

Expected Results:
crash

How often does this happen?
every time

Additional Information:
balsa 2.0.15-r1 on gentoo linux



Debugging Information:

Backtrace was generated from '/usr/bin/balsa'

(no debugging symbols found)...Using host libthread_db library
"/lib/libthread_db.so.1".
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...0x411f4028 in waitpid ()
   from /lib/libpthread.so.0
  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 ??
    from /usr/lib/libgnomeui-2.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 __pthread_clock_settime
    from /lib/libpthread.so.0
  • #4 <signal handler called>
  • #5 kill
    from /lib/libc.so.6
  • #6 pthread_kill
    from /lib/libpthread.so.0
  • #7 raise
    from /lib/libpthread.so.0
  • #8 raise
    from /lib/libc.so.6
  • #9 abort
    from /lib/libc.so.6
  • #10 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #11 g_log
    from /usr/lib/libglib-2.0.so.0
  • #12 gtk_container_propagate_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 gtk_toolbar_insert_element
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 gtk_toolbar_get_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #21 gtk_widget_send_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 gtk_container_propagate_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_container_get_focus_hadjustment
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 gtk_bin_get_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 gtk_container_forall
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 gtk_container_get_focus_hadjustment
    from /usr/lib/libgtk-x11-2.0.so.0
  • #27 gtk_viewport_get_shadow_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #28 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #29 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #32 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #34 gtk_widget_send_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #36 gdk_window_clear_area_e
    from /usr/lib/libgdk-x11-2.0.so.0
  • #37 gdk_window_process_all_updates
    from /usr/lib/libgdk-x11-2.0.so.0
  • #38 gtk_container_set_reallocate_redraws
    from /usr/lib/libgtk-x11-2.0.so.0
  • #39 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #40 g_main_depth
    from /usr/lib/libglib-2.0.so.0
  • #41 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #42 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #43 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #44 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #45 main




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-04-26 05:34 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "balsa".
   Setting to default milestone for this product, '---'
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@bugzilla.gnome.org.
   Previous reporter was samael@rommelwood.de.
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Craig Routledge 2004-06-13 21:26:03 UTC
Confirmed bug for Balsa 2.0.17, GTK 2.4, GNOME 2.6 as follows:

Any attempted edit of a toolbar (via Settings->Toolbars menu) will cause an
assertion failure.

System is a Fedora Core 2 release with all updates applied.

Terminal output:

  free(): invalid pointer 0x8accac0!
  free(): invalid pointer 0x8accaf8!
  free(): invalid pointer 0x8accd70!
  free(): invalid pointer 0x8accda8!
  free(): invalid pointer 0x8acd7f8!
  free(): invalid pointer 0x8acda48!
  free(): invalid pointer 0x8acdca8!
  free(): invalid pointer 0x8ace310!
  free(): invalid pointer 0x8ace590!
  free(): invalid pointer 0x8ace5c8!
  free(): invalid pointer 0x8ace850!
  free(): invalid pointer 0x8ace888!
  free(): invalid pointer 0x8aceb00!
  Gtk-ERROR **: file gtkcontainer.c: line 2446 (gtk_container_propagate_expose):
assertion failed: (child->parent == GTK_WIDGET (container))
  aborting...


Debugging Information:

Backtrace was generated from '/usr/local/bin/balsa'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -150846240 (LWP 16299)]
0x00532402 in ?? ()

Thread 1 (Thread -150846240 (LWP 16299))

  • #0 ??
  • #1 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 ??
  • #5 raise
    from /lib/tls/libc.so.6
  • #6 abort
    from /lib/tls/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 gtk_container_propagate_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #10 gtk_toolbar_insert_element
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 gtk_toolbar_get_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #18 gtk_widget_send_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #19 gtk_container_propagate_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #20 gtk_container_get_focus_hadjustment
    from /usr/lib/libgtk-x11-2.0.so.0
  • #21 gtk_bin_get_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 gtk_container_forall
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_container_get_focus_hadjustment
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 gtk_viewport_get_shadow_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #31 gtk_widget_send_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 gdk_window_clear_area_e
    from /usr/lib/libgdk-x11-2.0.so.0
  • #34 gdk_window_process_all_updates
    from /usr/lib/libgdk-x11-2.0.so.0
  • #35 gtk_container_set_reallocate_redraws
    from /usr/lib/libgtk-x11-2.0.so.0
  • #36 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #37 g_main_depth
    from /usr/lib/libglib-2.0.so.0
  • #38 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #39 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #40 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #41 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #42 main
    at main.c line 534
  • #0 ??


Comment 2 Pawel Salek 2004-06-14 06:21:39 UTC
Confirmed. Balsa uses an unofficial api to manipulate toolbar elements. The api
changed betweeen gtk 2.2 and 2.4.
Comment 3 Craig Routledge 2004-07-06 22:02:09 UTC
Created attachment 29296 [details] [review]
Toolbar edit patch

The patch applied to HEAD on 2004-03-29 works for me.  I've created a new diff
against current stable branch in CVS and attached it here.
Comment 4 Pawel Salek 2004-07-06 22:07:32 UTC
Created attachment 29297 [details] [review]
toolbar-factory.diff

There were some further changes to avoid problems with separators on toolbar
edition. Please try attached patch.
Comment 5 Craig Routledge 2004-07-07 00:19:04 UTC
Patch applied and I am able to add, remove and move regular items and separators
about and everything seems okay.  Thanks.
Comment 6 Pawel Salek 2004-07-07 09:58:52 UTC
The patch is in and balsa-2.0.18 is out. Thank you!