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

2010-07-16 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #9 from Henri Verbeet  2010-07-16 05:24:03 
PDT ---
(In reply to comment #8)
> The backtrace in comment 7 looks
> different, but is probably a duplicate of bug 27141.

(To clarify that a bit, lines #0 - #17 of that backtrace look like a separate
issue from lines #18 - #34.)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


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

2010-07-16 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #8 from Henri Verbeet  2010-07-16 05:20:41 
PDT ---
The original backtrace looks pretty similar to an issue fixed by
1f7bc87391bc42eb9003020b7654e985494c6e61 and
1ec492a366e236569dc68f4de32e641c88cbcd63. The backtrace in comment 7 looks
different, but is probably a duplicate of bug 27141. May have been fixed by
fef9b532cd1631cc53056b9eba4369d1310b88df.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


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

2010-07-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #8 from Henri Verbeet hverb...@gmail.com 2010-07-16 05:20:41 PDT 
---
The original backtrace looks pretty similar to an issue fixed by
1f7bc87391bc42eb9003020b7654e985494c6e61 and
1ec492a366e236569dc68f4de32e641c88cbcd63. The backtrace in comment 7 looks
different, but is probably a duplicate of bug 27141. May have been fixed by
fef9b532cd1631cc53056b9eba4369d1310b88df.

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


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

2010-06-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #7 from Nix  2010-06-08 09:30:51 PDT ---
What appears to be the same crash happens with scorched3d on my r770 as well,
with both 2.6.32 and 2.6.34. The common factor appears to be Mesa 7.8.x, right
up to 7.8.2 (head of the 7.8 branch) (7.7 does not crash), so maybe this should
be moved to the Mesa bug db?

Backtrace (stack frame 18 and below significant):

#0  0x7f122730eada in radeonFlush (ctx=0x4c67ae0) at radeon_common.c:1129
#1  0x7f1227306763 in radeon_firevertices (ctx=0x4c67ae0, texObj=0x4cac490)
at radeon_cmdbuf.h:118
#2  r600DeleteTexture (ctx=0x4c67ae0, texObj=0x4cac490) at r600_tex.c:347
#3  0x7f12273922ee in _mesa_free_texture_data (ctx=0x4c67ae0) at
main/texstate.c:809
#4  0x7f122732cee8 in _mesa_free_context_data (ctx=0x4c67ae0) at
main/context.c:961
#5  0x7f122732d01e in _mesa_destroy_context (ctx=0x4c67ae0) at
main/context.c:1020
#6  0x7f122730d715 in radeonDestroyContext (driContextPriv=) at radeon_common_context.c:323
#7  0x7f12272e4110 in driDestroyContext (pcp=0x4bfb450) at
../common/dri_util.c:551
#8  0x7f122e773963 in dri2DestroyContext (context=0x4b95460, psc=0x0,
dpy=0x5) at dri2_glx.c:100
#9  0x7f122e74cae8 in DestroyContext (dpy=0x4b904f0, gc=0x4c1f590) at
glxcmds.c:584
#10 0x7f122de300f2 in X11_GL_Shutdown (this=0x4ba2460) at
./src/video/x11/SDL_x11gl.c:322
#11 0x7f122de3443e in X11_DestroyWindow (this=0x4ba2460, screen=0x0) at
./src/video/x11/SDL_x11video.c:709
#12 0x7f122de34657 in X11_VideoQuit (this=0x4ba2460) at
./src/video/x11/SDL_x11video.c:1488
#13 0x7f122de238a2 in SDL_VideoQuit () at ./src/video/SDL_video.c:1352
#14 0x7f122ddfc835 in SDL_QuitSubSystem (flags=80100320) at ./src/SDL.c:202
#15 0x7f122ddfc8ce in SDL_Quit () at ./src/SDL.c:222
#16 0x7f122ddfd10f in SDL_Parachute (sig=11) at ./src/SDL_fatal.c:41
#17 
#18 0x7f12272f1693 in next_ins (pAsm=0x6643190) at r700_assembler.c:2619
#19 0x7f12272f48e9 in assemble_MUL (pAsm=0x6643190) at
r700_assembler.c:3906
#20 0x7f12272f6add in AssembleInstr (uiFirstInst=,
uiIL_Shift=257, uiNumberInsts=3, pILInst=0x6645080, pR700AsmCode=0x6643190) at
r700_assembler.c:5626
#21 0x7f12272f8567 in r700TranslateFragmentShader (fp=0x663eee0,
mesa_fp=0x663eee0, ctx=0x4c67ae0) at r700_fragprog.c:412
#22 0x7f12273030e7 in r700UpdateShaders (ctx=0x6643190) at r700_state.c:72
#23 0x7f12273046b6 in r700TryDrawPrims (ctx=0x4c67ae0, arrays=, prim=, nr_prims=,
ib=0x0, index_bounds_valid=, min_index=0,
max_index=831) at r700_render.c:904
#24 r700DrawPrims (ctx=0x4c67ae0, arrays=, prim=, nr_prims=, ib=0x0,
index_bounds_valid=, min_index=0, max_index=831)
at r700_render.c:993
#25 0x7f12273ab3de in vbo_exec_vtx_flush (exec=0x4cb54b0, unmap=) at vbo/vbo_exec_draw.c:384
#26 0x0067e8a6 in VisibilityPatchGrid::drawLand (this=0x3ca5500,
addIndex=, simple=) at
../land/VisibilityPatchGrid.cpp:338
#27 0x006037c5 in Landscape::drawShadows (this=0x5023440) at
../landscape/Landscape.cpp:202
#28 0x005306ff in AnimatedBackdropDialog::drawBackground (this=) at ../dialogs/AnimatedBackdropDialog.cpp:119
#29 0x00530759 in AnimatedBackdropDialog::draw (this=0x6643190) at
../dialogs/AnimatedBackdropDialog.cpp:107
#30 0x005f5886 in GLWWindowManager::draw (this=0x501ffa0, state=) at ../GLW/GLWWindowManager.cpp:302
#31 0x0046e840 in GameState::draw (this=0x4fdbec0) at
../../common/engine/GameState.cpp:427
#32 0x00471f82 in MainLoop::draw (this=0x4ff7880) at
../../common/engine/MainLoop.cpp:118
#33 0x00520dda in ClientMain::clientMain () at
../client/ClientMain.cpp:395
#34 0x0050ff2e in main (argc=3, argv=0x7fff18334658) at ./main.cpp:103

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


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

