Xorg freezes, mouse pointer still moves

Bug #678137 reported by Stephen M. Webb
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xorg

This is on a Lenovo T410 with the nouveau driver installed and an external monitor connected, running 10.10.

Running kernel 2.6.37 on recommendation of a kernel developer in an attempt to solve this problem. Same problem obtains with stock 10.10 kernel.

Main symptom: X display is frozen, no display updates, no keyboard response, no clicky from mouse. Mouse cursor still moves, though. Problem happens frequently and generally requires a system reboot to recover.

Finally caught this while ssh'd in. Xorg cores with the following.

[ 1076.698] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[ 1076.699]
Backtrace:
[ 1076.716] 0: /usr/bin/X (xorg_backtrace+0x28) [0x4a0fa8]
[ 1076.716] 1: /usr/bin/X (mieqEnqueue+0x1f4) [0x4a0824]
[ 1076.717] 2: /usr/bin/X (xf86PostMotionEventP+0xc4) [0x47c194]
[ 1076.717] 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f053870b000+0x5399) [0x7f0538710399]
[ 1076.717] 4: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f053870b000+0x5a8e) [0x7f0538710a8e]
[ 1076.717] 5: /usr/bin/X (0x400000+0x6b837) [0x46b837]
[ 1076.717] 6: /usr/bin/X (0x400000+0x11f4e3) [0x51f4e3]
[ 1076.717] 7: /lib/libpthread.so.0 (0x7f053da47000+0xfb40) [0x7f053da56b40]
[ 1076.717] 8: /lib/libc.so.6 (ioctl+0x7) [0x7f053ca72467]
[ 1076.717] 9: /lib/libdrm.so.2 (drmIoctl+0x28) [0x7f053b0210a8]
[ 1076.717] 10: /lib/libdrm.so.2 (drmCommandWrite+0x1b) [0x7f053b02132b]
[ 1076.717] 11: /lib/libdrm_nouveau.so.1 (0x7f053a9e3000+0x2a9d) [0x7f053a9e5a9d]
[ 1076.717] 12: /lib/libdrm_nouveau.so.1 (nouveau_bo_map_range+0xff) [0x7f053a9e5c8f]
[ 1076.717] 13: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0x7f053abe9000+0x56fd) [0x7f053abee6fd]
[ 1076.717] 14: /usr/lib/xorg/modules/libexa.so (0x7f0539b3b000+0x45a7) [0x7f0539b3f5a7]
[ 1076.717] 15: /usr/lib/xorg/modules/libexa.so (0x7f0539b3b000+0x8764) [0x7f0539b43764]
[ 1076.717] 16: /usr/lib/xorg/modules/libexa.so (0x7f0539b3b000+0x4834) [0x7f0539b3f834]
[ 1076.717] 17: /usr/bin/X (0x400000+0xdc648) [0x4dc648]
[ 1076.717] 18: /usr/bin/X (ValidateGC+0x24) [0x43f4d4]
[ 1076.717] 19: /usr/bin/X (0x400000+0x2a274) [0x42a274]
[ 1076.717] 20: /usr/bin/X (0x400000+0x2c2d9) [0x42c2d9]
[ 1076.717] 21: /usr/bin/X (0x400000+0x2184b) [0x42184b]
[ 1076.717] 22: /lib/libc.so.6 (__libc_start_main+0xfe) [0x7f053c9b2d8e]
[ 1076.717] 23: /usr/bin/X (0x400000+0x213d9) [0x4213d9]

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xorg 1:7.5+6ubuntu3
Uname: Linux 2.6.37-020637rc2-generic x86_64
Architecture: amd64
CheckboxSubmission: 8b49a547dc04aaf82cc99d479f64e138
CheckboxSystem: b1865df84255b8716d3bcc269ff410d1
Date: Sun Nov 21 09:08:55 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100630.2)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
system:
 distro: Ubuntu
 codename: maverick
 architecture: x86_64
 kernel: 2.6.37-020637rc2-generic

Revision history for this message
Stephen M. Webb (bregma) wrote :
Revision history for this message
Chase Douglas (chasedouglas) wrote :

The stack trace shows that the X server's input event queue is overflowing, meaning the input signal handler keeps running and filling the queue while the X server normal context is hung somewhere. Looking below the input signal handling in the stack trace points to the drm stack as the culprit.

bugbot (bugbot)
affects: xorg (Ubuntu) → xserver-xorg-input-evdev (Ubuntu)
Revision history for this message
gene (eugenios) wrote :

Hello, I got a similar issue. However, the driver is i915 (xorg-intel-video). My crash concerns only a current gnome session does not require reboots and bring me back to gdm login.

uname -a: Linux 2.6.37-rc3-mine #1 SMP Sat Nov 27 19:08:07 CST 2010 x86_64 GNU/Linux (with Mike Galbraith's patch applied), Lucid
in kern.log I get

