[Bug 27937] SEGV in r700_assembler.c next_ins() with RV670 kms

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat May 29 08:31:52 PDT 2010


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

--- Comment #4 from Török Edwin <edwintorok at gmail.com> 2010-05-29 08:31:52 PDT ---
Happens on rv730 too, see backtrace below.
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV730 9498) 20090101  TCL DRI2
OpenGL version string: 2.1 Mesa 7.9-devel
OpenGL shading language version string: 1.20

Mesa is latest git master, built like this:
./configure --prefix=/opt/xorg --with-dri-drivers=r600,swrast --disable-gallium
--with-dri-driverdir=/opt/xorg/lib/dri --enable-glx-tls
PKG_CONFIG_PATH=/opt/xorg/lib/pkgconfig/

Steps to reproduce:
1. download sources and data from here:
http://trac.wildfiregames.com/wiki/LatestRelease
2. follow the Linux build instructions
http://trac.wildfiregames.com/wiki/BuildInstructions#Unix
3. launch pyrogenesis_dbg
4. a warning about missing S3TC pops up, ignore it.
5. select 'single player game', press start game
6. when loading screen is near 100% the game crashes. everytime.

Backtrace:
(gdb) bt
#0  0x00007fffee697ce3 in next_ins (pAsm=0x27537c0) at r700_assembler.c:2619
#1  0x00007fffee69854b in assemble_MOV (pAsm=0x27537c0) at
r700_assembler.c:3874
#2  0x00007fffee69d14d in AssembleInstr (uiFirstInst=1, uiIL_Shift=256,
uiNumberInsts=4, pILInst=0x2755690, 
    pR700AsmCode=0x27537c0) at r700_assembler.c:5622
#3  0x00007fffee69ec78 in r700TranslateFragmentShader (fp=0x274f510,
mesa_fp=0x274f510, ctx=0x7fffe8162360)
    at r700_fragprog.c:412
#4  0x00007fffee6aa0c7 in r700UpdateShaders (ctx=0x27537c0) at r700_state.c:73
#5  0x00007fffee6ab697 in r700TryDrawPrims (ctx=0x7fffe8162360, arrays=<value
optimized out>, prim=<value optimized out>, 
    nr_prims=<value optimized out>, ib=0x7fffffffdaf0,
index_bounds_valid=<value optimized out>, min_index=0, max_index=90)
    at r700_render.c:904
#6  r700DrawPrims (ctx=0x7fffe8162360, arrays=<value optimized out>,
prim=<value optimized out>, 
    nr_prims=<value optimized out>, ib=0x7fffffffdaf0,
index_bounds_valid=<value optimized out>, min_index=0, max_index=90)
    at r700_render.c:993
#7  0x00007fffee76fefc in vbo_validated_drawrangeelements (ctx=0x7fffe8162360,
mode=4, 
    index_bounds_valid=<value optimized out>, start=0, end=90, count=90,
type=5123, indices=0x26c76a0, basevertex=0, 
    primcount=1) at vbo/vbo_exec_array.c:732
#8  0x00007fffee77018d in vbo_exec_DrawRangeElementsBaseVertex (mode=<value
optimized out>, start=0, end=90, count=90, 
    type=5123, indices=0x26c76a0, basevertex=0) at vbo/vbo_exec_array.c:844
#9  0x00007fffee770280 in vbo_exec_DrawRangeElements (mode=41236416, start=256,
end=7, count=41244304, type=256, indices=0x3)
    at vbo/vbo_exec_array.c:864
#10 0x0000000000937fd3 in HWLightingModelRenderer::RenderModel (this=0xff1c30,
streamflags=9, model=0x7fffe89951e0, 
    data=0x26c77a0) at ../../../source/renderer/HWLightingModelRenderer.cpp:323
#11 0x0000000000925c13 in SortModelRenderer::Render (this=0xff7900,
modifier=..., flags=1)
    at ../../../source/renderer/TransparencyRenderer.cpp:574
#12 0x00000000009104f8 in CRenderer::RenderShadowMap (this=0xf70340) at
../../../source/renderer/Renderer.cpp:863
#13 0x0000000000911f38 in CRenderer::RenderSubmissions (this=0xf70340) at
../../../source/renderer/Renderer.cpp:1228
#14 0x0000000000912aab in CRenderer::RenderScene (this=0xf70340,
scene=0x17a1310)
    at ../../../source/renderer/Renderer.cpp:1454
#15 0x00000000008e535a in CGameView::Render (this=0x17a1310) at
../../../source/graphics/GameView.cpp:320
#16 0x000000000077f7f0 in Render () at
../../../source/ps/GameSetup/GameSetup.cpp:245
#17 0x000000000061f226 in Frame () at ../../../source/main.cpp:331
#18 0x000000000061f48b in RunGameOrAtlas (argc=1, argv=0x7fffffffe1b8) at
../../../source/main.cpp:411
#19 0x000000000061f530 in main (argc=1, argv=0x7fffffffe1b8) at
../../../source/main.cpp:424

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