Summary: | [sna ivb GT2] malloc corruption | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Jiri Slaby <jirislaby> | ||||||||||||
Component: | Driver/intel | Assignee: | Chris Wilson <chris> | ||||||||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||||
Severity: | normal | ||||||||||||||
Priority: | medium | ||||||||||||||
Version: | git | ||||||||||||||
Hardware: | Other | ||||||||||||||
OS: | All | ||||||||||||||
Whiteboard: | |||||||||||||||
i915 platform: | i915 features: | ||||||||||||||
Attachments: |
|
Description
Jiri Slaby
2012-10-25 14:13:54 UTC
A malloc corruption... Nothing is going to show up unless it happens to trigger one of the out-of-bounds checks (and then not even that if it is one of the input drivers fouling up). valgrinding X is usable, but likely also to affect the bug if its turns out to be timing dependent. Not much I can do without some clue even as to where to begin hunting. :| Created attachment 69106 [details]
valgrind run
Actually it's not that hard. It's enough to start libreoffice with my presentation and press page down. Done now with valgrind -- it did not crash, many errors reported to the valgrind log. Attached.
That was with --enable-debug? Do you have the valgrind headers? Can you check that the configure is finding them? Created attachment 69108 [details] valgrind run (In reply to comment #3) > That was with --enable-debug? Do you have the valgrind headers? Can you > check that the configure is finding them? Nope, valgrind-devel was not installed. One last request, as I am looking at the code that appears to be clipping correctly to the extents, can you attach a debug=full log? Bonus points if you can capture the stderr of both the debug=full X and valgrind. :) Created attachment 69110 [details] [review] Tightly clip the bottom-right of the trap Spotted one potential quite-rare issue in the clipping. Mind testing the attached? Created attachment 69111 [details] valgrind run with that patch (In reply to comment #7) > Created attachment 69110 [details] [review] [review] > Tightly clip the bottom-right of the trap > > Spotted one potential quite-rare issue in the clipping. Mind testing the > attached? Oh, this seems to fix the libreoffice bug. Valgrind of that run attached. Thanks. commit 31eb704b2ad7c861ec4e61fb9de0e9592fc6d269 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Oct 26 13:57:30 2012 +0100 sna: Ensure that the trap is clipped if it ends within the boundary pixel Reported-and-tested-by: Jiri Slaby <jirislaby@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56395 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Hmm, the conditional on uninitialised data may need fixing at some point, never sure with that bit-twiddling code. However, for the time being I declare victory! Onwards! |
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.