[Bug 54402] [r300g] st_glsl_to_tgsi.cpp:4006:dst_register: Assertion `index < VERT_RESULT_MAX' failed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 2 23:52:13 PDT 2012


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

Paul Menzel <paulepanter at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paulepanter at users.sourcefor
                   |                            |ge.net

--- Comment #1 from Paul Menzel <paulepanter at users.sourceforge.net> 2012-09-03 06:52:13 UTC ---
Trying the demo with

    $ midori --version
    Midori 0.4.6-585-gecfa79f

and Debian Sid/unstable with the following packages

    libgl1-mesa-dri:i386          8.0.4-2
    linux-image-3.2.0-3-686-pae   3.2.23-1

with

    01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI
RS780 [Radeon HD 3200]

I can reproduce this crash.

#0  0x9cd2e6c7 in dst_register (index=35, file=PROGRAM_OUTPUT, t=0xb9d4aef0) at
state_tracker/st_glsl_to_tgsi.cpp:3989
3989    state_tracker/st_glsl_to_tgsi.cpp: Datei oder Verzeichnis nicht
gefunden.
(gdb) bt
#0  0x9cd2e6c7 in dst_register (index=35, file=PROGRAM_OUTPUT, t=0xb9d4aef0) at
state_tracker/st_glsl_to_tgsi.cpp:3989
#1  translate_dst (saturate=false, dst_reg=0xba0cb12c, t=0xb9d4aef0) at
state_tracker/st_glsl_to_tgsi.cpp:4066
#2  compile_tgsi_instruction (inst=0xba0cb120, t=0xb9d4aef0) at
state_tracker/st_glsl_to_tgsi.cpp:4158
#3  st_translate_program (ctx=0xb9c62178, procType=procType at entry=1,
ureg=ureg at entry=0xb96b00e0, program=0xa5dabd80, 
    proginfo=proginfo at entry=0xba0e6860, numInputs=3,
inputMapping=inputMapping at entry=0xba0f6af8, 
    inputSemanticName=inputSemanticName at entry=0x0,
inputSemanticIndex=inputSemanticIndex at entry=0x0,
interpMode=interpMode at entry=0x0, 
    numOutputs=17, outputMapping=outputMapping at entry=0xba0f6c00,
outputSemanticName=outputSemanticName at entry=0xba0f6c8c "", 
    outputSemanticIndex=outputSemanticIndex at entry=0xba0f6caf "",
passthrough_edgeflags=0 '\000') at state_tracker/st_glsl_to_tgsi.cpp:4704
#4  0x9ccf8964 in st_translate_vertex_program (key=0xbf90d218, stvp=0xba0e6860,
st=<optimized out>) at state_tracker/st_program.c:338
#5  st_get_vp_variant (st=st at entry=0xb9cb4d78, stvp=stvp at entry=0xba0e6860,
key=key at entry=0xbf90d218) at state_tracker/st_program.c:426
#6  0x9cdc1a37 in update_vp (st=0xb9cb4d78) at
state_tracker/st_atom_shader.c:144
#7  0x9cdbf116 in st_validate_state (st=st at entry=0xb9cb4d78) at
state_tracker/st_atom.c:197
#8  0x9cdc5a58 in st_Clear (ctx=0xb9c62178, mask=272) at
state_tracker/st_cb_clear.c:508
#9  0x9cd86c20 in _mesa_Clear (mask=16640) at main/clear.c:242
#10 0xb617ffa7 in WebCore::GraphicsContext3D::clear(unsigned int) () from
/usr/lib/libwebkitgtk-1.0.so.0
#11 0xb615e1c7 in WebCore::WebGLRenderingContext::clearIfComposited(unsigned
int) () from /usr/lib/libwebkitgtk-1.0.so.0
#12 0xb616a3e8 in WebCore::WebGLRenderingContext::clear(unsigned int) () from
/usr/lib/libwebkitgtk-1.0.so.0
#13 0xb64aab2b in
WebCore::jsWebGLRenderingContextPrototypeFunctionClear(JSC::ExecState*) () from
/usr/lib/libwebkitgtk-1.0.so.0
#14 0xa868ef69 in ?? ()
#15 0xb52ac74a in JSC::Interpreter::executeCall(JSC::ExecState*,
JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList
const&) () from /usr/lib/libjavascriptcoregtk-1.0.so.0
#16 0xb537b692 in JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType,
JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) ()
   from /usr/lib/libjavascriptcoregtk-1.0.so.0
#17 0xb6b8a744 in WebCore::JSInspectorFrontendHost::port(JSC::ExecState*)::port
() from /usr/lib/libwebkitgtk-1.0.so.0
---Type <return> to continue, or q <return> to quit---
#18 0xb580f097 in
WebCore::ScheduledAction::executeFunctionInContext(JSC::JSGlobalObject*,
JSC::JSValue, WebCore::ScriptExecutionContext*)
    () from /usr/lib/libwebkitgtk-1.0.so.0
#19 0xa9331090 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


Please tell me if you need more information and if that is the same problem or
if I should submit a separate report.

-- 
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