in kern.log I get
Dec 2 12:58:43 my kernel: [401571.066888] 11:3:1: cannot get freq at ep 0x84
Dec 2 13:05:51 my kernel: [401998.422719] [drm:i915_gem_mmap_gtt_ioctl] *ERROR* Attempting to mmap a purgeable buffer

A gnome session is lost under some cpu/disk/memory load. When trying to add media to amarok. The Xorg also contains this:

[mi] EQ overflowing. The server is probably stuck in an infinite loop.

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x4a33e8]
1: /usr/bin/X (mieqEnqueue+0x1f4) [0x4a2c64]
2: /usr/bin/X (xf86PostMotionEventP+0xc4) [0x47d044]
3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f8fcd4a8000+0x53cf) [0x7f8fcd4ad3cf]
4: /usr/bin/X (0x400000+0x6fe47) [0x46fe47]
5: /usr/bin/X (0x400000+0x11d363) [0x51d363]
6: /lib/libpthread.so.0 (0x7f8fd1935000+0xf8f0) [0x7f8fd19448f0]
7: /lib/libc.so.6 (ioctl+0x7) [0x7f8fd06ec197]
8: /lib/libdrm.so.2 (drmIoctl+0x28) [0x7f8fcec9d5b8]
9: /lib/libdrm.so.2 (drmCommandNone+0x16) [0x7f8fcec9d8b6]
10: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f8fce7ef000+0x27838) [0x7f8fce816838]
11: /usr/bin/X (0x400000+0x168a44) [0x568a44]
12: /usr/bin/X (0x400000+0xa58a0) [0x4a58a0]
13: /usr/bin/X (BlockHandler+0x50) [0x435df0]
14: /usr/bin/X (WaitForSomething+0x141) [0x45faa1]
15: /usr/bin/X (0x400000+0x30952) [0x430952]
16: /usr/bin/X (0x400000+0x261aa) [0x4261aa]
17: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f8fd062cc4d]
18: /usr/bin/X (0x400000+0x25d59) [0x425d59]

See #682712

Revision history for this message
Rob Lanphier (robla) wrote :

I'm seeing something very similar on my Lenovo T510. Backtrace in my Xorg file:

[mi] EQ overflowing. The server is probably stuck in an infinite loop.
Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e82fb]
1: /usr/bin/X (mieqEnqueue+0x1ab) [0x80e7aeb]
2: /usr/bin/X (xf86PostMotionEventP+0xd2) [0x80c2172]
3: /usr/lib/xorg/modules/input/evdev_drv.so (0xb6c60000+0x4961) [0xb6c64961]
4: /usr/lib/xorg/modules/input/evdev_drv.so (0xb6c60000+0x4a56) [0xb6c64a56]
5: /usr/lib/xorg/modules/input/evdev_drv.so (0xb6c60000+0x5296) [0xb6c65296]
6: /usr/bin/X (0x8048000+0x6951f) [0x80b151f]
7: /usr/bin/X (0x8048000+0x126aee) [0x816eaee]
8: (vdso) (__kernel_sigreturn+0x0) [0xb7875400]
9: /lib/libdrm.so.2 (drmCommandWrite+0x3b) [0xb7431b9b]
10: /lib/libdrm_nouveau.so.1 (0xb743d000+0x284a) [0xb743f84a]
11: /lib/libdrm_nouveau.so.1 (nouveau_bo_map_range+0xf1) [0xb743fa41]
12: /lib/libdrm_nouveau.so.1 (nouveau_bo_map+0x33) [0xb743fb13]
13: /lib/libdrm_nouveau.so.1 (0xb743d000+0x19e9) [0xb743e9e9]
14: /lib/libdrm_nouveau.so.1 (nouveau_pushbuf_flush+0x1ca) [0xb743edaa]
15: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0xb7405000+0x1b6ce) [0xb74206ce]
16: /usr/lib/xorg/modules/libexa.so (0xb7369000+0x918b) [0xb737218b]
17: /usr/lib/xorg/modules/libexa.so (0xb7369000+0xa3c4) [0xb73733c4]
18: /usr/bin/X (0x8048000+0xdb278) [0x8123278]
19: /usr/lib/xorg/modules/libexa.so (0xb7369000+0xc679) [0xb7375679]
20: /usr/bin/X (0x8048000+0xdaae9) [0x8122ae9]
21: /usr/bin/X (CompositeGlyphs+0xb0) [0x81bea90]
22: /usr/bin/X (0x8048000+0xd4463) [0x811c463]
23: /usr/bin/X (0x8048000+0xd0293) [0x8118293]
24: /usr/bin/X (0x8048000+0x26087) [0x806e087]
25: /usr/bin/X (0x8048000+0x1a5ba) [0x80625ba]
26: /lib/libc.so.6 (__libc_start_main+0xe7) [0xb759fce7]
27: /usr/bin/X (0x8048000+0x1a191) [0x8062191]

