<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:pavel.ondracka@email.cz" title="Pavel Ondračka <pavel.ondracka@email.cz>"> <span class="fn">Pavel Ondračka</span></a>
</span> changed
<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>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>pavel.ondracka@email.cz
</td>
</tr></table>
<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#c11">Comment # 11</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:pavel.ondracka@email.cz" title="Pavel Ondračka <pavel.ondracka@email.cz>"> <span class="fn">Pavel Ondračka</span></a>
</span></b>
<pre>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-conversion-test.html">https://www.khronos.org/registry/webgl/sdk/tests/conformance/misc/type-conversion-test.html</a>
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.
.....
.....
Rest of the backtrace (in libxul.so and firefox) is truncated since I don't
have firefox debug symbols, however it probably doesn't contain anything
interesting. Also no errors in dmesg.</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>