Bug#642433: xserver-xorg-core: crashes on pressing random keys on the keyboard while screen locked
Package: xserver-xorg-core
Version: 2:1.12.1.902-1
Followup-For: Bug #642433
With 1.12.1 and 1.12.1.902-1 the X server crashes again.
Attaching patch.
VGA-compatible devices on PCI bus:
----------------------------------
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Cedar PRO [Radeon HD 5450] [1002:68f9]
/etc/X11/xorg.conf does not exist.
Contents of /etc/X11/xorg.conf.d:
---------------------------------
total 8
-rw-r--r-- 1 root root 129 Oct 6 2011 10-trackball-middle-emu.conf
-rw-r--r-- 1 root root 150 Oct 6 2011 10-trackball-middle-emu.conf~
KMS configuration files:
------------------------
/etc/modprobe.d/radeon-kms.conf:
options radeon modeset=1
Kernel version (/proc/version):
-------------------------------
Linux version 3.2.0-2-amd64 (Debian 3.2.16-1) (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-1) ) #1 SMP Mon Apr 30 05:20:23 UTC 2012
Xorg X server log files on system:
----------------------------------
-rw-r--r-- 1 root root 43446 Oct 7 2011 /var/log/Xorg.2.log
-rw-r--r-- 1 root root 32234 May 2 13:06 /var/log/Xorg.!.log
-rw-r--r-- 1 root root 56401 May 23 10:28 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 51686 May 23 11:07 /var/log/Xorg.0.log
-- System Information:
Debian Release: wheezy/sid
APT prefers stable
APT policy: (900, 'stable'), (500, 'testing'), (410, 'unstable'), (200, 'experimental'), (111, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xserver-xorg-core depends on:
ii keyboard-configuration 1.68+squeeze2
ii libaudit0 1:1.7.18-1.1
ii libc6 2.13-32
ii libdrm2 2.4.33+git20120502.52887298-0ubuntu0sarvatt~precise
ii libgcrypt11 1.5.0-3
ii libpciaccess0 0.13.1-2
ii libpixman-1-0 0.24.4-1
ii libselinux1 2.1.9-2
ii libudev0 164-3
ii libxau6 1:1.0.7-1
ii libxdmcp6 1:1.1.1-1
ii libxfont1 1:1.4.5-2
ii udev 164-3
ii xserver-common 2:1.13+git-20120423113043~6a1fdcd
Versions of packages xserver-xorg-core recommends:
ii libgl1-mesa-dri 8.1~git20120503.1bd3dafe-0ubuntu0ricotz~precisenw1
Versions of packages xserver-xorg-core suggests:
pn xfonts-100dpi | xfonts-75dpi <none>
pn xfonts-scalable <none>
-- no debconf information
--- a/dix/getevents.c 2012-05-23 10:31:42.000000000 +0200
+++ a/dix/getevents.c 2012-05-23 10:34:38.000000000 +0200
@@ -1574,7 +1574,7 @@
/* Now turn the smooth-scrolling axes back into emulated button presses
* for legacy clients, based on the integer delta between before and now */
for (i = 0; i < valuator_mask_size(&mask); i++) {
- if (i >= pDev->valuator->numAxes)
+ if ( !pDev->valuator || (i >= pDev->valuator->numAxes))
break;
if (!valuator_mask_isset(&mask, i))
Reply to: