Bug#633769: python-gtk2: crashes as soon as a call to set_events is done

Nicolas Évrard nicoe at no-log.org
Wed Jul 13 14:15:31 UTC 2011


Package: python-gtk2
Version: 2.24.0-2
Severity: normal


Please see the following transcript of a python session:

mnms:~% python
Python 2.6.7 (r267:88850, Jul 10 2011, 08:11:54)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>> rootwin = gtk.gdk.get_default_root_window()
>>> rootwin.set_events(gtk.gdk.BUTTON_PRESS_MASK)
>>> The program '.' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
  (Details: serial 481 error_code 10 request_code 2 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously; that
   is, you will receive the error a while after causing it.  To debug your
   program, run it with the --sync command line option to change this
   behavior. You can then get a meaningful backtrace from your debugger if
   you break on the gdk_x_error() function.)

It does not look like I am doing something wrong.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gtk2 depends on:
ii  libatk1.0-0                 2.0.1-2      ATK accessibility toolkit
ii  libc6                       2.13-10      Embedded GNU C Library: Shared lib
ii  libcairo2                   1.10.2-6     The Cairo 2D vector graphics libra
ii  libfontconfig1              2.8.0-3      generic font configuration library
ii  libfreetype6                2.4.4-2      FreeType 2 font engine, shared lib
ii  libgdk-pixbuf2.0-0          2.23.5-1     GDK Pixbuf library
ii  libglib2.0-0                2.28.6-1     The GLib library of C routines
ii  libgtk2.0-0                 2.24.4-3     The GTK+ graphical user interface 
ii  libpango1.0-0               1.28.4-1     Layout and rendering of internatio
ii  python                      2.6.7-1      interactive high-level object-orie
ii  python-cairo                1.8.8-1+b2   Python bindings for the Cairo vect
ii  python-gobject              2.28.6-2     Python bindings for the GObject li
ii  python-numpy                1:1.5.1-2+b1 Numerical Python adds a fast array
ii  python2.6                   2.6.7-3      An interactive high-level object-o
ii  python2.7                   2.7.2-3      An interactive high-level object-o

python-gtk2 recommends no packages.

Versions of packages python-gtk2 suggests:
pn  python-gtk2-doc               <none>     (no description available)

-- no debconf information






More information about the pkg-gnome-maintainers mailing list