[Mesa-dev] [Bug 53321] New: [softpipe] sp_texture.c:322:softpipe_get_transfer: Assertion `level <= resource->last_level' failed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 9 23:41:43 PDT 2012


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

             Bug #: 53321
           Summary: [softpipe] sp_texture.c:322:softpipe_get_transfer:
                    Assertion `level <= resource->last_level' failed.
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: vlee at freedesktop.org


mesa: 6cb9e99a757bd5a9d908ed6c5515a9ae5fb041ba (master)

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


(gdb) bt
#0  _debug_assert_fail (
    expr=expr at entry=0x7ffa90e6d0d4 "level <= resource->last_level", 
    file=file at entry=0x7ffa90e6d094 "sp_texture.c", line=line at entry=322, 
    function=function at 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 at entry=2, 
    target=target at entry=3553, level=2, internalFormat=6408, x=0, y=0, width=1, 
    height=height at entry=1, border=border at 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

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list