Bug#642433: xserver-xorg-core: crashes on pressing random keys on the keyboard while screen locked

2012-06-13 Thread Michal Suchanek
Package: xserver-xorg-core
Version: 2:1.12.1.902-1
Followup-For: Bug #642433

Applied upstream in 472c2d1af75d8e321728589e377f73116adb29fa.

Please update.

Thanks

Michal



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



Bug#642433: xserver-xorg-core: crashes on pressing random keys on the keyboard while screen locked

2012-05-23 Thread Michal Suchanek
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-ker...@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  libudev0164-3
ii  libxau6 1:1.0.7-1
ii  libxdmcp6   1:1.1.1-1
ii  libxfont1   1:1.4.5-2
ii  udev164-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.0 +0200
+++ a/dix/getevents.c	2012-05-23 10:34:38.0 +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))


Bug#642433: xserver-xorg-core: crashes on pressing random keys on the keyboard while screen locked

2012-05-23 Thread Maarten Lankhorst
Hey Michael,

Op 23-05-12 11:13, Michal Suchanek schreef:
 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.

That patch looks like it belongs upstream. Have you tried contacting upstream 
about it?

~Maarten



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



Bug#642433: xserver-xorg-core: crashes on pressing random keys on the keyboard while screen locked

2012-05-23 Thread Michal Suchanek
Hello,

Excerpts from Maarten Lankhorst's message of Wed May 23 12:30:48 +0200 2012:
 Hey Michael,
 
 Op 23-05-12 11:13, Michal Suchanek schreef:
  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.
 
 That patch looks like it belongs upstream. Have you tried contacting upstream 
 about it?
 
Yes, I have.

Thanks

Michal



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



Bug#642433: xserver-xorg-core: crashes on pressing random keys on the keyboard while screen locked

2011-09-23 Thread Michal Suchanek
FDO bug https://bugs.freedesktop.org/show_bug.cgi?id=41149



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



Bug#642433: xserver-xorg-core: crashes on pressing random keys on the keyboard while screen locked

2011-09-22 Thread Michal Suchanek
Package: xserver-xorg-core
Version: 2:1.10.4-1
Followup-For: Bug #642433

It is easily reproduced with

1) locking the screen
2) pressing Esc key
3) pressing 'Lock Desktop' key



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



Bug#642433: xserver-xorg-core: crashes on pressing random keys on the keyboard while screen locked

2011-09-22 Thread Michal Suchanek
Package: xserver-xorg-core
Version: 2:1.10.4-1
Followup-For: Bug #642433

Sending stack trace:


Program received signal SIGSEGV, Segmentation fault.
0x0044719c in GetPointerEvents (events=0x230f390, pDev=0x22ff270, 
type=6, buttons=0, flags=value optimized out, 
mask_in=0x7fffee0d1fb0) at ../../dix/getevents.c:1160
1160../../dix/getevents.c: No such file or directory.
in ../../dix/getevents.c
(gdb) bt full
#0  0x0044719c in GetPointerEvents (events=0x230f390, pDev=0x22ff270, 
type=6, buttons=0, flags=value optimized out, 
mask_in=0x7fffee0d1fb0) at ../../dix/getevents.c:1160
scaled = value optimized out
num_events = 1
ms = 112047063
event = value optimized out
raw = 0x0
x = 0
y = 0
cx = value optimized out
cy = value optimized out
x_frac = 0
y_frac = 0
cx_frac = value optimized out
cy_frac = value optimized out
scr = 0x206d480
mask = {last_bit = 1 '\001', mask = \003\000\000\000, valuators = 
{666, 499, 0 repeats 34 times}}
#1  0x0045df30 in miPointerMove (pDev=0x22ff270, pScreen=0x206d480, 
x=666, y=499) at ../../mi/mipointer.c:576
i = value optimized out
nevents = value optimized out
valuators = {666, 499}
mask = {last_bit = 1 '\001', mask = \003\000\000\000, valuators = 
{666, 499, 0 repeats 34 times}}
#2  miPointerWarpCursor (pDev=0x22ff270, pScreen=0x206d480, x=666, y=499) at 
../../mi/mipointer.c:310
pPointer = value optimized out
changedScreen = 0 '\000'
pScreenPriv = 0x1
#3  0x00525801 in xf86WarpCursor (pDev=0x22ff270, pScreen=0x206d480, 
x=666, y=499)
at ../../../../hw/xfree86/common/xf86Cursor.c:473
sigstate = 0
#4  0x0045e42f in miPointerSetCursorPosition (pDev=0x22ff270, 
pScreen=value optimized out, x=value optimized out, 
y=value optimized out, generateEvent=1) at ../../mi/mipointer.c:233
pScreenPriv = 0x0
#5  0x005670d3 in AnimCurSetCursorPosition (pDev=value optimized out, 
pScreen=0x206d480, x=value optimized out, 
y=value optimized out, generateEvent=value optimized out) at 
../../render/animcur.c:261
as = 0x209ee50
ret = value optimized out
#6  0x0043f2a2 in ProcWarpPointer (client=value optimized out) at 
../../dix/events.c:3311
dest = 0x20d0380
x = 666
y = 499
rc = value optimized out
newScreen = 0x206d480
dev = 0x22ff270
tmp = value optimized out
pSprite = 0x21b5000
stuff = 0x234eca8
#7  0x00432ee9 in Dispatch () at ../../dix/dispatch.c:431
clientReady = 0x22dbe50
result = value optimized out
client = 0x22d3c00
nready = 0
icheck = 0x7e95f0
start_tick = 0
#8  0x00426ffe in main (argc=2, argv=value optimized out, envp=value 
optimized out) at ../../dix/main.c:287
i = value optimized out
alwaysCheckForInput = {0, 1}



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



