GNOME Bugzilla – Bug 123390
cddb-slave2-properties crashes on startup
Last modified: 2004-12-22 21:47:04 UTC
cddb-slave2-properties crashes on startup with this output: info: 0 Program received signal SIGBUS, Bus error. The problem is that a Gtk Widget is being referenced before it's created. Here is a backtrace: (gdb) bt
+ Trace 40490
(gdb) list 837 gtk_tree_view_append_column (GTK_TREE_VIEW (pd->freedb_server), col); 838 839 gtk_container_add (GTK_CONTAINER (sw), pd->freedb_server); 840 841 g_signal_connect (G_OBJECT (pd->update), "clicked", 842 G_CALLBACK (update_clicked), pd); 843 844 /* create the update server list button */ 845 align = gtk_alignment_new (1.0, 0.5, 0.0, 0.0); 846 and here is the patch (see attachment). The fix is obvious, the same code (lines 841-842) is repeated at lines 848-849. I assume that 841-842 is forgotten code that should gone away in revision 1.18
Created attachment 20328 [details] [review] crashfix
Adding keywords.
Committed to HEAD and gnome-2-4. Thanks for the patch.