Created attachment 450280 [details] gdb session with the crash After recent xorg-server and friends update, my environment started to crash a lot. It's not deterministic, but steps like 1. Login to Plasma 5 2. Start Thunderbird 3. Start konsole 4. Start Firefox do it in 5 of 5 attempts. Every time, Xorg.0.log contains this error: [ 5104.797] (EE) sna_dri2_schedule_swap:3330 assertion 'get_private(back)->bo != get_private(front)->bo' failed. Package versions: x11-base/xorg-drivers-1.18-r1 x11-base/xorg-server-1.18.4 x11-drivers/xf86-video-intel-2.99.917_p20160621-r1 Backtrace: (gdb) bt #0 0x00007f0209d8abf0 in exit () from /lib64/libc.so.6 #1 0x000000000063baa3 in AbortServer () at /var/tmp/portage/x11-base/xorg-server-1.18.4/work/xorg-server-1.18.4/os/log.c:878 #2 0x000000000063bfb6 in FatalError (f=0x7f0205eaa1a7 "%s:%d assertion '%s' failed\n") at /var/tmp/portage/x11-base/xorg-server-1.18.4/work/xorg-server-1.18.4/os/log.c:1015 #3 0x00007f0205e62f57 in sna_dri2_schedule_swap (client=0x2600370, draw=0x271a840, front=0x27c5a50, back=0x27c5a00, target_msc=0x7fff6780c318, divisor=0, remainder=0, func=0x5ea9e6 <DRI2SwapEvent>, data=0x271a840) at /var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20160621-r1/work/c28e62f94f15c9f5c4fb0744588f08ae18e4a9b5/src/sna/sna_dri2.c:3330 #4 0x00000000005e8bf4 in DRI2SwapBuffers (client=0x2600370, pDraw=0x271a840, target_msc=305080, divisor=0, remainder=0, swap_target=0x7fff6780c3d8, func=0x5ea9e6 <DRI2SwapEvent>, data=0x271a840) at /var/tmp/portage/x11-base/xorg-server-1.18.4/work/xorg-server-1.18.4/hw/xfree86/dri2/dri2.c:1178 #5 0x00000000005eabe7 in ProcDRI2SwapBuffers (client=0x2600370) at /var/tmp/portage/x11-base/xorg-server-1.18.4/work/xorg-server-1.18.4/hw/xfree86/dri2/dri2ext.c:424 #6 0x00000000005eb2c6 in ProcDRI2Dispatch (client=0x2600370) at /var/tmp/portage/x11-base/xorg-server-1.18.4/work/xorg-server-1.18.4/hw/xfree86/dri2/dri2ext.c:621 #7 0x00000000004301b8 in Dispatch () at /var/tmp/portage/x11-base/xorg-server-1.18.4/work/xorg-server-1.18.4/dix/dispatch.c:430 #8 0x000000000043f226 in dix_main (argc=9, argv=0x7fff6780c628, envp=0x7fff6780c678) at /var/tmp/portage/x11-base/xorg-server-1.18.4/work/xorg-server-1.18.4/dix/main.c:300 #9 0x000000000041fefe in main (argc=9, argv=0x7fff6780c628, envp=0x7fff6780c678) at /var/tmp/portage/x11-base/xorg-server-1.18.4/work/xorg-server-1.18.4/dix/stubmain.c:34
Created attachment 450282 [details] dmesg
Created attachment 450284 [details] emerge --info
Created attachment 450286 [details] full list of installed packages
Created attachment 450288 [details] Xorg.0.log
After I downgraded these packages, the issue went away: media-libs/mesa-12.0.1 -> 11.0.6 x11-apps/xkbcomp-1.3.1 -> 1.3.0 x11-base/xorg-drivers-1.18-r1 -> 1.17 x11-base/xorg-server-1.18.4 -> 1.17.4 x11-drivers/xf86-input-evdev-2.10.3 -> 2.9.2 x11-drivers/xf86-input-keyboard-1.8.1 -> 1.8.0 x11-drivers/xf86-input-mouse-1.9.1 -> 1.9.0 x11-drivers/xf86-input-synaptics-1.8.3 -> 1.8.2 x11-drivers/xf86-video-intel-2.99.917_p20160621-r1 -> 2.99.917-r2 x11-libs/libXdmcp-1.1.2-r1 -> 1.1.2 x11-libs/libdrm-2.4.70 -> 2.4.65 x11-libs/pixman-0.34.0 -> 0.32.8 x11-misc/xkeyboard-config-2.17 -> 2.16 x11-proto/inputproto-2.3.2 -> 2.3.1 x11-proto/videoproto-2.3.3 -> 2.3.2 x11-proto/xcb-proto-1.12-r2 -> 1.11 x11-proto/xproto-7.0.29 -> 7.0.28
Same problem on my system. After a while Xserver restarts with the following messages: [165571.488] (EE) Backtrace: [165571.488] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x580948] [165571.488] (EE) 1: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f625c4ec000+0x17be75) [0x7f625c667e75] [165571.488] (EE) 2: /usr/bin/X (DRI2SwapBuffers+0x1b0) [0x554110] [165571.488] (EE) 3: /usr/bin/X (0x400000+0x1558b3) [0x5558b3] [165571.488] (EE) 4: /usr/bin/X (0x400000+0x346de) [0x4346de] [165571.488] (EE) 5: /usr/bin/X (0x400000+0x3841b) [0x43841b] [165571.488] (EE) 6: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f625faf3790] [165571.488] (EE) 7: /usr/bin/X (0x400000+0x238e1) [0x4238e1] [165571.488] (EE) [165571.488] (EE) Fatal server error: [165571.488] (EE) sna_dri2_schedule_swap:3321 assertion 'get_private(back)->bo != get_private(front)->bo' failed [165571.488] (EE) [165571.488] (EE) Versions: x11-base/xorg-drivers-1.18-r1 x11-base/xorg-server-1.18.4 media-libs/mesa-12.0.1 sys-libs/glibc-2.23-r3
Please try the unstable version 2.99.917_p20161206 and report back.
Same problem with 2.99.917_p20161206. I will now try to downgrade as Petr Novak suggested and will report back.
Please give x11-base/xorg-server-1.19.2 and x11-drivers/xf86-video-intel-2.99.917_p20170216 a try.
in the meantime I downgraded to x11-drivers/xf86-video-intel-2.99.917-r2 as Petr Novak suggested at 2016-10-15 14:55:34 UTC. Since 3 weeks there was no single crash.