<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - spring rts crashes with r300g"
href="https://bugs.freedesktop.org/show_bug.cgi?id=44239#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - spring rts crashes with r300g"
href="https://bugs.freedesktop.org/show_bug.cgi?id=44239">bug 44239</a>
from <span class="vcard"><a class="email" href="mailto:maraeo@gmail.com" title="Marek Olšák <maraeo@gmail.com>"> <span class="fn">Marek Olšák</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=44239#c11">comment #11</a>)
<span class="quote">> This can be easily reproduced using r300g, softpipe or llvmpipe with this
> webgl test:
> <a href="https://www.khronos.org/registry/webgl/sdk/tests/conformance/misc/type">https://www.khronos.org/registry/webgl/sdk/tests/conformance/misc/type</a>-
> conversion-test.html
> This was tested with firefox 18.0. To test with llvmpipe or softpipe you
> probably also need to set webgl.force-enabled=true in about:config, since it
> seems they are blacklisted.
>
> Backtrace:
> ../../src/mesa/state_tracker/st_cb_texture.c:271:guess_base_level_size:
> Assertion `width >= 1' failed.
>
> Program received signal SIGTRAP, Trace/breakpoint trap.
> 0x9b325885 in _debug_assert_fail (expr=0x9bd25ac7 "width >= 1", file=
> 0x9bd25a98 "../../src/mesa/state_tracker/st_cb_texture.c", line=271,
> function=0x9bd25ff2 "guess_base_level_size") at util/u_debug.c:278
> 278 os_abort();
> (gdb) bt full
> #0 0x9b325885 in _debug_assert_fail (expr=0x9bd25ac7 "width >= 1", file=
> 0x9bd25a98 "../../src/mesa/state_tracker/st_cb_texture.c", line=271,
> function=0x9bd25ff2 "guess_base_level_size") at util/u_debug.c:278
> No locals.
> #1 0x9b1e4d94 in guess_base_level_size (target=3553, width=0, height=1,
> depth=
> 1, level=0, width0=0xbfff91d0, height0=0xbfff91cc, depth0=0xbfff91c8)
> at ../../src/mesa/state_tracker/st_cb_texture.c:271
> __FUNCTION__ = "guess_base_level_size"
> #2 0x9b1e4fbd in guess_and_alloc_texture (st=0xa4dd1000, stObj=0x9db9a000,
> stImage=0xa4b89dd0) at ../../src/mesa/state_tracker/st_cb_texture.c:353
> lastLevel = 0
> width = 0
> height = 2602451981
> depth = 3221197304
> bindings = 0
> ptWidth = 2619001788
> ptHeight = 3221197276
> ptDepth = 15981728
> ptLayers = 2152398528
> fmt = 2603772240
> __FUNCTION__ = "guess_and_alloc_texture"
> #3 0x9b1e5323 in st_AllocTextureImageBuffer (ctx=0xa7c3e000, texImage=
> 0xa4b89dd0) at ../../src/mesa/state_tracker/st_cb_texture.c:459
> st = 0xa4dd1000
> stImage = 0xa4b89dd0
> stObj = 0x9db9a000
> level = 0
> width = 0
> height = 1
> depth = 1
> __FUNCTION__ = "st_AllocTextureImageBuffer"
> #4 0x9b15fbe8 in copyteximage (ctx=0xa7c3e000, dims=2, target=3553,
> level=0,
> internalFormat=6408, x=0, y=0, width=0, height=1, border=0)
> at ../../src/mesa/main/teximage.c:3444
> dstX = 0
> dstY = 0
> srcX = 0
> srcY = 0
> dstZ = 0
> texObj = 0x9db9a000
> texImage = 0xa4b89dd0
> face = 0
> texFormat = MESA_FORMAT_RGBA8888_REV
> __FUNCTION__ = "copyteximage"
> __PRETTY_FUNCTION__ = "copyteximage"
> #5 0x9b15fe20 in _mesa_CopyTexImage2D (target=3553, level=0, internalFormat=
> 6408, x=0, y=0, width=0, height=1, border=0)
> at ../../src/mesa/main/teximage.c:3485
> ctx = 0xa7c3e000
> #6 0x4c7a4f94 in ?? () from /usr/lib/xulrunner/libxul.so
> No symbol table info available.
> #7 0x4c7a6499 in ?? () from /usr/lib/xulrunner/libxul.so
> No symbol table info available.</span >
This is a different issue and easily fixable. I'm afraid it won't help fix the
original bug.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>