GNOME Bugzilla – Bug 333888
CVS gtk+ crashes applications that have signal callbacks tab_added and tab_removed defined
Last modified: 2006-03-09 00:29:15 UTC
Steps to reproduce: 1. Conpile cvs gtk+ 2. Run gedit or gnome-terminal, etc.. 3. Crash Stack trace: laptop ~% gdb gnome-terminal GNU gdb 6.4 Copyright 2005 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 "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) r Starting program: /usr/bin/gnome-terminal [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 20398)] (gnome-terminal:20398): GLib-GObject-WARNING **: gsignal.c:1249: signal "tab_added" already exists in the `GtkNotebook' class ancestry (gnome-terminal:20398): GLib-GObject-WARNING **: gsignal.c:1249: signal "tab_removed" already exists in the `GtkNotebook' class ancestry Program received signal SIGSEGV, Segmentation fault.
+ Trace 66775
Thread 16384 (LWP 20398)
Other information: See also bug 333211 This MUST be considered API breakage. There are several apps that will break not to mention commercial apps which we have no control over to recompile. GTK+ should check if the callback already exists and not overide, or add it to the list of callbacks.
*** This bug has been marked as a duplicate of 333743 ***