Summary: | crash in _sna_pixmap_move_to_cpu in 2.99.906 | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Michael Meeks <michael.meeks> | ||||
Component: | Driver/intel | Assignee: | Chris Wilson <chris> | ||||
Status: | RESOLVED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | chris | ||||
Version: | unspecified | ||||||
Hardware: | Other | ||||||
OS: | All | ||||||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=71482 | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Michael Meeks
2013-12-28 23:43:30 UTC
Since I suffered bug#71482 on this hardware before, I suspect that this may well be related to the deep joy experienced there :-) but just a quick guess. Reproduces worryingly frequently. That pixmap and stacktrace look consistent, maybe *priv, *priv->cpu_bo and *priv->gpu_bo may help. What would be useful would be using --enable-debug just to check for the obvious signs of insanity leading up to that point. Is this triggered by any libreoffice activity or is there a more precise recipe for reproduction? And for reference I've just pushed .907, but nothing strikes me as being a fix - still worth checking out. Can you also please attach your Xorg.0.log just in case there is any peculiarity in it? Interestingly, I just updated to: rpm -q --changelog xorg-x11-server | head * Mon Dec 16 2013 msrb@suse.com - u_exa-only-draw-valid-trapezoids.patch * Fix possible x server crash using invalid trapezoids. (bnc#853846 CVE-2013-6424) And I don't see the crash anymore - quite possibly it was the CVE patch that fixed this => marking fixed for now =) thanks ! My bad - the bug is still there; just got it again - 'priv' is sadly optimized out - sorry about that; and I'd lost this bug when I hit it. I attach the Xorg log too. It is triggered for me by using youtube & the flash player on openSUSE 13.1 - play a few videos, switch to the next one, seek a bit: bang [ and I'd expect that to happen in the video stream myself not this code-path ;-]. Created attachment 92144 [details]
Xorg log - same stack trace pretty much.
Hmm, see also bug 73351. What we have there is pixmap->devPrivate.ptr != priv->ptr. If gdb allows you, can you also please print *pixmap; p *priv; p *priv->cpu_bo; p *priv->gpu_bo? Presuming it is bug 73351, it should be fixed by commit 5f3ee21a307a4ff4db189bd53e58a70ec01ee6bc Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Jan 17 08:40:34 2014 +0000 sna: Nullify pixmap->devPrivate.ptr after promoting CPU bo to GPU When we convert a CPU bo into a GPU bo, we need to remove any dangling shadow pointers we use for devPrivate.ptr. Whilst the bo remains alive these are incoherent, but if we ever replace the GPU bo (for example to change tiling for DRI2) then the dangling pointer becomes invalid and will explode on next use. Reported-by: Mike Aury <mike.auty@gmail.com> Reported-by: Marti Raudsepp <marti@juffo.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73351 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> The concern is that you have a different stacktrace which may indicate another issue. In any case the extra assertions added for #73351 should also help here. Please try testing with xf86-video-intel.git and see if that resolves the issue or gives us more debug information. Tried to apply the patch you pointed out, but it conflicted with SUSE 13.1's package; so gave up and built / installed git from hash: commit 2425f03432de9bedeeda14ddbc5742cf7ce22874 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Jan 28 19:17:14 2014 +0000 sna: Check for a hang after a spurious error return from set-domain-ioctl I've been doing 'dangerous' stuff like watching things on youtube, and using the browser generally on a loaded machine for a couple of days, and (so far) nothing has happened: but perhaps I've trained myself not to do risky stuff ;-) Either way - latest git looks -much- better. I also seem to have lost the image corruption on scroll I was enjoying before (just loading firefox with a page of images would give some random corruption as I scrolled - whereby the image would be filled with vertical stripes). Thanks =) |
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.