Bug#255977: libgtk2.0-0: gtk2 gets caught in infinite loop while
scrolling
Jason Dorje Short
Jason Dorje Short <jdorje@users.sourceforge.net>,
255977@bugs.debian.org
Thu, 24 Jun 2004 00:43:37 -0400
Package: libgtk2.0-0
Version: 2.4.3-1
Severity: normal
I have an application using libgtk2, with horizontal and vertical
scrolling. The horizontal scrolling wraps via the scroll callback
mechanism (yes, this is a bit ugly). Because of a bug in the program,
the vertical scrolling (which doesn't wrap) has a scroll slider that is
bigger than the range of scrolling (well maybe this isn't a bug, but
it's certainly not pretty). Now when this happens (and only when this
happens) when the horizontal scroll wraps the gtk callbacks get stuck in
a loop jumping back and forth. Although this setup is definitely wrong
I think the loop is still a gtk2 bug.
If necessary I can give source code for the program and exact
instructions on reproducing the problem.
When I send the program a SEGV I get this backtrace:
#4 0x40861e92 in _XPollfdCacheDel () from /usr/X11R6/lib/libX11.so.6
#5 0x40862e01 in _XRead () from /usr/X11R6/lib/libX11.so.6
#6 0x40863963 in _XReply () from /usr/X11R6/lib/libX11.so.6
#7 0x4085eda4 in XSync () from /usr/X11R6/lib/libX11.so.6
#8 0x40343492 in _gdk_window_move_resize_child ()
from /usr/lib/libgdk-x11-2.0.so.0
#9 0x4034361e in _gdk_window_move_resize_child ()
from /usr/lib/libgdk-x11-2.0.so.0
#10 0x4034376c in _gdk_windowing_window_queue_antiexpose ()
from /usr/lib/libgdk-x11-2.0.so.0
#11 0x4032bdf8 in gdk_window_clear_area_e () from
/usr/lib/libgdk-x11-2.0.so.0
#12 0x4032c0ef in gdk_window_process_updates ()
from /usr/lib/libgdk-x11-2.0.so.0
#13 0x40176c41 in _gtk_range_get_wheel_delta ()
from /usr/lib/libgtk-x11-2.0.so.0
#14 0x40426151 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#15 0x40411c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#16 0x40425c55 in g_signal_emit_by_name () from
/usr/lib/libgobject-2.0.so.0
#17 0x40424c17 in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#18 0x40424f14 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#19 0x40080165 in gtk_adjustment_value_changed ()
from /usr/lib/libgtk-x11-2.0.so.0
#20 0x4008000b in gtk_adjustment_set_value () from
/usr/lib/libgtk-x11-2.0.so.0
#21 0x40177d57 in _gtk_range_get_wheel_delta ()
from /usr/lib/libgtk-x11-2.0.so.0
#22 0x40176cde in _gtk_range_get_wheel_delta ()
from /usr/lib/libgtk-x11-2.0.so.0
#23 0x401766f1 in gtk_range_get_value () from
/usr/lib/libgtk-x11-2.0.so.0
#24 0x401452d4 in _gtk_marshal_BOOLEAN__BOXED ()
from /usr/lib/libgtk-x11-2.0.so.0
#25 0x40411fb7 in g_cclosure_new_swap () from
/usr/lib/libgobject-2.0.so.0
#26 0x40411c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#27 0x40425685 in g_signal_emit_by_name () from
/usr/lib/libgobject-2.0.so.0
#28 0x404249ee in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#29 0x40424f14 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#30 0x40243aa7 in gtk_widget_send_expose () from
/usr/lib/libgtk-x11-2.0.so.0
#31 0x40143872 in gtk_propagate_event () from
/usr/lib/libgtk-x11-2.0.so.0
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-1-686
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages libgtk2.0-0 depends on:
ii libatk1.0-0 1.6.1-2 The ATK accessibility toolkit
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libfontconfig1 2.2.2-2 generic font configuration library
ii libfreetype6 2.1.7-2.1 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.4.2-1 The GLib library of C routines
ii libgtk2.0-bin 2.4.3-1 The programs for the GTK+ graphica
ii libgtk2.0-common 2.4.3-1 Common files for the GTK+ graphica
ii libjpeg62 6b-9 The Independent JPEG Group's JPEG
ii libpango1.0-0 1.4.0-4 Layout and rendering of internatio
ii libpng12-0 1.2.5.0-6 PNG library - runtime
ii libtiff3g 3.6.1-1 Tag Image File Format library
ii libx11-6 4.3.0.dfsg.1-5 X Window System protocol client li
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 4.3.0.dfsg.1-5 X Window System miscellaneous exte
ii libxft2 2.1.2-6 FreeType-based font drawing librar
ii libxi6 4.3.0.dfsg.1-5 X Window System Input extension li
ii libxrandr2 4.3.0.dfsg.1-5 X Window System Resize, Rotate and
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii xlibs 4.3.0.dfsg.1-5 X Window System client libraries m
ii zlib1g 1:1.2.1.1-3 compression library - runtime
-- no debconf information