Bug 53314 - [llvmpipe] src/gallium/drivers/llvmpipe/lp_texture.c:920:llvmpipe_get_texture_tile_layout: Assertion `x < lpr->tiles_per_row[level]' failed.
Summary: [llvmpipe] src/gallium/drivers/llvmpipe/lp_texture.c:920:llvmpipe_get_texture...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-10 04:30 UTC by Vinson Lee
Modified: 2012-08-10 15:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2012-08-10 04:30:06 UTC
mesa: 6cb9e99a757bd5a9d908ed6c5515a9ae5fb041ba

Use llvmpipe.

Got to WebGL Conformance Tests at https://www.khronos.org/registry/webgl/sdk/tests/webgl-conformance-tests.html.

Run conformance/misc/type-conversion-test.html test.


(gdb) bt
#0  0x00007fd465ab0fa6 in _debug_assert_fail (
    expr=0x7fd46631e1f0 "x < lpr->tiles_per_row[level]", 
    file=0x7fd46631de20 "src/gallium/drivers/llvmpipe/lp_texture.c", line=920, 
    function=0x7fd46631e440 "llvmpipe_get_texture_tile_layout")
    at src/gallium/auxiliary/util/u_debug.c:278
#1  0x00007fd465750559 in llvmpipe_get_texture_tile_layout (
    lpr=0x7fd463058800, face_slice=0, level=2, x=0, y=0)
    at src/gallium/drivers/llvmpipe/lp_texture.c:920
#2  0x00007fd465750ed2 in llvmpipe_get_texture_tile_linear (
    lpr=0x7fd463058800, face_slice=0, level=2, usage=LP_TEX_USAGE_READ_WRITE, 
    x=0, y=0) at src/gallium/drivers/llvmpipe/lp_texture.c:1210
#3  0x00007fd465797b03 in lp_resource_copy (pipe=0x7fd475a6a000, 
    dst=0x7fd463058800, dst_level=2, dstx=0, dsty=0, dstz=0, 
    src=0x7fd463057c00, src_level=0, src_box=0x7fff87dc73d0)
    at src/gallium/drivers/llvmpipe/lp_surface.c:143
#4  0x00007fd4658f9dfa in st_CopyTexSubImage (ctx=0x7fd462ce2000, dims=2, 
    texImage=0x7fd4692f52e0, destX=0, destY=0, destZ=0, rb=0x7fd46cbe7be0, 
    srcX=0, srcY=0, width=1, height=1)
    at src/mesa/state_tracker/st_cb_texture.c:1011
#5  0x00007fd4658a0b31 in copyteximage (ctx=0x7fd462ce2000, dims=2, 
    target=3553, level=2, internalFormat=6408, x=0, y=0, width=1, height=1, 
    border=0) at src/mesa/main/teximage.c:2957
#6  0x00007fd4658a0cd0 in _mesa_CopyTexImage2D (target=3553, level=2, 
    internalFormat=6408, x=0, y=0, width=1, height=1, border=0)
    at src/mesa/main/teximage.c:2996
#7  0x00007fd4867b1ee4 in ?? () from /usr/lib/firefox/libxul.so
#8  0x00007fd4867b7ed3 in ?? () from /usr/lib/firefox/libxul.so
#9  0x00007fd486e3bfdb in ?? () from /usr/lib/firefox/libxul.so
#10 0x00007fd48715e68a in ?? () from /usr/lib/firefox/libxul.so
#11 0x00007fd48714fe02 in ?? () from /usr/lib/firefox/libxul.so
#12 0x00007fd48715db9d in ?? () from /usr/lib/firefox/libxul.so
#13 0x00007fd48715dd4b in ?? () from /usr/lib/firefox/libxul.so
#14 0x00007fd48716ee09 in ?? () from /usr/lib/firefox/libxul.so
#15 0x00007fd48716f601 in ?? () from /usr/lib/firefox/libxul.so
#16 0x00007fd48733c988 in ?? () from /usr/lib/firefox/libxul.so
#17 0x00007fd4773e9397 in ?? ()
#18 0x00007fd4773e9198 in ?? ()
#19 0x000000000000010b in ?? ()
#20 0x0000000000000000 in ?? ()
(gdb) frame 1
#1  0x00007fd465750559 in llvmpipe_get_texture_tile_layout (
    lpr=0x7fd463058800, face_slice=0, level=2, x=0, y=0)
    at src/gallium/drivers/llvmpipe/lp_texture.c:920
920	   assert(x < lpr->tiles_per_row[level]);
(gdb) print lpr->tiles_per_row[level]
$1 = 0
Comment 1 Brian Paul 2012-08-10 15:47:22 UTC
Fixed with 9b04abe36812a34ba447e5b1f8d8e44a10510820.


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.