From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 31800] New: [r300g] src/mesa/state_tracker/st_mesa_to_tgsi.c:228:src_register: Assertion `index >= 0' failed.
Date: Sat, 20 Nov 2010 18:31:42 -0800 (PST) [thread overview]
Message-ID: <bug-31800-502@http.bugs.freedesktop.org/> (raw)
https://bugs.freedesktop.org/show_bug.cgi?id=31800
Summary: [r300g]
src/mesa/state_tracker/st_mesa_to_tgsi.c:228:src_regis
ter: Assertion `index >= 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: bb045d339b53f7ddd42bfca363e3d589b0ddcf20 (master)
chipset: RV530 71C5 (ATI Radeon X1600)
system architecture: i686
libdrm-dev: 2.4.21-1ubuntu2.1
kernel version: 2.6.35-22-generic
Linux distribution: Ubuntu 10.10 i386
Machine model: iMac4,1
Run piglit gls-fs-uniform-array-6 test.
$ ./bin/shader_runner tests/shaders/glsl-fs-uniform-array-6.shader_test
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/mesa/state_tracker/st_mesa_to_tgsi.c:228:src_register: Assertion `index >=
0' failed.
(gdb) bt
#0 0x01075fcb in _debug_assert_fail (expr=0x199b34d "index >= 0",
file=0x199b290 "src/mesa/state_tracker/st_mesa_to_tgsi.c", line=228,
function=0x199b8f8 "src_register")
at src/gallium/auxiliary/util/u_debug.c:233
#1 0x01875ec5 in src_register (t=0xbff75548, file=PROGRAM_UNIFORM,
index=-1024) at src/mesa/state_tracker/st_mesa_to_tgsi.c:228
#2 0x01876386 in translate_src (t=0xbff75548, SrcReg=0x9d619f4) at
src/mesa/state_tracker/st_mesa_to_tgsi.c:316
#3 0x0187748c in compile_instruction (t=0xbff75548, inst=0x9d619e8) at
src/mesa/state_tracker/st_mesa_to_tgsi.c:664
#4 0x0187901e in st_translate_mesa_program (ctx=0x98cd438, procType=0,
ureg=0x9d26788, program=0x9d12428, numInputs=0, inputMapping=0xbff7688c,
inputSemanticName=0xbff769bc "\002",
inputSemanticIndex=0xbff7699c "\353Ս\001\060j", <incomplete sequence
\367\277>, interpMode=0xbff7680c, numOutputs=1, outputMapping=0xbff76904,
outputSemanticName=0xbff7697c "\001_\211\tt\205\244\t",
outputSemanticIndex=0xbff7695c "", passthrough_edgeflags=0 '\000') at
src/mesa/state_tracker/st_mesa_to_tgsi.c:1142
#5 0x0187a15b in st_translate_fragment_program (st=0x9909d48, stfp=0x9d12428)
at src/mesa/state_tracker/st_program.c:444
#6 0x0185d623 in translate_fp (st=0x9909d48, stfp=0x9d12428) at
src/mesa/state_tracker/st_atom_shader.c:64
#7 0x0185d832 in update_fp (st=0x9909d48) at
src/mesa/state_tracker/st_atom_shader.c:175
#8 0x01859578 in st_validate_state (st=0x9909d48) at
src/mesa/state_tracker/st_atom.c:172
#9 0x017c6978 in st_draw_vbo (ctx=0x98cd438, arrays=0x990c928,
prims=0xbff76fac, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0,
max_index=3) at src/mesa/state_tracker/st_draw.c:649
#10 0x01849725 in vbo_draw_arrays (ctx=0x98cd438, mode=7, start=0, count=4,
numInstances=1) at src/mesa/vbo/vbo_exec_array.c:588
#11 0x0184988c in vbo_exec_DrawArrays (mode=7, start=0, count=4) at
src/mesa/vbo/vbo_exec_array.c:619
#12 0x0804dddc in piglit_draw_rect (x=-1, y=-1, w=2, h=2) at
piglit/tests/util/piglit-util.c:734
#13 0x0804c003 in piglit_display () at piglit/tests/shaders/shader_runner.c:673
#14 0x0804e93f in display () at piglit/tests/util/piglit-framework.c:52
#15 0x005f9820 in fghRedrawWindow (window=0x988f050, enumerator=0xbff772a8) at
freeglut_main.c:210
#16 fghcbDisplayWindow (window=0x988f050, enumerator=0xbff772a8) at
freeglut_main.c:227
#17 0x005fd660 in fgEnumWindows (enumCallback=0x5f9790 <fghcbDisplayWindow>,
enumerator=0xbff772a8) at freeglut_structure.c:394
#18 0x005f9cdb in fghDisplayAll () at freeglut_main.c:249
#19 glutMainLoopEvent () at freeglut_main.c:1450
#20 0x005fa605 in glutMainLoop () at freeglut_main.c:1498
#21 0x0804eae8 in main (argc=2, argv=0xbff77534) at
piglit/tests/util/piglit-framework.c:118
(gdb) frame 1
#1 0x01875ec5 in src_register (t=0xbff75548, file=PROGRAM_UNIFORM,
index=-1024) at src/mesa/state_tracker/st_mesa_to_tgsi.c:228
228 assert(index >= 0);
(gdb) print index
$1 = -1024
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2010-11-21 2:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-21 2:31 bugzilla-daemon [this message]
2010-11-21 21:38 ` [Bug 31800] [r300g] src/mesa/state_tracker/st_mesa_to_tgsi.c:228:src_register: Assertion `index >= 0' failed 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-31800-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.