Bug 53316

Summary: [llvmpipe] src/gallium/drivers/llvmpipe/lp_texture.c:601:llvmpipe_get_transfer: Assertion `resource' failed.
Product: Mesa Reporter: Vinson Lee <vlee>
Component: OtherAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2012-08-10 04:54:22 UTC
mesa: 6cb9e99a757bd5a9d908ed6c5515a9ae5fb041ba (master)

Run WebGL Conformance Test conformance/textures/texture-attachment-formats.html on llvmpipe.


(gdb) bt
#0  0x00007f6a8cdb4fa6 in _debug_assert_fail (expr=0x7f6a8d622057 "resource", 
    file=0x7f6a8d621e20 "src/gallium/drivers/llvmpipe/lp_texture.c", line=601, 
    function=0x7f6a8d622670 "llvmpipe_get_transfer") at src/gallium/auxiliary/util/u_debug.c:278
#1  0x00007f6a8ca53cf6 in llvmpipe_get_transfer (pipe=0x7f6a946ca000, resource=0x0, level=0, usage=1, 
    box=0x7fffd5e68560) at src/gallium/drivers/llvmpipe/lp_texture.c:601
#2  0x00007f6a8cbfa1f9 in pipe_get_transfer (context=0x7f6a946ca000, resource=0x0, level=0, layer=0, 
    usage=PIPE_TRANSFER_READ, x=0, y=0, w=2, h=2) at src/gallium/auxiliary/util/u_inlines.h:417
#3  0x00007f6a8cbfb5c0 in st_MapRenderbuffer (ctx=0x7f6a94306000, rb=0x7f6a946bd500, x=0, y=0, w=2, h=2, mode=1, 
    mapOut=0x7fffd5e68688, rowStrideOut=0x7fffd5e6866c) at src/mesa/state_tracker/st_cb_fbo.c:739
#4  0x00007f6a8cb83b09 in fast_read_rgba_pixels_memcpy (ctx=0x7f6a94306000, x=0, y=0, width=2, height=2, 
    format=6408, type=5121, pixels=0x7f6a8c40e3b0, packing=0x7fffd5e68780, transferOps=0)
    at src/mesa/main/readpix.c:263
#5  0x00007f6a8cb83ff8 in read_rgba_pixels (ctx=0x7f6a94306000, x=0, y=0, width=2, height=2, format=6408, 
    type=5121, pixels=0x7f6a8c40e3b0, packing=0x7fffd5e68780) at src/mesa/main/readpix.c:388
#6  0x00007f6a8cb84a47 in _mesa_readpixels (ctx=0x7f6a94306000, x=0, y=0, width=2, height=2, format=6408, 
    type=5121, packing=0x7f6a9430c860, pixels=0x7f6a8c40e3b0) at src/mesa/main/readpix.c:660
#7  0x00007f6a8ccd788b in st_readpixels (ctx=0x7f6a94306000, x=0, y=0, width=2, height=2, format=6408, 
    type=5121, pack=0x7f6a9430c860, dest=0x7f6a8c40e3b0) at src/mesa/state_tracker/st_cb_readpixels.c:54
#8  0x00007f6a8cb84f3c in _mesa_ReadnPixelsARB (x=0, y=0, width=2, height=2, format=6408, type=5121, 
    bufSize=2147483647, pixels=0x7f6a8c40e3b0) at src/mesa/main/readpix.c:760
#9  0x00007f6a8cb84f8d in _mesa_ReadPixels (x=0, y=0, width=2, height=2, format=6408, type=5121, 
    pixels=0x7f6a8c40e3b0) at src/mesa/main/readpix.c:768
#10 0x00007f6ab12b43e0 in ?? () from /usr/lib/firefox/libxul.so
#11 0x00007f6ab193cf4b in ?? () from /usr/lib/firefox/libxul.so
#12 0x00007f6ab1c5e68a in ?? () from /usr/lib/firefox/libxul.so
#13 0x00007f6ab1c4fe02 in ?? () from /usr/lib/firefox/libxul.so
#14 0x00007f6ab1c5db9d in ?? () from /usr/lib/firefox/libxul.so
#15 0x00007f6ab1c5dd4b in ?? () from /usr/lib/firefox/libxul.so
#16 0x00007f6ab1c5e4a4 in ?? () from /usr/lib/firefox/libxul.so
#17 0x00007f6ab1be2824 in JS_EvaluateUCScriptForPrincipalsVersionOrigin () from /usr/lib/firefox/libxul.so
#18 0x00007f6ab13bad4b in ?? () from /usr/lib/firefox/libxul.so
#19 0x00007f6ab126fd82 in ?? () from /usr/lib/firefox/libxul.so
#20 0x00007f6ab126ffec in ?? () from /usr/lib/firefox/libxul.so
#21 0x00007f6ab1271518 in ?? () from /usr/lib/firefox/libxul.so
#22 0x00007f6ab126ea7d in ?? () from /usr/lib/firefox/libxul.so
#23 0x00007f6ab14b152a in ?? () from /usr/lib/firefox/libxul.so
#24 0x00007f6ab14b201d in ?? () from /usr/lib/firefox/libxul.so
#25 0x00007f6ab14b2bb2 in ?? () from /usr/lib/firefox/libxul.so
#26 0x00007f6ab14b2c40 in ?? () from /usr/lib/firefox/libxul.so
#27 0x00007f6ab1975d37 in ?? () from /usr/lib/firefox/libxul.so
#28 0x00007f6ab194b8f1 in ?? () from /usr/lib/firefox/libxul.so
#29 0x00007f6ab18c330c in ?? () from /usr/lib/firefox/libxul.so
#30 0x00007f6ab1994441 in ?? () from /usr/lib/firefox/libxul.so
#31 0x00007f6ab18259a3 in ?? () from /usr/lib/firefox/libxul.so
#32 0x00007f6ab17062f1 in ?? () from /usr/lib/firefox/libxul.so
#33 0x00007f6ab0f7a6f0 in ?? () from /usr/lib/firefox/libxul.so
#34 0x00007f6ab0f7a8df in ?? () from /usr/lib/firefox/libxul.so
#35 0x00007f6ab0f7ab43 in XRE_main () from /usr/lib/firefox/libxul.so
#36 0x00007f6ab55b18da in ?? ()
#37 0x00007f6ab45ce76d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#38 0x00007f6ab55b1961 in _start ()
(gdb) frame 1
#1  0x00007f6a8ca53cf6 in llvmpipe_get_transfer (pipe=0x7f6a946ca000, resource=0x0, level=0, usage=1, 
    box=0x7fffd5e68560) at src/gallium/drivers/llvmpipe/lp_texture.c:601
601	   assert(resource);
Comment 1 Brian Paul 2012-08-10 17:51:00 UTC
fixed with commit cf77c29e6015d177c046adee3c48589cc9fb5015

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.