GNOME Bugzilla – Bug 141090
balsa crashes while customizing toolbar
Last modified: 2004-12-22 21:47: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
+ Trace 46400
------- 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.
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 ?? ()
+ Trace 47123
Thread 1 (Thread -150846240 (LWP 16299))
Confirmed. Balsa uses an unofficial api to manipulate toolbar elements. The api changed betweeen gtk 2.2 and 2.4.
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.
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.
Patch applied and I am able to add, remove and move regular items and separators about and everything seems okay. Thanks.
The patch is in and balsa-2.0.18 is out. Thank you!