Summary: | SIGABRT in sna_composite_rectangles [SNA] | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Clemens Eisserer <linuxhippy> | ||||
Component: | Driver/intel | Assignee: | Chris Wilson <chris> | ||||
Status: | RESOLVED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||
Severity: | normal | ||||||
Priority: | medium | ||||||
Version: | unspecified | ||||||
Hardware: | Other | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Clemens Eisserer
2013-10-04 14:47:30 UTC
Can you please attach the Xorg.0.log as well? Or do you know which commit you are testing, so I can tally the assert with the code? the version tested was: 2.99.903-25-ga0476ee Created attachment 87128 [details]
Xorg log
ok, here is a complete bt: #0 0x000000367cc35a19 in raise () from /lib64/libc.so.6 #1 0x000000367cc37128 in abort () from /lib64/libc.so.6 #2 0x000000367cc75d47 in __libc_message () from /lib64/libc.so.6 #3 0x000000367cc7bc17 in malloc_printerr () from /lib64/libc.so.6 #4 0x000000368ac5e2de in pixman_region_intersect () from /lib64/libpixman-1.so.0#5 0x00007f242cb3d519 in sna_composite_rectangles (op=<optimized out>, dst=<optimized out>, color=<optimized out>, num_rects=<optimized out>, rects=<optimized out>) at sna_composite.c:1014 #6 0x000000000051a561 in ProcRenderFillRectangles () #7 0x0000000000436f97 in Dispatch () #8 0x00000000004264aa in main () Ah, that makes more sense. I was looking for one of my assert()s rather than a malloc error. While there may very well be another memory corruption elsewhere, this is the primary suspect: commit 20afd7263f65f29128fbbdbd5894a49594cda669 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Oct 4 16:12:17 2013 +0100 sna: Tidy up FillRectangles intersection with complex clip Lesson 1: do not accidentally overwrite the loop count inside the loop. Reported-by: Clemens Eisserer <linuxhippy@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70137 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Ok, now something different pops up: Program received signal SIGSEGV, Segmentation fault. 0x000000368ac5e1c6 in pixman_region_intersect () from /lib64/libpixman-1.so.0 (gdb) bt #0 0x000000368ac5e1c6 in pixman_region_intersect () from /lib64/libpixman-1.so.0 #1 0x00007f6c0b33a50a in sna_composite_rectangles ( op=<optimized out>, dst=<optimized out>, color=<optimized out>, num_rects=<optimized out>, rects=<optimized out>) at sna_composite.c:1014 #2 0x000000000051a561 in ProcRenderFillRectangles () #3 0x0000000000436f97 in Dispatch () commit 898087014c36c757f8d2e0087e63467192a52837 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Oct 4 16:12:17 2013 +0100 sna: Fix FillRectangles intersection with complex clip Lesson 2: Use the right variables. Reported-by: Clemens Eisserer <linuxhippy@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70137 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> fixed, 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.