<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - weston eglSwapBuffers crash in kms_swrast_dri.so on GMA500"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94522">94522</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>weston eglSwapBuffers crash in kms_swrast_dri.so on GMA500
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>11.1
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86 (IA32)
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>EGL/Wayland
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>comicfans44@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>mesa version 11.1.2
llvm 3.7.1
cpu: intel ATOM z520 :32bit only,supports sse sse2 ssse3 but not sse4 nor avx
weston crash when calling eglSwapBuffers
backtrace shows crash thread receives SIGBUS
Thread 2 "llvmpipe-0" received signal SIGBUS, Bus error.
#0 0xb755e633 in ?? ()
#1 0xb6e2960b in lp_rast_shade_tile (task=0x80a9ab4, arg=...) at lp_rast.c:352
#2 0xb6e29981 in do_rasterize_bin (bin=<optimized out>, x=<optimized out>,
y=<optimized out>, task=0x80a9ab4) at lp_rast.c:609
#3 rasterize_bin (y=<optimized out>, x=<optimized out>, bin=<optimized out>,
task=0x80a9ab4) at lp_rast.c:628
#4 rasterize_scene (task=task@entry=0x80a9ab4, scene=<optimized out>) at
lp_rast.c:688
#5 0xb6e2a10a in thread_function (init_data=0x80a9ab4) at lp_rast.c:828
#6 0xb6e29f25 in impl_thrd_routine (p=0x80a2498) at
../../../../include/c11/threads_posix.h:87
#7 0xb7c6f291 in start_thread () from target:/usr/lib/libpthread.so.0
#8 0xb7d75d7e in clone () from target:/usr/lib/libc.so.6
eglSwapBuffers calling thread:
0xb7fdbc11 in __kernel_vsyscall ()
#1 0xb7c74aab in pthread_cond_wait@@GLIBC_2.3.2 () from
target:/usr/lib/libpthread.so.0
#2 0xb7d8248d in pthread_cond_wait@@GLIBC_2.3.2 () from
target:/usr/lib/libc.so.6
#3 0xb6e2a55a in cnd_wait (mtx=0x80a9b64, cond=0x80a9b7c) at
../../../../include/c11/threads_posix.h:159
#4 pipe_semaphore_wait (sema=0x80a9b64) at
../../../../src/gallium/auxiliary/os/os_thread.h:259
#5 lp_rast_finish (rast=0x80a9aa8) at lp_rast.c:771
#6 0xb6e35aab in lp_setup_rasterize_scene (setup=0x811cac8) at lp_setup.c:180
#7 set_scene_state (setup=setup@entry=0x811cac8,
new_state=new_state@entry=SETUP_FLUSHED, reason=0xb6f44308 <__func__.14289>
"do_flush") at lp_setup.c:330
#8 0xb6e3666f in lp_setup_flush (setup=0x811cac8, fence=0x0, reason=0xb6f44308
<__func__.14289> "do_flush") at lp_setup.c:359
#9 0xb6e287f5 in llvmpipe_flush (pipe=0x80fc1a0, fence=0x0, reason=0xb6f44308
<__func__.14289> "do_flush") at lp_flush.c:55
#10 0xb6e27e33 in do_flush (pipe=0x80fc1a0, fence=0x0, flags=1) at
lp_context.c:113
#11 0xb69b43b1 in st_flush (st=0x81ee428, fence=0x0, flags=1) at
state_tracker/st_cb_flush.c:87
#12 0xb69fe5eb in st_context_flush (stctxi=0x81ee428, flags=2, fence=0x0) at
state_tracker/st_manager.c:504
#13 0xb6ad192d in dri_flush (cPriv=0x80cb130, dPriv=0x80fb9b0, flags=5,
reason=__DRI2_THROTTLE_SWAPBUFFER) at dri_drawable.c:538
#14 0xb753b82b in dri2_flush_drawable_for_swapbuffers (disp=0x80b7458,
draw=0x80fb7f0) at drivers/dri2/egl_dri2.c:1318
#15 0xb75417e0 in dri2_drm_swap_buffers (drv=0x80b56c0, disp=0x80b7458,
draw=0x80fb7f0) at drivers/dri2/platform_drm.c:441
#16 0xb7538db8 in dri2_swap_buffers (drv=0x80b56c0, dpy=0x80b7458,
surf=0x80fb7f0) at drivers/dri2/egl_dri2.c:1333
#17 0xb75331b4 in eglSwapBuffers (dpy=0x80b7458, surface=0x80fb7f0) at
main/eglapi.c:1010
another thread backtrace:
#0 0xb6e2b9e8 in do_block_16_32_1 (c=<synthetic pointer>, y=<optimized out>,
x=<optimized out>, plane=0xb35b10f4, tri=0x812beb0, task=0x80a9bb0) at
lp_rast_tri_tmp.h:136
#1 lp_rast_triangle_32_1 (task=0x80a9bb0, arg=...) at lp_rast_tri_tmp.h:232
#2 0xb6e29981 in do_rasterize_bin (bin=<optimized out>, x=<optimized out>,
y=<optimized out>, task=0x80a9bb0) at lp_rast.c:609
#3 rasterize_bin (y=<optimized out>, x=<optimized out>, bin=<optimized out>,
task=0x80a9bb0) at lp_rast.c:628
#4 rasterize_scene (task=task@entry=0x80a9bb0, scene=<optimized out>) at
lp_rast.c:688
#5 0xb6e2a10a in thread_function (init_data=0x80a9bb0) at lp_rast.c:828
#6 0xb6e29f25 in impl_thrd_routine (p=0x8091c30) at
../../../../include/c11/threads_posix.h:87
#7 0xb7c6f291 in start_thread () from target:/usr/lib/libpthread.so.0
#8 0xb7d75d7e in clone () from target:/usr/lib/libc.so.6</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>