Bug#642433: xserver-xorg-core: crashes on pressing random keys on the keyboard while screen locked

2011-09-22 Thread Julien Cristau
On Thu, Sep 22, 2011 at 17:42:25 +0200, Michal Suchanek wrote:

 Package: xserver-xorg-core
 Version: 2:1.10.4-1
 Severity: important
 
 I locked my screen to dust off my keyboard.
 
 While doing so the X server crashed.
 
Is it reproducible with 1.11?

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#642433: xserver-xorg-core: crashes on pressing random keys on the keyboard while screen locked

2011-09-22 Thread Michal Suchanek
Excerpts from Julien Cristau's message of Thu Sep 22 18:29:21 +0200 2011:
 On Thu, Sep 22, 2011 at 17:42:25 +0200, Michal Suchanek wrote:
 
  Package: xserver-xorg-core
  Version: 2:1.10.4-1
  Severity: important
  
  I locked my screen to dust off my keyboard.
  
  While doing so the X server crashed.
  
 Is it reproducible with 1.11?

Yes, it is.

Thanks

Michal



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



Bug#642433: xserver-xorg-core: crashes on pressing random keys on the keyboard while screen locked

2011-09-22 Thread Julien Cristau
On Thu, Sep 22, 2011 at 20:52:41 +0200, Michal Suchanek wrote:

 Excerpts from Julien Cristau's message of Thu Sep 22 18:29:21 +0200 2011:
  On Thu, Sep 22, 2011 at 17:42:25 +0200, Michal Suchanek wrote:
  
   Package: xserver-xorg-core
   Version: 2:1.10.4-1
   Severity: important
   
   I locked my screen to dust off my keyboard.
   
   While doing so the X server crashed.
   
  Is it reproducible with 1.11?
 
 Yes, it is.
 
You know where bugzilla is.  Please let us know the bug number for
tracking.  Include the full backtrace and reproduction steps with 1.11
on the upstream 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#642433: xserver-xorg-core: crashes on pressing random keys on the keyboard while screen locked

2011-09-22 Thread Michal Suchanek

The 'Lock Desktop' key produces something very weird when pressed.

I have no idea how to reproduce on a standard keyboard:

ButtonPress event, serial 27, synthetic NO, window 0x241,
root 0x151, subw 0x242, time 121788805, (42,35), root:(111,978),
state 0x0, button 2, same_screen YES

EnterNotify event, serial 27, synthetic NO, window 0x241,
root 0x151, subw 0x0, time 121788805, (42,35), root:(111,978),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 512

KeymapNotify event, serial 27, synthetic NO, window 0x0,
keys:  81  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

ButtonRelease event, serial 27, synthetic NO, window 0x241,
root 0x151, subw 0x242, time 121789061, (42,35), root:(111,978),
state 0x200, button 2, same_screen YES

Thanks

Michal



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