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 333888 - CVS gtk+ crashes applications that have signal callbacks tab_added and tab_removed defined
CVS gtk+ crashes applications that have signal callbacks tab_added and tab_re...
Status: RESOLVED DUPLICATE of bug 333743
Product: gtk+
Classification: Platform
Component: Widget: GtkNotebook
unspecified
Other All
: Normal critical
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-03-08 12:55 UTC by Mitch
Modified: 2006-03-09 00:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mitch 2006-03-08 12:55:12 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.

Thread 16384 (LWP 20398)

  • #0 find_screen
    at terminal-window.c line 1665
  • #1 notebook_tab_added_callback
    at terminal-window.c line 1735
  • #2 _gtk_marshal_VOID__POINTER_UINT
    from /usr/lib/libgtk-x11-2.0.so.0
  • #3 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #4 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #5 ??


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.
Comment 1 Matthias Clasen 2006-03-09 00:29:15 UTC

*** This bug has been marked as a duplicate of 333743 ***