[Mesa-dev] [Bug 94522] llvmpipe crash in rendering on Atom

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 15 12:43:31 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94522

--- Comment #8 from comicfans44 <comicfans44 at gmail.com> ---
(In reply to Roland Scheidegger from comment #4)
> So, it crashed in the jit fragment shader code.
> Could you tell what the fb size was (the values from scene->fb in
> lp_rast_shade_tile, possibly the ones from the (first) color and zbuffer
> themselves)? I was actually wondering at some point what really ensures if
> buffers have sufficient alignment - buffers allocated within llvmpipe will
> always have that, but the front/back buffers are allocated - elsewhere (they
> need to be allocated to 4x4 alignment).

my laptop is GMA500, resolution 1024x600

scene->fb value in crash stack
{width = 1024, height = 600, nr_cbufs = 1, cbufs = {0x8141e28, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0}, zsbuf = 0x0}

so maybe cbufs[0] isn't 16 byte aligned?

> Other than that I'm not sure what the problem could be. You could try some
> x/i variant to get the disassembly, which should tell you if it was
> framebuffer access or not (as fb accesses are towards the end of the jit
> code, and they'll show some fairly typical patterns).

crash address and asm:
0xb755e633      movdqa %ecx,%eax,1),%xmm2
0xb755e638      movdqa  %xmm7,%xmm1
0xb755e63c      movdqa %xmm2,0x30(%esp
0xb755e642      movapd %xmm0,0x80(%esp)
0xb755e64b      movdqa %xmm2,%xmm0
0xb755e64f      pxor   0xb7fc2080,%xmm1  
0xb755e657      punpcklbw %xmm3,%xmm0 
0xb755e65b      movdqa %xmm1,%xmm7
0xb755e65f      punpckhbw %xmm3,%xmm1
0xb755e663      punpcklbw %xmm3,%xmm7
0xb755e667      pmullw %xmm0,%xmm7
0xb755e66b      movdqa %xmm2,%xmm0 
0xb755e66f      punpckhbw %xmm3,%xmm0 
0xb755e673      pxor   %xmm3,%xmm3 
0xb755e677      pmullw %xmm0,%xmm1
0xb755e67b      cvtps2dq 0x130(%esp),%xmm0 
0xb755e684      movdqa %xmm7,0x100(%esp)
0xb755e68d      movaps 0xb7fc2040,%xmm7 
0xb755e694      movdqa %xmm1,0x140(%esp) 



(gdb) info registers ecx
ecx            0xb210c000       -1307525120
(gdb) info registers eax
eax            0x1000   4096


I also found sometimes it crashes at lp_rast.c:457

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160315/b2fd8856/attachment.html>


More information about the mesa-dev mailing list