Bug 95000

Summary: deqp: assert in dEQP-GLES3.functional.vertex_arrays.single_attribute.strides.fixed.user_ptr_stride17_components2_quads1
Product: Mesa Reporter: Rob Clark <robclark>
Component: Drivers/Gallium/FreedrenoAssignee: Rob Clark <robclark>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Rob Clark 2016-04-18 19:37:12 UTC
unhandled format in u_vbuf_translate:

(gdb) bt
#0  0xb69dd8b8 in raise () from /lib/libc.so.6
#1  0xb69dee50 in abort () from /lib/libc.so.6
#2  0xb69d5fc0 in __assert_fail_base () from /lib/libc.so.6
#3  0xb69d609c in __assert_fail () from /lib/libc.so.6
#4  0xb638c6b0 in u_vbuf_translate_begin (mgr=0x14aae60, start_vertex=0, num_vertices=6, start_instance=0, num_instances=1, start_index=0, num_indices=6, min_index=0, 
    unroll_indices=0 '\000') at ../../../../src/gallium/auxiliary/util/u_vbuf.c:647
#5  0xb638e790 in u_vbuf_draw_vbo (mgr=0x14aae60, info=0xbeffed14) at ../../../../src/gallium/auxiliary/util/u_vbuf.c:1243
#6  0xb62e0cd0 in cso_draw_vbo (cso=0x14aa770, info=0xbeffed14) at ../../../../src/gallium/auxiliary/cso_cache/cso_context.c:1626
#7  0xb61497d0 in st_draw_vbo (ctx=0x14c9e50, prims=0xbeffedbc, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=5, tfb_vertcount=0x0, stream=0, indirect=0x0)
    at ../../../src/mesa/state_tracker/st_draw.c:251
#8  0xb60e1fd8 in vbo_draw_arrays (ctx=0x14c9e50, mode=4, start=0, count=6, numInstances=1, baseInstance=0) at ../../../src/mesa/vbo/vbo_exec_array.c:497
#9  0xb60e2da8 in vbo_exec_DrawArrays (mode=4, start=0, count=6) at ../../../src/mesa/vbo/vbo_exec_array.c:649
#10 0xb6881a20 in shared_dispatch_stub_310 (mode=4, first=0, count=6) at ./shared-glapi/glapi_mapi_tmp.h:18471
#11 0x00c3aa68 in glu::CallLogWrapper::glDrawArrays (this=0x14b8410, mode=4, first=0, count=6) at /home/robclark/src/deqp/framework/opengl/gluCallLogWrapper.inl:953
#12 0x01031224 in sglr::GLContext::drawArrays (this=0x14ba280, mode=4, first=0, count=6) at /home/robclark/src/deqp/framework/opengl/simplereference/sglrGLContext.cpp:787
#13 0x00f65ea0 in deqp::gls::ContextArrayPack::render (this=0x137f000, primitive=deqp::gls::Array::PRIMITIVE_TRIANGLES, firstVertex=0, vertexCount=6, useVao=false, coordScale=0.45009616, 
    colorScale=1) at /home/robclark/src/deqp/modules/glshared/glsVertexArrayTests.cpp:1189
#14 0x00f6a384 in deqp::gls::MultiVertexArrayTest::iterate (this=0x14b8980) at /home/robclark/src/deqp/modules/glshared/glsVertexArrayTests.cpp:2108
#15 0x00684c48 in deqp::gles3::TestCaseWrapper::iterate (this=0x137e400, testCase=0x14b8980) at /home/robclark/src/deqp/modules/gles3/tes3TestPackage.cpp:90
#16 0x00bbdb38 in tcu::TestSessionExecutor::iterateTestCase (this=0x137dff0, testCase=0x14b8980) at /home/robclark/src/deqp/framework/common/tcuTestSessionExecutor.cpp:270
#17 0x00bbcf48 in tcu::TestSessionExecutor::iterate (this=0x137dff0) at /home/robclark/src/deqp/framework/common/tcuTestSessionExecutor.cpp:133
#18 0x00b91704 in tcu::App::iterate (this=0x137e228) at /home/robclark/src/deqp/framework/common/tcuApp.cpp:136
#19 0x00681188 in main (argc=5, argv=0xbefff5f4) at /home/robclark/src/deqp/framework/platform/tcuMain.cpp:55
(gdb) print mgr->ve->native_format[i]
$2 = PIPE_FORMAT_R32G32_FIXED
Comment 1 Rob Clark 2016-08-03 19:10:57 UTC
btw, fix pushed in 53b2b8bf6f12547a0dde25cfb8e6926ac144f5d8

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.