Bug 92735

Summary: Random crashes on EE TouchListenerGone: couldn't allocate events
Product: xorg Reporter: Yuri Chudnovsky <fqc>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: nemesis
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg log none

Description Yuri Chudnovsky 2015-10-30 12:09:56 UTC
Created attachment 119298 [details]
Xorg log

After upgrading from Ubuntu 15.04 to 15.10 graphical system works visually slower and sandomly X server crashes giving error:

[ 23266.388] (EE) 
Fatal server error:
[ 23266.394] (EE) TouchListenerGone: couldn't allocate events
[ 23266.394] (EE) 
[ 23266.394] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[ 23266.411] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 23266.411] (EE) 
[ 23266.467] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 23266.497] (EE) Server terminated with error (1). Closing log file.

Probably caused by i915 driver. Two systems currently known to be affected by this bug:
a) desktop on Intel Xeon E3-1200 v3/4th
b) notebook on Intel Core i3 CPU M380
both having integrated Intel graphic cards (into CPU's), both using i915 driver.
Comment 1 Yuri Chudnovsky 2015-10-30 18:21:04 UTC
Probably this crash is the same cause:

[ 69738.421] (EE) intel(0): When reporting this, please include /sys/class/drm/card0/error and the full dmesg.
[ 69738.721] (EE) 
[ 69738.721] (EE) Backtrace:
[ 69738.816] (EE) 0: /usr/bin/X (xorg_backtrace+0x4e) [0x5584f565662e]
[ 69738.816] (EE) 1: /usr/bin/X (0x5584f54a2000+0x1b8999) [0x5584f565a999]
[ 69738.816] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7f4086863000+0x352f0) [0x7f40868982f0]
[ 69738.816] (EE) 3: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f4082c3a000+0x1046cb) [0x7f4082d3e6cb]
[ 69738.816] (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f4082c3a000+0x10749b) [0x7f4082d4149b]
[ 69738.816] (EE) 5: /usr/bin/X (DRI2SwapBuffers+0x1c8) [0x5584f5628cf8]
[ 69738.816] (EE) 6: /usr/bin/X (0x5584f54a2000+0x18867c) [0x5584f562a67c]
[ 69738.816] (EE) 7: /usr/bin/X (0x5584f54a2000+0x5818f) [0x5584f54fa18f]
[ 69738.816] (EE) 8: /usr/bin/X (0x5584f54a2000+0x5c34b) [0x5584f54fe34b]
[ 69738.817] (EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0) [0x7f4086883a40]
[ 69738.817] (EE) 10: /usr/bin/X (_start+0x29) [0x5584f54e86c9]
[ 69738.817] (EE) 
[ 69738.817] (EE) Segmentation fault at address 0x10
[ 69738.817] (EE) 
Fatal server error:
[ 69738.817] (EE) Caught signal 11 (Segmentation fault). Server aborting

Maybe not. /sys/class/drm/card0/error contain "no error state collected" and dmesg give me nothing interesting.
Comment 2 Yuri Chudnovsky 2015-10-30 18:32:20 UTC
More automatically collected by Apport system info can be inspected here: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1511819
Comment 3 Chris Wilson 2015-11-13 19:13:23 UTC
I presume mea culpa,

commit 2d26643cab33a32847afaf13b50d326d09d58bf7
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Nov 13 19:03:36 2015 +0000

    sna/dri2: Drop the reference on the fence when complet

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.