GNOME Bugzilla – Bug 326294
Can't run Anjuta 1.2.4
Last modified: 2009-08-15 18:40:50 UTC
To: submit@bugs.gnome.org X-Mailer: bug-buddy 2.10.0 Subject: Can't run Anjuta Distribution: Debian testing/unstable Package: anjuta Severity: normal Version: GNOME2.10.2 1.2.4 Gnome-Distributor: Debian Synopsis: Can't run Anjuta Bugzilla-Product: anjuta Bugzilla-Component: core application Bugzilla-Version: 1.2.4 BugBuddy-GnomeVersion: 2.0 (2.10.1) Description: Description of the crash: After upgrade debian/linux Anjuta 1.2.4 can't run Before upgrade was OK Steps to reproduce the crash: 1. 2. 3. Expected Results: How often does this happen? always Additional Information: reinstall anjuta 1.2.4 dosen't work Debugging Information: Backtrace was generated from '/usr/bin/anjuta' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 2197)] (no debugging symbols found) 0x404d62a8 in waitpid () from /lib/libpthread.so.0
+ Trace 65063
Thread 1 (Thread 16384 (LWP 2197))
---------------------------------------------------------------------- Jedyny taki CZAT! >>> http://link.interia.pl/f18ee ------- Bug created by bug-buddy at 2006-01-09 12:45 -------
Anjuta crashed in the function on_stock_selection_changed() in anjuta-encodings.c . The function needs the member add_button in the structur anjuta_encodings_dialog. The member is initialized in anjuta_encodings_init(). I don't understand the code completely but I can see that on_stock_selection_changed() is called implicitely by gtk_tree_view_set_model() in line 716 of anjuta-encodings.c some lines before add_button and the structure itself is initialized. I copied the lines: anjuta_encodings_dialog = g_new0 (AnjutaEncodingsDialog, 1); anjuta_encodings_dialog->pref = pref; anjuta_encodings_dialog->add_button = add_button; anjuta_encodings_dialog->remove_button = remove_button; anjuta_encodings_dialog->up_button = up_button; anjuta_encodings_dialog->down_button = down_button; anjuta_encodings_dialog->supported_treeview = supported_treeview; anjuta_encodings_dialog->stock_treeview = stock_treeview; before the call to gtk_tree_view_set_model (GTK_TREE_VIEW (stock_treeview), model); I recompiled and now Anjuta works well.
I can reproduce it on FC5, proposed change works for me.
*** This bug has been marked as a duplicate of 324572 ***
Closing all fixed bugs. Sorry for the mass update :( ...