Revision history for this message
shinguz (oli-sennhauser) wrote :

Same with me: Lenovo T410 with Kubuntu 10.10
Crashes once or twice a day. Especially when doing hectic mouse movements (firefox, quanta, copy/paste).
Not fund to work in such a way!
Similar bugs seems to be: 553789, 541500, 557895, 598656, 626746

Get the same behaviour as well with the following stack trace:

0: /usr/bin/X (xorg_backtrace+0x28) [0x4a0fa8]
1: /usr/bin/X (mieqEnqueue+0x1f4) [0x4a0824]
2: /usr/bin/X (xf86PostMotionEventP+0xc4) [0x47c194]
3: /usr/bin/X (xf86PostMotionEvent+0xa9) [0x47c339]
4: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7f91f1d35000+0x37b3) [0x7f91f1d387b3]
5: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7f91f1d35000+0x5d48) [0x7f91f1d3ad48]

Changed in xserver-xorg-input-evdev (Ubuntu):
status: New → Confirmed
Revision history for this message
Olivier Godart (olivier-godart-gmail) wrote :

Hi,

IMHO, this is NOT a duplicate of bug #553789 : maybe the symptoms are the same, but I experience it with the intel driver (with an intel graphic card.

It happens to me sometimes when I try to open a word document in libreoffice (but I can't swear it's always the case).

When it happens, everything on the screen is frozen, the keyboard doesn't react (even the shift lock doesn't toggle the led).
The mouse can still move on the screen but can't click anything.
The hard disk still works so it's not a kernel panic.
The power button doesn't work, ctrl alt backspace doesn't work.

The only thing I can do is hard reboot.

I am running Ubuntu 11.04.
This is my uname -a : Linux olivier-Latitude-E6420 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

This is what I found in my xorg.0.log:
[ 1873.079] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[ 1873.079]
Backtrace:
[ 1873.123] 0: /usr/bin/X (xorg_backtrace+0x26) [0x4a2656]
[ 1873.123] 1: /usr/bin/X (mieqEnqueue+0x1f4) [0x4a1914]
[ 1873.123] 2: /usr/bin/X (xf86PostMotionEventM+0x97) [0x47d797]
[ 1873.123] 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f3b397c0000+0x5ff3) [0x7f3b397c5ff3]
[ 1873.123] 4: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f3b397c0000+0x668d) [0x7f3b397c668d]
[ 1873.123] 5: /usr/bin/X (0x400000+0x6c687) [0x46c687]
[ 1873.123] 6: /usr/bin/X (0x400000+0x124c1e) [0x524c1e]
[ 1873.123] 7: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f3b3e7e1000+0xfc60) [0x7f3b3e7f0c60]
[ 1873.123] 8: /lib/x86_64-linux-gnu/libc.so.6 (ioctl+0x7) [0x7f3b3d7e9297]
[ 1873.123] 9: /lib/x86_64-linux-gnu/libdrm.so.2 (drmIoctl+0x28) [0x7f3b3bd83058]
[ 1873.123] 10: /lib/x86_64-linux-gnu/libdrm_intel.so.1 (0x7f3b3b71d000+0x4cba) [0x7f3b3b721cba]
[ 1873.123] 11: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f3b3b929000+0xa965) [0x7f3b3b933965]
[ 1873.123] 12: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f3b3b929000+0x10ac2) [0x7f3b3b939ac2]
[ 1873.123] 13: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f3b3b929000+0x31a90) [0x7f3b3b95aa90]
[ 1873.123] 14: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f3b3b929000+0x2e4f8) [0x7f3b3b9574f8]
[ 1873.124] 15: /usr/bin/X (0x400000+0xdbf73) [0x4dbf73]
[ 1873.124] 16: /usr/bin/X (0x400000+0xd4879) [0x4d4879]
[ 1873.124] 17: /usr/bin/X (0x400000+0x2e2a9) [0x42e2a9]
[ 1873.124] 18: /usr/bin/X (0x400000+0x21a7e) [0x421a7e]
[ 1873.124] 19: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xff) [0x7f3b3d72aeff]
[ 1873.124] 20: /usr/bin/X (0x400000+0x21629) [0x421629]

Revision history for this message
Stephen M. Webb (bregma) wrote :

This problem was resolved by updating to Linux kernel 2.6.38 or later.

The root cause of the problem lay in the nouveau kernel driver.

Revision history for this message
Olivier Godart (olivier-godart-gmail) wrote :

Well I am using Linux kernel 2.6.38 and I am NOT using the nouveau kernel driver (I am using intel driver - please read my post).

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Olivier; file a new bug then. Closing this one.

affects: xserver-xorg-input-evdev (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.