Xorg crash in PlayReleasedEvents with Sawfish when using keyboard-based window management
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Natty |
Invalid
|
Undecided
|
Unassigned | ||
Oneiric |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xorg
Ever since upgrading to natty a couple days ago, I've been having problems with Xorg crashing. I got a traceback (already attached, gdmlog1), which suggested something related to pthreads, so I tried disabling hyperthreading and all but one core in BIOS. This reduced the frequency of crashing from about once per 10 minutes to once per 2 days. I don't know if it's specific to the intel driver, or if it is a more general issue.
As far as steps for reproducing the issue... I'm not exactly sure. This is a description of a typical session:
1. Log in via gdm. I'm using sawfish, with a custom Xsession.
2. Start a few programs. I ran xchat, chrome, midori, a few instances of dillo, and a few instances if urxvt (client/server mode, not independent instances).
3. Trigger a few window redraws, by changing desktops or moving windows around. I triggered these actions via key shortcuts, generally a few times in a fraction of a second.
Result: Once in a while, step 3 will cause an Xorg crash. The frequency increases quite a bit with SMP enabled (2 cores + HT, so 4 logical CPUs).
0x000000000043d7e5 in PlayReleasedEvents () at ../../dix/
in ../../dix/events.c
#0 0x000000000043d7e5 in PlayReleasedEvents () at ../../dix/
prev = <value optimized out>
qe = 0x30d15f0
dev = <value optimized out>
pDev = <value optimized out>
#1 ComputeFreezes () at ../../dix/
replayDev = <value optimized out>
w = <value optimized out>
grab = <value optimized out>
dev = <value optimized out>
#2 0x000000000043df1b in ProcAllowEvents (client=0x2f913e0)
at ../../dix/
time = {months = 0, milliseconds = 1161414}
mouse = 0x2cf4dc0
keybd = <value optimized out>
stuff = 0x304b590
#3 0x000000000042e2a9 in Dispatch () at ../../dix/
clientReady = 0x2e77e40
result = <value optimized out>
client = 0x2f913e0
nready = 0
icheck = 0x7f1410
start_tick = 120
#4 0x0000000000421a7e in main (argc=6, argv=<value optimized out>,
envp=<value optimized out>) at ../../dix/
i = <value optimized out>
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6+4ubuntu3
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: None
DRM.card0.DP.1:
status: disconnected
enabled: disabled
dpms: Off
modes:
edid-base64:
DRM.card0.HDMI.A.1:
status: disconnected
enabled: disabled
dpms: Off
modes:
edid-base64:
DRM.card0.LVDS.1:
status: connected
enabled: enabled
dpms: On
modes: 1280x800 1280x800
edid-base64: AP/////
DRM.card0.VGA.1:
status: disconnected
enabled: disabled
dpms: Off
modes:
edid-base64:
Date: Wed May 11 01:51:39 2011
DistUpgraded: Log time: 2011-05-08 22:00:44.661710
DistroCodename: natty
DistroVariant: ubuntu
EcryptfsInUse: Yes
GraphicsCard:
Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device [17aa:215a]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: LENOVO 3249CTO
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=C
SHELL=/bin/zsh
ProcKernelCmdLine: BOOT_IMAGE=
Renderer: Unknown
SourcePackage: xorg
UpgradeStatus: Upgraded to natty on 2011-05-09 (1 days ago)
dmi.bios.date: 12/17/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET62WW (1.32 )
dmi.board.name: 3249CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 3249CTO
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.4+
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.
version.
version.
version.
version.
version.
version.
affects: | xorg (Ubuntu) → xorg-server (Ubuntu) |
description: | updated |
Changed in xorg-server (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Bryce Harrington (bryce) |
description: | updated |
Changed in xorg-server (Ubuntu): | |
status: | Confirmed → Triaged |
tags: | added: rls-mgr-p-tracking |
Changed in xorg-server (Ubuntu): | |
assignee: | Chase Douglas (chasedouglas) → nobody |
status: | Triaged → Invalid |
FWIW, it crashed again about 10 minutes after I filed this. My session lasted about 30 minutes, even with SMP disabled, so I'm not so sure SMP matters. I may have just been lucky when my session lasted for nearly 2 days before.
This has been triggered by changing desktops (ctrl+arrow switches to a desktop in that direction), and by moving a window with the keyboard (hyper+arrow to move the current window in that direction until it hits something). I don't recall any other specific actions which immediately preceded the crash.