[Bug 29372] [r300g] r300: Warning: cs_count off by 5 at (r300_emit_rs_state, r300_emit.c:629)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 3 05:22:31 PDT 2010


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

--- Comment #2 from Fabio Pedretti <fabio.ped at libero.it> 2010-08-03 05:22:31 PDT ---
(In reply to comment #1)
> Created an attachment (id=37538)
 View: https://bugs.freedesktop.org/attachment.cgi?id=37538
 Review: https://bugs.freedesktop.org/review?bug=29372&attachment=37538

> possible fix
> 
> Could you try this patch?

It instantly crash with it:

Program received signal SIGSEGV, Segmentation fault.
r300_bind_rs_state (pipe=0x84f7440, state=0x0) at r300_state.c:1110
1110        r300->rs_state.size = 25 + (rs->polygon_offset_enable ? 5 : 0);
(gdb) bt
#0  r300_bind_rs_state (pipe=0x84f7440, state=0x0) at r300_state.c:1110
#1  0xaf49c09e in blitter_restore_CSOs (ctx=0x85098b0) at util/u_blitter.c:296
#2  0xaf49d5e1 in util_blitter_copy_region (blitter=0x85098b0, dst=0xae65d3f8,
subdst=..., dstx=0, dsty=0, dstz=0, src=0xae65d5a0, 
    subsrc=..., srcx=0, srcy=0, srcz=0, width=64, height=64, ignore_stencil=1
'\001') at util/u_blitter.c:837
#3  0xaf30d562 in r300_hw_copy_region (pipe=0x84f7440, dst=0xae65d3f8,
subdst=..., dstx=0, dsty=0, dstz=0, src=0xae65d5a0, subsrc=..., 
    srcx=0, srcy=0, srcz=0, width=64, height=64) at r300_blit.c:237
#4  r300_resource_copy_region (pipe=0x84f7440, dst=0xae65d3f8, subdst=...,
dstx=0, dsty=0, dstz=0, src=0xae65d5a0, subsrc=..., srcx=0, 
    srcy=0, srcz=0, width=64, height=64) at r300_blit.c:292
#5  0xaf2f4c25 in r300_copy_into_tiled_texture (ctx=0x84f7440,
trans=0xae651d88) at r300_transfer.c:78
#6  r300_texture_transfer_destroy (ctx=0x84f7440, trans=0xae651d88) at
r300_transfer.c:223
#7  0xaf4c7c1a in u_transfer_destroy_vtbl (pipe=0x84f7440, transfer=0xae651d88)
at util/u_resource.c:49
#8  0xaf411f56 in st_texture_image_unmap (st=0x858d828, stImage=0xae651c98) at
state_tracker/st_texture.c:168
#9  0xaf4500ea in st_TexImage (ctx=<value optimized out>, dims=<value optimized
out>, target=3553, level=0, internalFormat=32849, width=64, 
    height=64, depth=1, border=0, format=32992, type=5121, pixels=0xaeeab000,
unpack=0x855e060, texObj=0xae651a78, texImage=0xae651c98, 
    imageSize=0, compressed_src=0 '\000') at state_tracker/st_cb_texture.c:765
#10 0xaf450afb in st_TexImage2D (ctx=0x854f248, target=3553, level=0,
internalFormat=32849, width=64, height=64, border=0, format=32992, 
    type=5121, pixels=0xaeeab000, unpack=0x855e060, texObj=0xae651a78,
texImage=0xae651c98) at state_tracker/st_cb_texture.c:798
#11 0xaf3aac54 in _mesa_TexImage2D (target=3553, level=0, internalFormat=32849,
width=64, height=64, border=0, format=32992, type=5121, 
    pixels=0xaeeab000) at main/teximage.c:2409

-- 
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 dri-devel mailing list