Bug 53321 - [softpipe] sp_texture.c:322:softpipe_get_transfer: Assertion `level <= resource->last_level' failed.
Summary: [softpipe] sp_texture.c:322:softpipe_get_transfer: Assertion `level <= resour...
Status: RESOLVED DUPLICATE of bug 53319
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 06:41 UTC by Vinson Lee
Modified: 2012-08-10 06:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2012-08-10 06:41:43 UTC
mesa: 6cb9e99a757bd5a9d908ed6c5515a9ae5fb041ba (master)

Run WebGL Conformance Tests conformance/misc/type-conversion-test.html on softpipe.


(gdb) bt
#0  _debug_assert_fail (
    expr=expr@entry=0x7ffa90e6d0d4 "level <= resource->last_level", 
    file=file@entry=0x7ffa90e6d094 "sp_texture.c", line=line@entry=322, 
    function=function@entry=0x7ffa90e6d3a0 "softpipe_get_transfer")
    at util/u_debug.c:281
#1  0x00007ffa90bceddf in softpipe_get_transfer (pipe=0x7ffa997f1000, 
    resource=0x7ffaa1102e10, level=2, usage=2, box=0x7fff9d1d9750)
    at sp_texture.c:322
#2  0x00007ffa90dff26e in pipe_get_transfer (h=1, w=1, y=0, x=0, 
    usage=PIPE_TRANSFER_WRITE, layer=<optimized out>, level=2, 
    resource=0x7ffaa1102e10, context=0x7ffa997f1000) at ./util/u_inlines.h:417
#3  util_resource_copy_region (pipe=0x7ffa997f1000, dst=0x7ffaa1102e10, 
    dst_level=2, dst_x=0, dst_y=0, dst_z=<optimized out>, src=0x7ffaa1102370, 
    src_level=0, src_box=0x7fff9d1d9870) at util/u_surface.c:179
#4  0x00007ffa90c8eab2 in st_CopyTexSubImage (ctx=0x7ffaa100c000, 
    dims=<optimized out>, texImage=0x7ffa968c9fa0, destX=0, destY=0, destZ=0, 
    rb=0x7ffa99ccfbe0, srcX=0, srcY=0, width=1, height=1)
    at ../../src/mesa/state_tracker/st_cb_texture.c:1011
#5  0x00007ffa90c6e3e1 in copyteximage (ctx=0x7ffaa100c000, dims=dims@entry=2, 
    target=target@entry=3553, level=2, internalFormat=6408, x=0, y=0, width=1, 
    height=height@entry=1, border=border@entry=0)
    at ../../src/mesa/main/teximage.c:2957
#6  0x00007ffa90c6fb33 in _mesa_CopyTexImage2D (target=3553, 
    level=<optimized out>, internalFormat=<optimized out>, x=<optimized out>, 
    y=<optimized out>, width=<optimized out>, height=1, border=0)
    at ../../src/mesa/main/teximage.c:2996
#7  0x00007ffab25b1ee4 in ?? () from /usr/lib/firefox/libxul.so
#8  0x00007ffab25b7ed3 in ?? () from /usr/lib/firefox/libxul.so
#9  0x00007ffab2c3bfdb in ?? () from /usr/lib/firefox/libxul.so
#10 0x00007ffab2f5e68a in ?? () from /usr/lib/firefox/libxul.so
#11 0x00007ffab2f4fe02 in ?? () from /usr/lib/firefox/libxul.so
#12 0x00007ffab2f5db9d in ?? () from /usr/lib/firefox/libxul.so
#13 0x00007ffab2f5dd4b in ?? () from /usr/lib/firefox/libxul.so
#14 0x00007ffab2f6ee09 in ?? () from /usr/lib/firefox/libxul.so
#15 0x00007ffab2f6f601 in ?? () from /usr/lib/firefox/libxul.so
#16 0x00007ffab313c988 in ?? () from /usr/lib/firefox/libxul.so
#17 0x00007ffaa4c4aa37 in ?? ()
#18 0x00007ffaa4c4a838 in ?? ()
#19 0x000000000000010b in ?? ()
#20 0x0000000000000000 in ?? ()
(gdb) frame 1
#1  0x00007ffa90bceddf in softpipe_get_transfer (pipe=0x7ffa997f1000, 
    resource=0x7ffaa1102e10, level=2, usage=2, box=0x7fff9d1d9750)
    at sp_texture.c:322
322	   assert(level <= resource->last_level);
(gdb) print resource->last_level
$1 = 0
Comment 1 Vinson Lee 2012-08-10 06:53:10 UTC

*** This bug has been marked as a duplicate of bug 53319 ***


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.