2010-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #7 from Nix n...@esperi.org.uk 2010-06-08 09:30:51 PDT ---
What appears to be the same crash happens with scorched3d on my r770 as well,
with both 2.6.32 and 2.6.34. The common factor appears to be Mesa 7.8.x, right
up to 7.8.2 (head of the 7.8 branch) (7.7 does not crash), so maybe this should
be moved to the Mesa bug db?

Backtrace (stack frame 18 and below significant):

#0  0x7f122730eada in radeonFlush (ctx=0x4c67ae0) at radeon_common.c:1129
#1  0x7f1227306763 in radeon_firevertices (ctx=0x4c67ae0, texObj=0x4cac490)
at radeon_cmdbuf.h:118
#2  r600DeleteTexture (ctx=0x4c67ae0, texObj=0x4cac490) at r600_tex.c:347
#3  0x7f12273922ee in _mesa_free_texture_data (ctx=0x4c67ae0) at
main/texstate.c:809
#4  0x7f122732cee8 in _mesa_free_context_data (ctx=0x4c67ae0) at
main/context.c:961
#5  0x7f122732d01e in _mesa_destroy_context (ctx=0x4c67ae0) at
main/context.c:1020
#6  0x7f122730d715 in radeonDestroyContext (driContextPriv=value optimized
out) at radeon_common_context.c:323
#7  0x7f12272e4110 in driDestroyContext (pcp=0x4bfb450) at
../common/dri_util.c:551
#8  0x7f122e773963 in dri2DestroyContext (context=0x4b95460, psc=0x0,
dpy=0x5) at dri2_glx.c:100
#9  0x7f122e74cae8 in DestroyContext (dpy=0x4b904f0, gc=0x4c1f590) at
glxcmds.c:584
#10 0x7f122de300f2 in X11_GL_Shutdown (this=0x4ba2460) at
./src/video/x11/SDL_x11gl.c:322
#11 0x7f122de3443e in X11_DestroyWindow (this=0x4ba2460, screen=0x0) at
./src/video/x11/SDL_x11video.c:709
#12 0x7f122de34657 in X11_VideoQuit (this=0x4ba2460) at
./src/video/x11/SDL_x11video.c:1488
#13 0x7f122de238a2 in SDL_VideoQuit () at ./src/video/SDL_video.c:1352
#14 0x7f122ddfc835 in SDL_QuitSubSystem (flags=80100320) at ./src/SDL.c:202
#15 0x7f122ddfc8ce in SDL_Quit () at ./src/SDL.c:222
#16 0x7f122ddfd10f in SDL_Parachute (sig=11) at ./src/SDL_fatal.c:41
#17 signal handler called
#18 0x7f12272f1693 in next_ins (pAsm=0x6643190) at r700_assembler.c:2619
#19 0x7f12272f48e9 in assemble_MUL (pAsm=0x6643190) at
r700_assembler.c:3906
#20 0x7f12272f6add in AssembleInstr (uiFirstInst=value optimized out,
uiIL_Shift=257, uiNumberInsts=3, pILInst=0x6645080, pR700AsmCode=0x6643190) at
r700_assembler.c:5626
#21 0x7f12272f8567 in r700TranslateFragmentShader (fp=0x663eee0,
mesa_fp=0x663eee0, ctx=0x4c67ae0) at r700_fragprog.c:412
#22 0x7f12273030e7 in r700UpdateShaders (ctx=0x6643190) at r700_state.c:72
#23 0x7f12273046b6 in r700TryDrawPrims (ctx=0x4c67ae0, arrays=value
optimized out, prim=value optimized out, nr_prims=value optimized out,
ib=0x0, index_bounds_valid=value optimized out, min_index=0,
max_index=831) at r700_render.c:904
#24 r700DrawPrims (ctx=0x4c67ae0, arrays=value optimized out, prim=value
optimized out, nr_prims=value optimized out, ib=0x0,
index_bounds_valid=value optimized out, min_index=0, max_index=831)
at r700_render.c:993
#25 0x7f12273ab3de in vbo_exec_vtx_flush (exec=0x4cb54b0, unmap=value
optimized out) at vbo/vbo_exec_draw.c:384
#26 0x0067e8a6 in VisibilityPatchGrid::drawLand (this=0x3ca5500,
addIndex=value optimized out, simple=value optimized out) at
../land/VisibilityPatchGrid.cpp:338
#27 0x006037c5 in Landscape::drawShadows (this=0x5023440) at
../landscape/Landscape.cpp:202
#28 0x005306ff in AnimatedBackdropDialog::drawBackground (this=value
optimized out) at ../dialogs/AnimatedBackdropDialog.cpp:119
#29 0x00530759 in AnimatedBackdropDialog::draw (this=0x6643190) at
../dialogs/AnimatedBackdropDialog.cpp:107
#30 0x005f5886 in GLWWindowManager::draw (this=0x501ffa0, state=value
optimized out) at ../GLW/GLWWindowManager.cpp:302
#31 0x0046e840 in GameState::draw (this=0x4fdbec0) at
../../common/engine/GameState.cpp:427
#32 0x00471f82 in MainLoop::draw (this=0x4ff7880) at
../../common/engine/MainLoop.cpp:118
#33 0x00520dda in ClientMain::clientMain () at
../client/ClientMain.cpp:395
#34 0x0050ff2e in main (argc=3, argv=0x7fff18334658) at ./main.cpp:103

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


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

