[Mesa-dev] [Bug 97102] [dri][swr] stack overflow / infinite loop with GALLIUM_DRIVER=swr

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 6 09:38:15 UTC 2017


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

--- Comment #3 from Jan Ziak <0xe2.0x9a.0x9b at gmail.com> ---
I am unable to confirm whether this bug has been resolved.

$ LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=swr
SWR detected AVX
Segmentation fault

$ gdb
(gdb) bt
#0  CreateThreadPool (pContext=pContext at entry=0x63a340,
pPool=pPool at entry=0x63a510) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/drivers/swr/rasterizer/core/threads.cpp:840 
#1  0x00007ffff584c1ce in SwrCreateContext
(pCreateInfo=pCreateInfo at entry=0x7fffffffcf60) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/drivers/swr/rasterizer/core/api.cpp:109 
#2  0x00007ffff5835d5b in swr_create_context (p_screen=0x7715f0, priv=0x0,
flags=<optimized out>) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/drivers/swr/swr_context.cpp:466 
#3  0x00007ffff73454ce in st_api_create_context (stapi=<optimized out>,
smapi=0x757f60, attribs=0x7fffffffd110, error=0x7fffffffd10c,
shared_stctxi=0x0)                                                              
    at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/mesa/state_tracker/st_manager.c:662 
#4  0x00007ffff74b34ba in dri_create_context (api=<optimized out>,
visual=0x77c480, cPriv=0x63a2d0, major_version=<optimized out>,
minor_version=<optimized out>, flags=<optimized out>, notify_reset=false,
error=0x7fffffffd2dc,                    
    sharedContextPrivate=0x0) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/state_trackers/dri/dri_context.c:123 
#5  0x00007ffff74b298f in driCreateContextAttribs (screen=0x617ae0,
api=<optimized out>, config=0x77c480, shared=<optimized out>,
num_attribs=<optimized out>, attribs=<optimized out>, error=0x7fffffffd2dc,
data=0x63a130)                          
    at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/mesa/drivers/dri/common/dri_util.c:448 
#6  0x000000366d041baf in drisw_create_context_attribs (base=0x630b10,
config_base=0x784240, shareList=<optimized out>, num_attribs=<optimized out>,
attribs=<optimized out>, error=0x7fffffffd2dc)                                  
    at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/glx/drisw_glx.c:476    
#7  0x000000366d01abc0 in glXCreateContextAttribsARB (dpy=0x603070,
config=0x784240, share_context=0x0, direct=1, attrib_list=0x7fffffffd330) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/glx/create_context.c:78 
#8  0x00007ffff7d96e55 in _glfwCreateContextGLX () from /usr/lib64/libglfw.so.3 
#9  0x00007ffff7d9394d in _glfwPlatformCreateWindow () from
/usr/lib64/libglfw.so.3                                                         
#10 0x00007ffff7d8dd3d in glfwCreateWindow () from /usr/lib64/libglfw.so.3      
#11 0x0000000000400bf0 in main ()

-- 
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/20170106/6858ee6f/attachment.html>


More information about the mesa-dev mailing list