From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 32905] New: [r300g] src/gallium/drivers/r300/r300_state.c:1874:r300_set_constant_buffer: Assertion `(buf->width0 % (4 * sizeof(float))) == 0' failed.
Date: Fri, 7 Jan 2011 12:10:43 -0800 (PST) [thread overview]
Message-ID: <bug-32905-502@http.bugs.freedesktop.org/> (raw)
https://bugs.freedesktop.org/show_bug.cgi?id=32905
Summary: [r300g]
src/gallium/drivers/r300/r300_state.c:1874:r300_set_co
nstant_buffer: Assertion `(buf->width0 % (4 *
sizeof(float))) == 0' failed.
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Drivers/Gallium/r300
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: vlee@vmware.com
mesa: 82acc3b14c2e85b4367bcbbb50f6a7e946050b19 (master)
chipset: RV530 71C5 (ATI Radeon X1600)
system architecture: i686
libdrm-dev: 2.4.21-1ubuntu2.1
kernel version: 2.6.35-24-generic
Linux distribution: Ubuntu 10.10 i386
Run piglit fdo10370 test.
$ ./bin/fdo10370 -auto
radeon: Successfully grabbed chipset info from kernel!
radeon: DRM version: 2.5.0 ID: 0x71c5 GB: 1 Z: 2
radeon: GART size: 509 MB VRAM size: 128 MB
radeon: HyperZ: NO
src/gallium/drivers/r300/r300_state.c:1874:r300_set_constant_buffer: Assertion
`(buf->width0 % (4 * sizeof(float))) == 0' failed.
Trace/breakpoint trap
Program terminated with signal 5, Trace/breakpoint trap.
#0 0x01109d6f in _debug_assert_fail (expr=0x1986b44 "(buf->width0 % (4 *
sizeof(float))) == 0", file=0x19867dc "src/gallium/drivers/r300/r300_state.c",
line=1874,
function=0x1986b6d "r300_set_constant_buffer") at
src/gallium/auxiliary/util/u_debug.c:234
234 os_abort();
(gdb) bt
#0 0x01109d6f in _debug_assert_fail (expr=0x1986b44 "(buf->width0 % (4 *
sizeof(float))) == 0", file=0x19867dc "src/gallium/drivers/r300/r300_state.c",
line=1874,
function=0x1986b6d "r300_set_constant_buffer") at
src/gallium/auxiliary/util/u_debug.c:234
#1 0x01082953 in r300_set_constant_buffer (pipe=0x8a8a528, shader=0, index=0,
buf=0x8a809c0) at src/gallium/drivers/r300/r300_state.c:1874
#2 0x018f27c5 in st_upload_constants (st=0x8aee1d8, params=0x8add398,
shader_type=0) at src/mesa/state_tracker/st_atom_constbuf.c:92
#3 0x018f28a4 in update_vs_constants (st=0x8aee1d8) at
src/mesa/state_tracker/st_atom_constbuf.c:114
#4 0x018f1a1b in st_validate_state (st=0x8aee1d8) at
src/mesa/state_tracker/st_atom.c:196
#5 0x018fd3f5 in st_Clear (ctx=0x8aafa10, mask=1) at
src/mesa/state_tracker/st_cb_clear.c:464
#6 0x018874f0 in _mesa_Clear (mask=16384) at src/mesa/main/clear.c:242
#7 0x08049032 in display () at piglit/tests/bugs/fdo10370.c:66
#8 0x00720820 in fghRedrawWindow (window=DWARF-2 expression error: DW_OP_reg
operations must be used either alone or in conjuction with DW_OP_piece or
DW_OP_bit_piece.
) at freeglut_main.c:210
#9 fghcbDisplayWindow (window=DWARF-2 expression error: DW_OP_reg operations
must be used either alone or in conjuction with DW_OP_piece or DW_OP_bit_piece.
) at freeglut_main.c:227
#10 0x00724660 in fgEnumWindows (enumCallback=0x720790 <fghcbDisplayWindow>,
enumerator=0xbfd89dd8) at freeglut_structure.c:394
#11 0x00720cdb in fghDisplayAll () at freeglut_main.c:249
#12 glutMainLoopEvent () at freeglut_main.c:1450
#13 0x00721605 in glutMainLoop () at freeglut_main.c:1498
#14 0x08049678 in main (argc=2, argv=0xbfd8a054) at
piglit/tests/bugs/fdo10370.c:170
(gdb) frame 1
#1 0x01082953 in r300_set_constant_buffer (pipe=0x8a8a528, shader=0, index=0,
buf=0x8a809c0) at src/gallium/drivers/r300/r300_state.c:1874
1874 assert((buf->width0 % (4 * sizeof(float))) == 0);
(gdb) print buf->width0
$1 = 4294967295
(gdb) print /x buf->width0
$2 = 0xffffffff
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
next reply other threads:[~2011-01-08 14:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-07 20:10 bugzilla-daemon [this message]
2011-01-07 20:16 ` [Bug 32905] [r300g] src/gallium/drivers/r300/r300_state.c:1874:r300_set_constant_buffer: Assertion `(buf->width0 % (4 * sizeof(float))) == 0' failed bugzilla-daemon
2011-01-08 19:58 ` bugzilla-daemon
2011-01-09 9:03 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-32905-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.