[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-25 Thread Chris Wilson
** Changed in: xserver-xorg-video-intel (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497 Title: Xorg

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-21 Thread bugbot
** Tags added: crash -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497 Title: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri() Status in

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Chris Wilson
I am almost 100% sure I have this fixed in upstream. I've been through all the places where gpu_bo/gpu_damage can become out-of-sync and validated that the checks are now inplace. If you can find the time to test with ppa:xorg-edgers (dated from today) that would be extremely useful. ** Changed

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Zygmunt Krynicki
Testing, I'll let you know if it crashes -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497 Title: Xorg crashes when exiting steam segfault in

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Zygmunt Krynicki
It crashed again. For reference, I've added the PPA, updated everything, logged out, checked that I don't have xorg config file (so that I keep getting sna by default). Program received signal SIGSEGV, Segmentation fault. 0x7f79d99ab5d0 in sna_pixmap_set_dri (pixmap=0x7f79de9d5220,

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Chris Wilson
Frustating. Can I ask you to build from scratch with debugging enabled: # sudo apt-get build-dep xserver-xorg-video-intel # git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-intel # cd xf86-video-intel # ./autogen.sh --prefix=/usr --with-default-accel=sna --enable-debug # make sudo

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Chris Wilson
Whilst you have the gdb, p *priv again. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497 Title: Xorg crashes when exiting steam segfault in

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Zygmunt Krynicki
(gdb) p *priv $2 = { pixmap = 0x7f79de9d5220, gpu_bo = 0x0, cpu_bo = 0x7f79dead4330, gpu_damage = 0x7f79de849421, cpu_damage = 0x0, ptr = 0x7f79d6499000, list = { next = 0x7f79dead6970, prev = 0x7f79dead6970 }, stride = 1280, clear_color = 0, source_count =

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Zygmunt Krynicki
Ok, built and ready, trying to get it to crash again -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497 Title: Xorg crashes when exiting steam segfault in

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Zygmunt Krynicki
Nothing, is there a chance it got fixed along the way? Do you want me to try bisecting things? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497 Title: Xorg

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Chris Wilson
I'd give it a bit of time before declaring success. Since you've reported the issue I have been trying to add some paranoia to that layer and harden it, which is why I was optimist I had fixed something. Can you tell me the package name you installed from xorg-edgers, so that I can check to see

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Zygmunt Krynicki
I didn't install any package, just updated all my packages which included xserver-xorg-video-intel. The version apt reports is 2:2.21.2+git20130213.9861423a-0ubuntu0sarvatt. This is an upgrade from 2:2.21.2-0ubuntu0 -- You received this bug notification because you are a member of Desktop

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Zygmunt Krynicki
I can revert that and test if it exposes the issue. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497 Title: Xorg crashes when exiting steam segfault in

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Zygmunt Krynicki
That was quick. I didn't have to exit steam though, just launch it: Program received signal SIGABRT, Aborted. 0x7ff335664037 in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x7ff335664037 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x7ff335667698 in abort ()

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Chris Wilson
Thanks, that suggests commit 1f16d854264ea923303b79379266bd789fd9dd4d Author: Chris Wilson ch...@chris-wilson.co.uk Date: Mon Feb 18 14:30:55 2013 + sna/dri: Prevent swapping a decoupled DRI2Buffer If the DRI2Buffer is no longer valid for the Drawable, for example the

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Chris Wilson
That's one of the assertions recently added to track down an issue whereby the flushing flag on the pixmap and the GPU bo became inconsistent - and yes the patch you reverted was a direct consequence. ;-) Can you keep running master with assertions enabled and let me know if it crashes? -- You

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Zygmunt Krynicki
Ok, I'll undo the revert and keep pushing it -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497 Title: Xorg crashes when exiting steam segfault in

[Desktop-packages] [Bug 1127497] Re: Xorg crashes when exiting steam segfault in sna_pixmap_set_dri()

2013-02-19 Thread Chris Wilson
** Changed in: xserver-xorg-video-intel (Ubuntu) Status: Triaged = Fix Committed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497 Title: Xorg crashes