<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - llvmpipe crash in rendering on Atom"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94522#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - llvmpipe crash in rendering on Atom"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94522">bug 94522</a>
from <span class="vcard"><a class="email" href="mailto:comicfans44@gmail.com" title="comicfans44 <comicfans44@gmail.com>"> <span class="fn">comicfans44</span></a>
</span></b>
<pre>(In reply to Roland Scheidegger from <a href="show_bug.cgi?id=94522#c4">comment #4</a>)
<span class="quote">> 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).</span >
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?
<span class="quote">> 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).</span >
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>