[Ubuntu-x-swat] [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 Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497 Title: Xorg crashes when

[Ubuntu-x-swat] [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 Ubuntu-X, 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() To manage notifications a

[Ubuntu-x-swat] [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 Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497 Title: Xorg crashes when exiti

[Ubuntu-x-swat] [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 Ubuntu-X, 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() T

[Ubuntu-x-swat] [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 r

[Ubuntu-x-swat] [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 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 window had just been reparent

[Ubuntu-x-swat] [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 () from

[Ubuntu-x-swat] [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 Ubuntu-X, 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_d

[Ubuntu-x-swat] [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 Ubuntu-X, which

[Ubuntu-x-swat] [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 wha

[Ubuntu-x-swat] [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 Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497 Title: Xorg crashes when

[Ubuntu-x-swat] [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 Ubuntu-X, 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_

[Ubuntu-x-swat] [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 = 4

[Ubuntu-x-swat] [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 Ubuntu-X, 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() To man

[Ubuntu-x-swat] [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

[Ubuntu-x-swat] [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, sna=0x7f7

[Ubuntu-x-swat] [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 Ubuntu-X, 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() To ma

[Ubuntu-x-swat] [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 in

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-19 Thread Bryce Harrington
** Changed in: xserver-xorg-video-intel (Ubuntu) Status: New => Triaged ** Summary changed: - Xorg crashes when exiting steam + Xorg crashes when exiting steam segfault in sna_pixmap_set_dri() -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-18 Thread Zygmunt Krynicki
I don't really know what triggers it. I tried a number of activities - launching steam and immediately exiting it (via menu, indicator, or accelerator), launching a game (I only tried uplink) and exiting. In the end I don't see a pattern. I saw crashes immediately after starting and long after keep

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-18 Thread Chris Wilson
That explains how we got through move_to_gpu, but doesn't reveal how we set it to be NULL in the first place. Thanks. Do you have a better idea of how to trigger it now? -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-18 Thread Zygmunt Krynicki
(gdb) info locals priv = 0x7f8694205160 tiling = 1 (gdb) print *priv $3 = { pixmap = 0x7f8694200b20, gpu_bo = 0x0, cpu_bo = 0x7f8693e673a0, gpu_damage = 0x7f8693b996e1, cpu_damage = 0x0, ptr = 0x7f868eb58000, list = { next = 0x7f8694205190, prev = 0x7f8694205190 },

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-18 Thread Zygmunt Krynicki
Program received signal SIGSEGV, Segmentation fault. 0x7f868f35c0a1 in sna_pixmap_set_dri (pixmap=0x7f8694200b20, sna=0x7f8692908010) at ../../../src/sna/sna_dri.c:186 186 ../../../src/sna/sna_dri.c: Nie ma takiego pliku ani katalogu. (gdb) backtrace full #0 0x7f868f35c0a1 in sna_pixm

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-18 Thread Zygmunt Krynicki
I just got it, it's still here: Program received signal SIGSEGV, Segmentation fault. 0x7fa7fcea80a1 in sna_pixmap_set_dri (pixmap=0x7fa802bacbc0, sna=0x7fa800454010) at ../../../src/sna/sna_dri.c:186 186 ../../../src/sna/sna_dri.c: Nie ma takiego pliku ani katalogu. Sadly I could not cap

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-18 Thread Zygmunt Krynicki
I can no longer reproduce the crash. Steam was updated in the meantime so it could have been fixed (workaround?) by valve -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-18 Thread Zygmunt Krynicki
Can you please "apt-get install xserver-xorg-video-intel-dbg && addr2line -e /usr/lib/xorg/modules/drivers/intel_drv.so 0xd40a1" That gives me sna_dri.c:186 -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. http

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-18 Thread Chris Wilson
Also, it would be useful if you could retest with ppa:xorg-edgers if you can reproduce the bug. I've been working on adding more assertions to the DRI handling which flagged a few potential issues - though I can't tell if the bug you've encountered is one of those. -- You received this bug notifi

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-18 Thread Chris Wilson
Hmm, that would be sna_pixmap_set_dri() crashing on priv->gpu_bo being NULL. But I can not see a way for sna_pixmap_move_to_gpu() to not returning with priv->gpu_bo initialised (or set_dri() bailing). So I would like to see that stacktrace confirmed. -- You received this bug notification because

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-18 Thread Bryce Harrington
Please collect a full backtrace on this crash - see http://wiki.ubuntu.com/X/Backtracing for guidance. In answer to #2, from my raring chroot: /build/buildd/xserver-xorg-video- intel-2.21.2/build/src/sna/../../../src/sna/sna_dri.c:186 ** Changed in: xserver-xorg-video-intel (Ubuntu) Importan

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-17 Thread Chris Wilson
I'm still waiting upon a symbolic stacktrace. ** Changed in: xserver-xorg-video-intel (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-17 Thread Chris Wilson
Great, thanks. Installed Steam to see if I can reproduce this bug. Before I knew it, it was already dawn. Yikes! -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1127497 Title:

[Ubuntu-x-swat] [Bug 1127497] Re: Xorg crashes when exiting steam

2013-02-16 Thread Chris Wilson
Can you please "apt-get install xserver-xorg-video-intel-dbg && addr2line -e /usr/lib/xorg/modules/drivers/intel_drv.so 0xd40a1" -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1