[Bug 93610] New: X session crashes with EQ overflowing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 6 10:03:37 PST 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93610

            Bug ID: 93610
           Summary: X session crashes with EQ overflowing
           Product: xorg
           Version: 7.5 (2009.10)
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/Radeon
          Assignee: xorg-driver-ati at lists.x.org
          Reporter: qzerty at gmail.com
        QA Contact: xorg-team at lists.x.org

On my very old laptop, that is equipped with an Ati Mobility Radeon
X700, sometimes (and, sadly, I have to use this word, because I found no
regularity pattern for the occurrence of this bug) randomly the desktop
session locks, that is I can only move the mouse pointer, but I cannot
interact anymore with the desktop session. I am forced to login trough
ssh from another pc and to restart the laptop.

In Xorg.0.log I found these lines that are, in my opinion, related to
the crash:

(EE) [mi] EQ overflowing.  Additional events will be discarded until existing
events are processed.
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x4e) [0x5608e56a768e]
(EE) 1: /usr/bin/X (mieqEnqueue+0x253) [0x5608e5689373]
(EE) 2: /usr/bin/X (QueuePointerEvents+0x52) [0x5608e5563152]
(EE) 3: /usr/bin/X (xf86PostMotionEvent+0xd6) [0x5608e559a026]
(EE) 4: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7f5e497b3000+0x5322)
[0x7f5e497b8322]
(EE) 5: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7f5e497b3000+0x73d2)
[0x7f5e497ba3d2]
(EE) 6: /usr/bin/X (0x5608e54f3000+0x96ac8) [0x5608e5589ac8]
(EE) 7: /usr/bin/X (0x5608e54f3000+0xbfc92) [0x5608e55b2c92]
(EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (0x7f5e522c9000+0x352f0)
[0x7f5e522fe2f0]
(EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (ioctl+0x7) [0x7f5e523c60b7]
(EE) 10: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmIoctl+0x28) [0x7f5e536ada08]
(EE) 11: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmCommandWrite+0x1b)
[0x7f5e536b06cb]
(EE) 12: /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1 (0x7f5e4e3ad000+0x19c9)
[0x7f5e4e3ae9c9]
(EE) 13: /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1 (0x7f5e4e3ad000+0x1c0c)
[0x7f5e4e3aec0c]
(EE) 14: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7f5e4e5b9000+0x26236)
[0x7f5e4e5df236]
(EE) 15: /usr/lib/xorg/modules/libexa.so (0x7f5e4d973000+0x569b)
[0x7f5e4d97869b]
(EE) 16: /usr/lib/xorg/modules/libexa.so (0x7f5e4d973000+0x7e8f)
[0x7f5e4d97ae8f]
(EE) 17: /usr/lib/xorg/modules/libexa.so (0x7f5e4d973000+0x11953)
[0x7f5e4d984953]
(EE) 18: /usr/lib/xorg/modules/libexa.so (0x7f5e4d973000+0xe770)
[0x7f5e4d981770]
(EE) 19: /usr/bin/X (0x5608e54f3000+0x13ca51) [0x5608e562fa51]
(EE) 20: /usr/lib/xorg/modules/libexa.so (0x7f5e4d973000+0xf74f)
[0x7f5e4d98274f]
(EE) 21: /usr/bin/X (0x5608e54f3000+0x1332a2) [0x5608e56262a2]
(EE) 22: /usr/bin/X (0x5608e54f3000+0x5818f) [0x5608e554b18f]
(EE) 23: /usr/bin/X (0x5608e54f3000+0x5c34b) [0x5608e554f34b]
(EE) 24: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0)
[0x7f5e522e9a40]
(EE) 25: /usr/bin/X (_start+0x29) [0x5608e55396c9]
(EE)
(EE) [mi] These backtraces from mieqEnqueue may point to a culprit higher up
the stack.
(EE) [mi] mieq is *NOT* the cause.  It is a victim.
(EE) [mi] EQ overflow continuing.  100 events have been dropped.
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x4e) [0x5608e56a768e]
(EE) 1: /usr/bin/X (QueuePointerEvents+0x52) [0x5608e5563152]
(EE) 2: /usr/bin/X (xf86PostMotionEvent+0xd6) [0x5608e559a026]
(EE) 3: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7f5e497b3000+0x5322)
[0x7f5e497b8322]
(EE) 4: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7f5e497b3000+0x73d2)
[0x7f5e497ba3d2]
(EE) 5: /usr/bin/X (0x5608e54f3000+0x96ac8) [0x5608e5589ac8]
(EE) 6: /usr/bin/X (0x5608e54f3000+0xbfc92) [0x5608e55b2c92]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (0x7f5e522c9000+0x352f0)
[0x7f5e522fe2f0]
(EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (ioctl+0x7) [0x7f5e523c60b7]
(EE) 9: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmIoctl+0x28) [0x7f5e536ada08]
(EE) 10: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmCommandWrite+0x1b)
[0x7f5e536b06cb]
(EE) 11: /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1 (0x7f5e4e3ad000+0x19c9)
[0x7f5e4e3ae9c9]
(EE) 12: /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1 (0x7f5e4e3ad000+0x1c0c)
[0x7f5e4e3aec0c]
(EE) 13: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7f5e4e5b9000+0x26236)
[0x7f5e4e5df236]
(EE) 14: /usr/lib/xorg/modules/libexa.so (0x7f5e4d973000+0x569b)
[0x7f5e4d97869b]
(EE) 15: /usr/lib/xorg/modules/libexa.so (0x7f5e4d973000+0x7e8f)
[0x7f5e4d97ae8f]
(EE) 16: /usr/lib/xorg/modules/libexa.so (0x7f5e4d973000+0x11953)
[0x7f5e4d984953]
(EE) 17: /usr/lib/xorg/modules/libexa.so (0x7f5e4d973000+0xe770)
[0x7f5e4d981770]
(EE) 18: /usr/bin/X (0x5608e54f3000+0x13ca51) [0x5608e562fa51]
(EE) 19: /usr/lib/xorg/modules/libexa.so (0x7f5e4d973000+0xf74f)
[0x7f5e4d98274f]
(EE) 20: /usr/bin/X (0x5608e54f3000+0x1332a2) [0x5608e56262a2]
(EE) 21: /usr/bin/X (0x5608e54f3000+0x5818f) [0x5608e554b18f]
(EE) 22: /usr/bin/X (0x5608e54f3000+0x5c34b) [0x5608e554f34b]
(EE) 23: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0)
[0x7f5e522e9a40]
(EE) 24: /usr/bin/X (_start+0x29) [0x5608e55396c9]
(EE)
[   335.003] [mi] Increasing EQ size to 1024 to prevent dropped events.
[   335.005] [mi] EQ processing has resumed after 151 dropped events.
[   335.005] [mi] This may be caused my a misbehaving driver monopolizing the
server's resources.
[   377.274] failed to map pixmap: -1