2010-05-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #6 from T?r?k Edwin  2010-05-29 08:35:52 
PDT ---
Created an attachment (id=35944)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=35944)
dmesg

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


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

2010-05-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #5 from T?r?k Edwin  2010-05-29 08:35:30 
PDT ---
Created an attachment (id=35943)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=35943)
Xorg.0.log

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


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

2010-05-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #4 from T?r?k Edwin  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  0x7fffee697ce3 in next_ins (pAsm=0x27537c0) at r700_assembler.c:2619
#1  0x7fffee69854b in assemble_MOV (pAsm=0x27537c0) at
r700_assembler.c:3874
#2  0x7fffee69d14d in AssembleInstr (uiFirstInst=1, uiIL_Shift=256,
uiNumberInsts=4, pILInst=0x2755690, 
pR700AsmCode=0x27537c0) at r700_assembler.c:5622
#3  0x7fffee69ec78 in r700TranslateFragmentShader (fp=0x274f510,
mesa_fp=0x274f510, ctx=0x7fffe8162360)
at r700_fragprog.c:412
#4  0x7fffee6aa0c7 in r700UpdateShaders (ctx=0x27537c0) at r700_state.c:73
#5  0x7fffee6ab697 in r700TryDrawPrims (ctx=0x7fffe8162360, arrays=, prim=, 
nr_prims=, ib=0x7fffdaf0,
index_bounds_valid=, min_index=0, max_index=90)
at r700_render.c:904
#6  r700DrawPrims (ctx=0x7fffe8162360, arrays=,
prim=, 
nr_prims=, ib=0x7fffdaf0,
index_bounds_valid=, min_index=0, max_index=90)
at r700_render.c:993
#7  0x7fffee76fefc in vbo_validated_drawrangeelements (ctx=0x7fffe8162360,
mode=4, 
index_bounds_valid=, start=0, end=90, count=90,
type=5123, indices=0x26c76a0, basevertex=0, 
primcount=1) at vbo/vbo_exec_array.c:732
#8  0x7fffee77018d in vbo_exec_DrawRangeElementsBaseVertex (mode=, start=0, end=90, count=90, 
type=5123, indices=0x26c76a0, basevertex=0) at vbo/vbo_exec_array.c:844
#9  0x7fffee770280 in vbo_exec_DrawRangeElements (mode=41236416, start=256,
end=7, count=41244304, type=256, indices=0x3)
at vbo/vbo_exec_array.c:864
#10 0x00937fd3 in HWLightingModelRenderer::RenderModel (this=0xff1c30,
streamflags=9, model=0x7fffe89951e0, 
data=0x26c77a0) at ../../../source/renderer/HWLightingModelRenderer.cpp:323
#11 0x00925c13 in SortModelRenderer::Render (this=0xff7900,
modifier=..., flags=1)
at ../../../source/renderer/TransparencyRenderer.cpp:574
#12 0x009104f8 in CRenderer::RenderShadowMap (this=0xf70340) at
../../../source/renderer/Renderer.cpp:863
#13 0x00911f38 in CRenderer::RenderSubmissions (this=0xf70340) at
../../../source/renderer/Renderer.cpp:1228
#14 0x00912aab in CRenderer::RenderScene (this=0xf70340,
scene=0x17a1310)
at ../../../source/renderer/Renderer.cpp:1454
#15 0x008e535a in CGameView::Render (this=0x17a1310) at
../../../source/graphics/GameView.cpp:320
#16 0x0077f7f0 in Render () at
../../../source/ps/GameSetup/GameSetup.cpp:245
#17 0x0061f226 in Frame () at ../../../source/main.cpp:331
#18 0x0061f48b in RunGameOrAtlas (argc=1, argv=0x7fffe1b8) at
../../../source/main.cpp:411
#19 0x0061f530 in main (argc=1, argv=0x7fffe1b8) 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.


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

2010-05-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #3 from Andre Heider  2010-05-02 04:41:42 
PDT ---
the game binary is from here:
http://www.playdeb.net/software/0%20A.D.

ii  0ad   0.0.0+r07419~pre-alpha-1~getdeb2 
  A war/economy strategy game
ii  0ad-data  0.0.0+r07419~pre-alpha-1~getdeb1 
  A war/economy strategy game (data files)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


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

2010-05-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #2 from Andre Heider  2010-05-02 04:34:15 
PDT ---
Created an attachment (id=35376)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=35376)
Xorg.0.log

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


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

2010-05-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #1 from Andre Heider  2010-05-02 04:33:54 
PDT ---
Created an attachment (id=35375)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=35375)
dmesg

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


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

2010-05-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27937

--- Comment #2 from Andre Heider a.hei...@gmail.com 2010-05-02 04:34:15 PDT 
---
Created an attachment (id=35376)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=35376)
Xorg.0.log

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