Package: python-cairo Version: 1.2.0-1 Severity: normal Steps to reproduce: 1) save the attached program as python-cairo1.py 2) apt-get install xvfb 3) xvfb-run python python-cairo1.py
Expected results: 3) program prints "drawing done" Actual results: 3) program prints The application 'python-cairo1.py' lost its connection to the display :99.0; most likely the X server was shut down or you killed/destroyed the application. More info: 1) Uncommenting #samples[0:3] = [95.5]*3 causes the bug not to occur so it seems to be sensitive to the actual coordinates involved in the lines. 2) The bug also occurs with xserver-xorg using a real display (vesa and nv drivers) but without a window manager. 3) xtrace shows some errors near the last request: 000:<:01f2: 16: RENDERRequest(151): RenderChangePicture picture=0x00400072 mask=0x00000001 values={repeat=true(0x01)} 000:<:01f3: 20: RENDERRequest(151): RenderSetPictureFilter picture=0x00400072 name='nearest' 000:<: Warning: Waiting for rest of package (yet got 65516 of 4207108)! 000:<: Warning: buffer filled! 000:<:01f4:4207108: RENDERRequest(151): RenderTrapezoids op=Over(0x03) src=0x00400072 xSrc=0 ySrc=389 dst=0x0040006f maskFormat=0x0000002c trapezoids={top=25493504 ... 4) strace of xorg shows that the server just closes the socket after it has read the request: 23389 select(256, [1 3 4 5 6 11], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted) 23389 --- SIGALRM (Alarm clock) @ 0 (0) --- 23389 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 23389 rt_sigreturn(0) = -1 EINTR (Interrupted system call) 23389 select(256, [1 3 4 5 6 11], NULL, NULL, NULL) = 1 (in [11]) 23389 setitimer(ITIMER_REAL, {it_interval={0, 20000}, it_value={0, 20000}}, NULL) = 0 23389 read(11, "5\30\4\0\37\0 \0\3... 0\207\17d\0\232\375f\0Tx\0\0", 4096) = 4096 23389 shutdown(11, 2 /* send and receive */) = 0 23389 close(11) = 0 5) I don't know if the bug is in python-cairo, cairo, libxrender or xorg. Please reassign if you feel this is not an issue of python-cairo. Also, if you can't reproduce this bug -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-686-bigmem Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1) Versions of packages python-cairo depends on: ii libc6 2.3.6.ds1-13etch7 GNU C Library: Shared libraries ii libcairo2 1.2.4-4.1+etch1 The Cairo 2D vector graphics libra ii python 2.4.4-2 An interactive high-level object-o ii python-central 0.5.12 register and build utility for Pyt python-cairo recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]