Bug#367698: libgtk2.0-0: pygtk application crashes sometimes, traceback shows failed assertion in gtktextlayout.c

Achim Gaedke Achim.Gaedke at physik.tu-darmstadt.de
Wed May 17 18:17:03 UTC 2006


Package: libgtk2.0-0
Version: 2.8.16-1
Severity: normal

Despite the python program, this is how to "reproduce" this error:

achim at dilbert:~/DAMARIS_Workshop2006$ ulimit -c unlimited
achim at dilbert:~/DAMARIS_Workshop2006$ python2.4 ~/damaris/frontends/reddamaris/DamarisGUI.py Experiment1.py ResultScript1.py

Gtk-ERROR **: file gtktextlayout.c: line 1253 (set_para_values): should not be reached
aborting...
Aborted (core dumped)

Calling the traceback in gdb I found the assertion:
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7de06d1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7de1f9b in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb69ad43d in g_logv () from /usr/lib/libglib-2.0.so.0
#4  0xb69ad46e in g_log () from /usr/lib/libglib-2.0.so.0
#5  0xb69ad4d3 in g_assert_warning () from /usr/lib/libglib-2.0.so.0
#6  0xb668d1a7 in gtk_text_layout_validate () from 
/usr/lib/libgtk-x11-2.0.so.0
#7  0xb668e188 in gtk_text_layout_get_line_display () from 
/usr/lib/libgtk-x11-2.0.so.0
#8  0xb668ee0e in gtk_text_layout_set_cursor_direction () from 
/usr/lib/libgtk-x11-2.0.so.0
#9  0xb668c14f in gtk_text_layout_wrap () from 
/usr/lib/libgtk-x11-2.0.so.0
#10 0xb66783a9 in _gtk_text_btree_validate_line () from 
/usr/lib/libgtk-x11-2.0.so.0
#11 0xb668cbed in gtk_text_layout_validate_yrange () from 
/usr/lib/libgtk-x11-2.0.so.0
#12 0xb669f4cd in gtk_text_view_get_default_attributes () from 
/usr/lib/libgtk-x11-2.0.so.0
#13 0xb669f939 in gtk_text_view_scroll_to_iter () from 
/usr/lib/libgtk-x11-2.0.so.0
#14 0xb669f9a8 in gtk_text_view_scroll_to_iter () from 
/usr/lib/libgtk-x11-2.0.so.0
#15 0xb69a6cc1 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#16 0xb69a4691 in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0
#17 0xb69a79d7 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#18 0xb69a7f28 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0xb66002a1 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb68d6f10 in init_gtk () from 
/usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
#21 0x080bab7f in PyEval_EvalFrame ()
#22 0x080baf80 in PyEval_EvalFrame ()
#23 0x080bd9be in PyEval_EvalCodeEx ()
#24 0x080bdc35 in PyEval_EvalCode ()
#25 0x080e0bdc in PyRun_FileExFlags ()
#26 0x080e0ea3 in PyRun_SimpleFileExFlags ()
#27 0x08055863 in Py_Main ()
#28 0xb7dcbeb0 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#29 0x08054e11 in _start ()

It is too deep inside gtk that it is likely to have a python programming 
error. The python script tries to scroll down a TextView to display the 
last line.

Thanks for helping.

Achim

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libgtk2.0-0 depends on:
ii  libatk1.0-0               1.11.4-2       The ATK accessibility toolkit
ii  libc6                     2.3.6-7        GNU C Library: Shared libraries
ii  libcairo2                 1.0.4-2        The Cairo 2D vector graphics libra
ii  libfontconfig1            2.3.2-5.1      generic font configuration library
ii  libglib2.0-0              2.10.2-1       The GLib library of C routines
ii  libgtk2.0-bin             2.8.16-1       The programs for the GTK+ graphica
ii  libgtk2.0-common          2.8.16-1       Common files for the GTK+ graphica
ii  libjpeg62                 6b-12          The Independent JPEG Group's JPEG 
ii  libpango1.0-0             1.12.1-2       Layout and rendering of internatio
ii  libpng12-0                1.2.8rel-5.1   PNG library - runtime
ii  libtiff4                  3.8.2-1        Tag Image File Format (TIFF) libra
ii  libx11-6                  6.9.0.dfsg.1-6 X Window System protocol client li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  6.9.0.dfsg.1-6 X Window System miscellaneous exte
ii  libxi6                    6.9.0.dfsg.1-6 X Window System Input extension li
ii  libxinerama1              6.9.0.dfsg.1-6 X Window System multi-head display
ii  libxrandr2                6.9.0.dfsg.1-6 X Window System Resize, Rotate and
ii  libxrender1               1:0.9.0.2-1    X Rendering Extension client libra

Versions of packages libgtk2.0-0 recommends:
ii  hicolor-icon-theme            0.8-3      default fallback theme for FreeDes

-- no debconf information





More information about the Pkg-gnome-maintainers mailing list