Package: python-pygame Version: 1.7.1release-4.2 Severity: normal
I'm writing an application which needs to be able to switch between full-screen and windowed operation, which it does by deleting its old surface then creating a new one with pygame.display.set_mode(). At this point it often crashes in the set_mode() call, feezing my application until I send it a KILL signal. The new surface/window does appear on screen but stays black. The bug may be in SDL or even xorg or nvidia-glx, but I'm reporting it here because there is some python-specific info in the backtrace which I got by running with SDL_DEBUG=1. There is sometimes a delay before the backtrace appears. Locking assertion failure. Backtrace: #0 /usr/lib/libxcb-xlib.so.0 [0x7f69ae98a97c] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x24) [0x7f69ae98aa84] #2 /usr/lib/libX11.so.6 [0x7f69aebd9340] #3 /usr/lib/libX11.so.6(XQueryPointer+0x136) [0x7f69aebc7916] #4 /usr/lib/libSDL-1.2.so.0 [0x7f69b5d50318] #5 /usr/lib/libSDL-1.2.so.0 [0x7f69b5d50b0f] #6 /usr/lib/libSDL-1.2.so.0 [0x7f69b5d5154b] #7 /usr/lib/libSDL-1.2.so.0(SDL_PumpEvents+0x30) [0x7f69b5d25560] #8 /usr/lib/libSDL-1.2.so.0(SDL_WaitEvent+0x9) [0x7f69b5d259a9] #9 /usr/lib/python2.5/site-packages/pygame/event.so [0x7f69b3ae4686] #10 python(PyEval_EvalFrameEx+0x57e2) [0x4919c2] #11 python(PyEval_EvalFrameEx+0x6872) [0x492a52] #12 python(PyEval_EvalFrameEx+0x6872) [0x492a52] #13 python(PyEval_EvalCodeEx+0x6ad) [0x49313d] #14 python [0x4dd632] #15 python(PyObject_Call+0x13) [0x4187b3] #16 python [0x41f658] #17 python(PyObject_Call+0x13) [0x4187b3] #18 python(PyEval_CallObjectWithKeywords+0x72) [0x48b262] #19 python [0x4bee2d] Locking assertion failure. Backtrace: #0 /usr/lib/libxcb-xlib.so.0 [0x7f69ae98a97c] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x15) [0x7f69ae98aa15] #2 /usr/lib/libX11.so.6 [0x7f69aebd9420] #3 /usr/lib/libX11.so.6 [0x7f69aebd9b5b] #4 /usr/lib/libX11.so.6 [0x7f69aebd9eb5] #5 /usr/lib/libX11.so.6(XMaskEvent+0x9f) [0x7f69aebc022f] #6 /usr/lib/libSDL-1.2.so.0 [0x7f69b5d54aa0] #7 /usr/lib/libSDL-1.2.so.0 [0x7f69b5d54b86] #8 /usr/lib/libSDL-1.2.so.0 [0x7f69b5d57e8b] #9 /usr/lib/libSDL-1.2.so.0(SDL_SetVideoMode+0x1e1) [0x7f69b5d480c1] #10 /usr/lib/python2.5/site-packages/pygame/display.so [0x7f69b4100d67] #11 python(PyEval_EvalFrameEx+0x57e2) [0x4919c2] #12 python(PyEval_EvalFrameEx+0x6872) [0x492a52] #13 python(PyEval_EvalFrameEx+0x6872) [0x492a52] #14 python(PyEval_EvalCodeEx+0x6ad) [0x49313d] #15 python [0x4dd632] #16 python(PyObject_Call+0x13) [0x4187b3] #17 python [0x41f658] #18 python(PyObject_Call+0x13) [0x4187b3] #19 python(PyEval_EvalFrameEx+0x3d12) [0x48fef2] -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.27.4 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-pygame depends on: ii libc6 2.7-16 GNU C Library: Shared libraries ii libsdl-image1.2 1.2.6-3 image loading library for Simple D ii libsdl-mixer1.2 1.2.8-5 mixer library for Simple DirectMed ii libsdl-ttf2.0-0 2.0.9-1 ttf library for Simple DirectMedia ii libsdl1.2debian 1.2.13-4 Simple DirectMedia Layer ii libsmpeg0 0.4.5+cvs20030824-2.2 SDL MPEG Player Library - shared l ii python 2.5.2-3 An interactive high-level object-o ii python-central 0.6.8 register and build utility for Pyt ii python-numeric 24.2-9 Numerical (matrix-oriented) Mathem python-pygame recommends no packages. python-pygame suggests no packages. -- no debconf information -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.27.4 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-pygame depends on: ii libc6 2.7-16 GNU C Library: Shared libraries ii libsdl-image1.2 1.2.6-3 image loading library for Simple D ii libsdl-mixer1.2 1.2.8-5 mixer library for Simple DirectMed ii libsdl-ttf2.0-0 2.0.9-1 ttf library for Simple DirectMedia ii libsdl1.2debian 1.2.13-4 Simple DirectMedia Layer ii libsmpeg0 0.4.5+cvs20030824-2.2 SDL MPEG Player Library - shared l ii python 2.5.2-3 An interactive high-level object-o ii python-central 0.6.8 register and build utility for Pyt ii python-numeric 24.2-9 Numerical (matrix-oriented) Mathem python-pygame recommends no packages. python-pygame suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

