[Mesa-dev] [Bug 94522] weston eglSwapBuffers crash in kms_swrast_dri.so on GMA500

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 13 12:40:47 UTC 2016


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

            Bug ID: 94522
           Summary: weston eglSwapBuffers crash in kms_swrast_dri.so on
                    GMA500
           Product: Mesa
           Version: 11.1
          Hardware: x86 (IA32)
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: EGL/Wayland
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: comicfans44 at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

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 at 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 at entry=0x811cac8,
new_state=new_state at 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 at 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

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


More information about the mesa-dev mailing list