Sometimes the same crash occurs, with nothing relevant in
/var/log/Xorg.0.log, but there is something in syslog:

Dec 30 17:34:44 eaglubuntu kernel: [ 1746.752093] radeon 0000:01:00.0: ring 0
stalled for more than 10496msec
Dec 30 17:34:44 eaglubuntu kernel: [ 1746.752110] radeon 0000:01:00.0: GPU
lockup (current fence id 0x000000000000aca3 last fence id 0x000000000000aca7 on
ring 0)
Dec 30 17:34:44 eaglubuntu kernel: [ 1746.943410] Failed to wait GUI idle while
programming pipes. Bad things might happen.
Dec 30 17:34:45 eaglubuntu kernel: [ 1746.947896] radeon 0000:01:00.0: Saved
107 dwords of commands on ring 0.
Dec 30 17:34:45 eaglubuntu kernel: [ 1746.947916] radeon 0000:01:00.0:
(r300_asic_reset:425) RBBM_STATUS=0x80010140
Dec 30 17:34:45 eaglubuntu kernel: [ 1747.449111] radeon 0000:01:00.0:
(r300_asic_reset:444) RBBM_STATUS=0x80010140
Dec 30 17:34:45 eaglubuntu kernel: [ 1747.946237] radeon 0000:01:00.0:
(r300_asic_reset:456) RBBM_STATUS=0x00000140
Dec 30 17:34:45 eaglubuntu kernel: [ 1747.946283] radeon 0000:01:00.0: GPU
reset succeed
Dec 30 17:34:45 eaglubuntu kernel: [ 1747.946290] radeon 0000:01:00.0: GPU
reset succeeded, trying to resume
Dec 30 17:34:45 eaglubuntu kernel: [ 1747.961690] radeon 0000:01:00.0:
ffff880076fdec00 unpin not necessary
Dec 30 17:34:46 eaglubuntu kernel: [ 1747.969631] [drm] PCIE GART of 512M
enabled (table at 0x00000000C8040000).
Dec 30 17:34:46 eaglubuntu kernel: [ 1747.969648] [drm] radeon: 2 quad pipes, 1
z pipes initialized.
Dec 30 17:34:46 eaglubuntu kernel: [ 1747.969657] radeon 0000:01:00.0: WB
enabled
Dec 30 17:34:46 eaglubuntu kernel: [ 1747.969662] radeon 0000:01:00.0: fence
driver on ring 0 use gpu addr 0x00000000a8000000 and cpu addr
0xffff880035750000
Dec 30 17:34:46 eaglubuntu kernel: [ 1747.969681] [drm] radeon: ring at
0x00000000A8001000
Dec 30 17:34:46 eaglubuntu kernel: [ 1747.969703] [drm] ring test succeeded in
1 usecs
Dec 30 17:35:37 eaglubuntu systemd[1]: Started Session 2 of user michelasso.
Dec 30 17:35:38 eaglubuntu dbus[550]: [system] Activating via systemd: service
name='org.freedesktop.ConsoleKit' unit='console-kit-daemon.service'
Dec 30 17:35:38 eaglubuntu systemd[1]: Starting Console Manager...
Dec 30 17:35:38 eaglubuntu console-kit-daemon[7064]: (process:7127):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Dec 30 17:35:38 eaglubuntu console-kit-daemon[7064]: missing action
Dec 30 17:35:38 eaglubuntu dbus[550]: [system] Successfully activated service
'org.freedesktop.ConsoleKit'
Dec 30 17:35:38 eaglubuntu systemd[1]: Started Console Manager.
Dec 30 17:35:38 eaglubuntu console-kit-daemon[7064]: (process:7131):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Dec 30 17:35:38 eaglubuntu console-kit-daemon[7064]: missing action
Dec 30 17:36:13 eaglubuntu dhclient: PRC: Renewing lease on enp6s7.
Dec 30 17:36:13 eaglubuntu dhclient: XMT: Renew on enp6s7, interval 10260ms.
Dec 30 17:36:13 eaglubuntu dhclient: RCV: Reply message on enp6s7 from
fe80::ea94:f6ff:fed4:4622.
Dec 30 17:36:14 eaglubuntu NetworkManager[530]: <info>    valid_lft -1
Dec 30 17:36:14 eaglubuntu NetworkManager[530]: <info>    preferred_lft -1
Dec 30 17:36:14 eaglubuntu NetworkManager[530]: <info>    address
fdd5:636f:7401::125
Dec 30 17:36:14 eaglubuntu NetworkManager[530]: <info>    nameserver
'fdd5:636f:7401::1'
Dec 30 17:36:14 eaglubuntu NetworkManager[530]: <info>    domain search 'lan.'
Dec 30 17:36:14 eaglubuntu NetworkManager[530]: <info>  (enp6s7): DHCPv6 state
changed bound -> bound
Dec 30 17:36:14 eaglubuntu dbus[550]: [system] Activating via systemd: service
name='org.freedesktop.nm_dispatcher'
unit='dbus-org.freedesktop.nm-dispatcher.service'
Dec 30 17:36:14 eaglubuntu systemd[1]: Starting Network Manager Script
Dispatcher Service...
Dec 30 17:36:14 eaglubuntu dbus[550]: [system] Successfully activated service
'org.freedesktop.nm_dispatcher'
Dec 30 17:36:14 eaglubuntu systemd[1]: Started Network Manager Script
Dispatcher Service.
Dec 30 17:36:14 eaglubuntu nm-dispatcher: Dispatching action 'dhcp6-change' for
enp6s7
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092138] INFO: task Xorg:960 blocked
for more than 120 seconds.
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092152]       Not tainted
4.2.0-22-generic #27-Ubuntu
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092157] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092162] Xorg            D
ffff88007fc16640     0   960    906 0x00400004
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092174]  ffff88007b233918
0000000000000086 ffffffff81c13500 ffff880078a25780
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092182]  ffff880035683278
ffff88007b234000 ffff88007b233aa0 ffff88003569c000
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092189]  ffff88007b233a28
ffff88003569d490 ffff88007b233938 ffffffff817ec267
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092196] Call Trace:
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092214]  [<ffffffff817ec267>]
schedule+0x37/0x80
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092225]  [<ffffffff817ef309>]
schedule_timeout+0x189/0x250
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092340]  [<ffffffffc01e7b28>] ?
radeon_sa_bo_new+0x78/0x480 [radeon]
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092395]  [<ffffffffc017bf96>] ?
radeon_fence_process+0x16/0x40 [radeon]
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092449]  [<ffffffffc017c26c>]
radeon_fence_wait_seq_timeout.constprop.8+0x22c/0x300 [radeon]
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092458]  [<ffffffff810bd190>] ?
wake_atomic_t_function+0x60/0x60
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092512]  [<ffffffffc017c62f>]
radeon_fence_wait+0x9f/0xe0 [radeon]
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092577]  [<ffffffffc01a02f9>]
r100_ib_test+0x179/0x290 [radeon]
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092649]  [<ffffffffc023cd88>]
radeon_ib_ring_tests+0x58/0xc0 [radeon]
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092698]  [<ffffffffc0162e30>]
radeon_gpu_reset+0x240/0x330 [radeon]
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092759]  [<ffffffffc01923ee>]
radeon_gem_handle_lockup.part.3+0xe/0x20 [radeon]
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092820]  [<ffffffffc01933af>]
radeon_gem_wait_idle_ioctl+0xdf/0x130 [radeon]
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092881]  [<ffffffffc00a0495>]
drm_ioctl+0x125/0x610 [drm]
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092943]  [<ffffffffc01932d0>] ?
radeon_gem_busy_ioctl+0xf0/0xf0 [radeon]
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092955]  [<ffffffff8108a9e6>] ?
__set_current_blocked+0x36/0x60
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092965]  [<ffffffff8101fe5c>] ?
fpu__activate_curr+0x3c/0x80
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092974]  [<ffffffff8108aaa4>] ?
signal_setup_done+0x74/0xc0
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.092981]  [<ffffffff810210be>] ?
__fpu__restore_sig+0x9e/0x470
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.093028]  [<ffffffffc016004c>]
radeon_drm_ioctl+0x4c/0x80 [radeon]
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.093037]  [<ffffffff81210aa5>]
do_vfs_ioctl+0x295/0x480
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.093044]  [<ffffffff8102169d>] ?
fpu__restore_sig+0x4d/0x60
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.093052]  [<ffffffff81210d09>]
SyS_ioctl+0x79/0x90
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.093062]  [<ffffffff81015078>] ?
sys_rt_sigreturn+0xc8/0xe0
Dec 30 17:37:38 eaglubuntu kernel: [ 1920.093072]  [<ffffffff817f02b2>]
entry_SYSCALL_64_fastpath+0x16/0x75

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20160106/35a1b2ca/attachment-0001.html>


More information about the xorg-driver-ati mailing list