Bug#277506: glade-2: Segfaults when deleting and immediately readding a widget

G. L. Gragnani "G. L. Gragnani" <gragnani@dibe.unige.it>, 277506@bugs.debian.org
Wed, 20 Oct 2004 16:11:18 +0200


Package: glade-2
Version: 2.6.3-1
Severity: important

If I delete a widget and, immediately after that, try
to insert another (either the same or of another kind)
in the same placeholder, glade-2 segfaults.
Here is the gdb backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 3209)]
0x08066224 in editor_add_draw_signals ()
(gdb) backtrace
#0  0x08066224 in editor_add_draw_signals ()
#1  0x405c9f53 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#2  0x405c6b92 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#3  0x405c7c88 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#4  0x405c7fc0 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#5  0x405c8603 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6  0x402984e3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x0808f813 in main ()
(gdb)



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-386
Locale: LANG=C, LC_CTYPE=C

Versions of packages glade-2 depends on:
ii  glade-common-2            2.6.3-1        Common files for GTK+ 2 User Inter
ii  libatk1.0-0               1.6.1-5        The ATK accessibility toolkit
ii  libc6                     2.3.2.ds1-18   GNU C Library: Shared libraries an
ii  libglib2.0-0              2.4.7-1        The GLib library of C routines
ii  libgtk2.0-0               2.4.13-1       The GTK+ graphical user interface 
ii  libpango1.0-0             1.4.1-4        Layout and rendering of internatio
ii  libx11-6                  4.3.0.dfsg.1-8 X Window System protocol client li
ii  libxml2                   2.6.11-3       GNOME XML library
ii  xlibs                     4.3.0.dfsg.1-8 X Window System client libraries m
ii  zlib1g                    1:1.2.2-1      compression library - runtime

-- no debconf information