Bug#296805: libgtk2.0-0: Segfault in gdk_event_apply_filters
Daniel Silva
Daniel Silva <dsilva@ccs.neu.edu>, 296805@bugs.debian.org
Thu, 24 Feb 2005 14:41:06 -0500
Package: libgtk2.0-0
Version: 2.6.2-3
Severity: important
GTK2 is segfaulting all the time for some reason. Here's a test
program:
$cat test.c
#include <gtk/gtk.h>
int main()
{
gtk_init(0, 0);
gtk_window_new(0);
gtk_main();
return 0;
}
$ gcc -g `pkg-config gtk+-2.0 --cflags --libs` g.c
$ LD_LIBRARY_PATH=/usr/lib/debug/usr/lib/ gdb ./a.out
[...]
(gdb) run
Starting program: /tmp/a.out
[Thread debugging using libthread_db enabled]
[New Thread -1216145344 (LWP 25384)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1216145344 (LWP 25384)]
0xb7682910 in ?? ()
(gdb) bt
#0 0xb7682910 in ?? ()
#1 0xb7cd0478 in gdk_event_apply_filters (xevent=0xbffff260,
event=0x81ceed0,
filters=0x806ebf8) at gdkevents-x11.c:327
#2 0xb7cd0e8b in gdk_event_translate (display=0x806e988,
event=0x81ceed0,
xevent=0xbffff260, return_exposes=0) at gdkevents-x11.c:871
#3 0xb7cd262d in _gdk_events_queue (display=0x806e988) at
gdkevents-x11.c:2154
#4 0xb7cd27c1 in gdk_event_dispatch (source=0xbffff260,
callback=0,
user_data=0x0) at gdkevents-x11.c:2214
#5 0xb7b5a6b2 in g_main_depth () from
/usr/lib/libglib-2.0.so.0
#6 0xb7b5b738 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#7 0xb7b5ba70 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#8 0xb7b5c013 in g_main_loop_run () from
/usr/lib/libglib-2.0.so.0
#9 0xb7e22a23 in IA__gtk_main () at gtkmain.c:963
#10 0x08048779 in main () at g.c:11
Daniel
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages libgtk2.0-0 depends on:
ii libatk1.0-0 1.8.0-4 The ATK accessibility toolkit
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libfontconfig1 2.2.3-4 generic font configuration library
ii libfreetype6 2.1.7-2.3 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.6.2-1 The GLib library of C routines
ii libgtk2.0-0 2.6.2-3 The GTK+ graphical user interface
ii libgtk2.0-bin 2.6.2-3 The programs for the GTK+ graphica
ii libgtk2.0-common 2.6.2-3 Common files for the GTK+ graphica
ii libjpeg62 6b-9 The Independent JPEG Group's JPEG
ii libpango1.0-0 1.8.0-3 Layout and rendering of internatio
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii libtiff4 3.7.1-3 Tag Image File Format (TIFF) libra
ii libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii libxft2 2.1.2-6 FreeType-based font drawing librar
ii libxi6 4.3.0.dfsg.1-10 X Window System Input extension li
ii libxrandr2 4.3.0.dfsg.1-10 X Window System Resize, Rotate and
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii xlibs 4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii zlib1g 1:1.2.2-4 compression library - runtime
-- no debconf information