Bug#622553: xserver-xorg: Calling XFlush causes a crasch from XNextEvent under 64 bit squeeze

2011-04-27 Thread Julien Cristau
Please always keep the bug report in cc.

On Wed, Apr 27, 2011 at 12:58:36 +0200, Leif Asbrink wrote:

 Hello Julien,
 
 With some hesitation I changed my /etc/apt/sources.list
 to use sid instead of squeeze for my 64 bit installation.
 That way I got libx11-6=2:1.4.3-1 installed.
 
 That has eliminated the bug:-) 
 
 The application that has the problem under squeeze is Linrad:
 http://www.sm5bsz.com/linuxdsp/linrad.htm
 
 I have a 32 bit sid installation on that same laptop. I made it
 as an upgrade from squeeze exactly as I now did with the 54 
 bit installation, but 32 bit sid does not work. When I try
 startx I just get a black screen with a mouse cursor on it.
 I can move the mouse cursor and CtrlAltF1 brings me back to 
 the terminal. This problem with sid was the reason I hesitated
 to upgrade the 64 bit squeeze to sid.
 
[...]
 Can you tellme if/when the new libx11 will be introduced in
 squeeze?
 
It won't.  A targetted fix might, if it can be tracked down and is
obvious enough to not cause regressions.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#622553: xserver-xorg: Calling XFlush causes a crasch from XNextEvent under 64 bit squeeze

2011-04-26 Thread Julien Cristau
On Tue, Apr 12, 2011 at 23:40:00 +0200, Leif Asbrink wrote:

 Package: xserver-xorg
 Version: 1:7.5+8
 Severity: normal
 
 Not long ago (Mandriva 2007, 2.6.18 or so) it was necessary to call XFlush() 
 to
 make moving objects that were placed on screen with XPutImage mov smoothly.
 Long ago (Red Hat 9.0 2.4.20 or so) the screen would stay black until a call
 was made to XFlush (or the mouse was moved or a key pressed.)
 
 The man page says XFlush is not needed, but for compatibility I want to keep
 it.
 Xflush causes XNextEvent to kill my application with this error:
 .../../src/xcb_io.c:249:
 process_responses: Assertion'(((long) (dpy-last_request_read) - (long) (dpy-
 request)) = 0)' failed.
 
 This happens when I use the mouse on the title bar to move around my own
 or any other application.
 
 I can only see the problem on my 64 bit squeeze. It was not present in 64 bit
 Lenny
 and it is not present in 32 bit squeeze or any other distribution as far as I
 know.
 
 Everything was updated to the latest state on April 12 2011.
 
Is this reproducible with libx11-6 2:1.4.3-1?  Can you share a test app
demonstrating the bug?

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#622553: xserver-xorg: Calling XFlush causes a crasch from XNextEvent under 64 bit squeeze

2011-04-12 Thread Leif Asbrink
Package: xserver-xorg
Version: 1:7.5+8
Severity: normal

Not long ago (Mandriva 2007, 2.6.18 or so) it was necessary to call XFlush() to
make moving objects that were placed on screen with XPutImage mov smoothly.
Long ago (Red Hat 9.0 2.4.20 or so) the screen would stay black until a call
was made to XFlush (or the mouse was moved or a key pressed.)

The man page says XFlush is not needed, but for compatibility I want to keep
it.
Xflush causes XNextEvent to kill my application with this error:
.../../src/xcb_io.c:249:
process_responses: Assertion'(((long) (dpy-last_request_read) - (long) (dpy-
request)) = 0)' failed.

This happens when I use the mouse on the title bar to move around my own
or any other application.

I can only see the problem on my 64 bit squeeze. It was not present in 64 bit
Lenny
and it is not present in 32 bit squeeze or any other distribution as far as I
know.

Everything was updated to the latest state on April 12 2011.



-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Jul 25  2010 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1889472 Feb 18 21:42 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller [8086:2a02] (rev 0c)

Xorg X server configuration file status:

-rw-r--r-- 1 root root 1077 Jul 25  2010 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
---
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type man xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  XkbRules  xorg
Option  XkbModel  pc105
Option  XkbLayout se
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
EndSection

Section Device
Identifier  Configured Video Device
EndSection

Section Monitor
Identifier  Configured Monitor
EndSection

Section Screen
Identifier  Default Screen
Monitor Configured Monitor
EndSection

/etc/X11/xorg.conf.d does not exist.

KMS configuration files:

/etc/modprobe.d/i915-kms.conf:
  options i915 modeset=1
/etc/modprobe.d/radeon-kms.conf:
  options radeon modeset=1

Kernel version (/proc/version):
---
Linux version 2.6.32-5-amd64 (Debian 2.6.32-31) (b...@decadent.org.uk) (gcc 
version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Mar 7 21:35:22 UTC 2011

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 21017 Apr 12 23:06 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.37-trunk-amd64 x86_64 Debian
Current Operating System: Linux Lenny64 2.6.32-5-amd64 #1 SMP Mon Mar 7 
21:35:22 UTC 2011 x86_64
Kernel command line: root=/dev/sda6 ro quiet
Build Date: 18 February 2011  08:27:24PM
xorg-server 2:1.7.7-13 (Cyril Brulebois k...@debian.org) 
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue Apr 12 23:06:32 2011
(==) Using config file: /etc/X11/xorg.conf
(==) Using system config directory /usr/share/X11/xorg.conf.d
(==) No Layout section.  Using the first Screen section.
(**) |--Screen Default Screen (0)
(**) |   |--Monitor Configured Monitor
(==) No device specified for screen Default Screen.
Using the first device section listed.
(**) |   |--Device Configured Video Device
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,