#2293: Some maps crash when starting game and scrolling a bit
--------------------+-----------------------------------------
Reporter: Cyp | Owner:
Type: bug | Status: new
Priority: major | Milestone: unspecified
Component: other | Version: git/master + git/3.0
Keywords: | Operating System: All/Non-Specific
Blocked By: | Blocking:
--------------------+-----------------------------------------
Sk-Rivet crashes in 3.0 and master if starting in single-player or
multiplayer, and trying to scroll to the middle of the map.
{{{
Misc Data:
OpenGL Vendor : Advanced Micro Devices, Inc.
OpenGL Renderer : Mesa DRI R600 (RV710 954F) 20090101 TCL DRI2
OpenGL Version : 2.1 Mesa 7.9
Video Mode 1024 x 768 (32 bpp) (window)
OpenGL GLSL Version : 1.20
OpenAL Device Name: ALSA Software
OpenAL Vendor: OpenAL Community
OpenAL Version: 1.1 ALSOFT 1.11.753
OpenAL Renderer: OpenAL Soft
OpenAL Extensions: AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE
AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS
AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXT_source_distance_model
AL_LOKI_quadriphonic
Using language: System locale
Current Level/map is Sk-Rivet-T1
}}}
{{{
#3 <signal handler called>
No symbol table info available.
#4 0x00007f8106bc4522 in radeon_bo_is_referenced_by_cs (bo=0x0,
cs=0x2faa650) at radeon_bo.c:121
No locals.
#5 0x00007f810703a6b0 in ?? () from /usr/lib64/dri/r600_dri.so
No symbol table info available.
#6 0x000000000059845a in updateSectorGeometry () at
../../src/terrain.c:631
geometrySize = 512
waterSize = 512
decalSize = 0
#7 drawTerrain () at ../../src/terrain.c:1185
i = <value optimized out>
j = <value optimized out>
x = 0
y = 5
texPage = <value optimized out>
colour = <value optimized out>
layer = <value optimized out>
offset = <value optimized out>
size = <value optimized out>
paramsX = {0, 0, -6.10351562e-05, 0}
paramsY = {6.10351562e-05, 0, 0, 0}
__FUNCTION__ = "drawTerrain"
#8 0x00000000004aaf70 in drawTiles (player=<value optimized out>) at
../../src/display3d.c:923
i = 65
j = 65
rx = <value optimized out>
rz = 12383740
theSun = {x = 1176.97693, y = -3138.60498, z = 2353.95386}
#9 0x00000000004ab98b in displayTerrain () at ../../src/display3d.c:759
No locals.
#10 draw3DScene () at ../../src/display3d.c:600
bPlayerHasHQ = <value optimized out>
__FUNCTION__ = "draw3DScene"
#11 0x00000000004adbf1 in displayWorld () at ../../src/display.c:1417
pos = {x = 0, y = 0, z = 0}
#12 0x000000000050a2c6 in gameLoop () at ../../src/loop.c:620
psCurr = 0x0
psNext = 0x0
psCBuilding = 0x0
psNBuilding = 0x0
psCFeat = <value optimized out>
psNFeat = <value optimized out>
i = 64
widgval = <value optimized out>
quitting = 0
intRetVal = INT_INTERCEPT
clearMode = <value optimized out>
gameTicked = false
__FUNCTION__ = "gameLoop"
#13 0x000000000050b7f5 in runGameLoop () at ../../src/main.c:835
No locals.
#14 mainLoop () at ../../src/main.c:1030
event = {type = 4 '\004', active = {type = 4 '\004', gain = 0
'\000', state = 4 '\004'}, key = {type = 4 '\004', which = 0 '\000', state
= 4 '\004', keysym = {
scancode = 127 '\177', sym = 983050, mod = KMOD_NONE,
unicode = 0}}, motion = {type = 4 '\004', which = 0 '\000', state = 4
'\004', x = 895, y = 650, xrel = 10,
yrel = 15}, button = {type = 4 '\004', which = 0 '\000',
button = 4 '\004', state = 0 '\000', x = 895, y = 650}, jaxis = {type = 4
'\004', which = 0 '\000',
axis = 4 '\004', value = 895}, jball = {type = 4 '\004', which
= 0 '\000', ball = 4 '\004', xrel = 895, yrel = 650}, jhat = {type = 4
'\004', which = 0 '\000',
hat = 4 '\004', value = 0 '\000'}, jbutton = {type = 4 '\004',
which = 0 '\000', button = 4 '\004', state = 0 '\000'}, resize = {type = 4
'\004', w = 42599295,
h = 983050}, expose = {type = 4 '\004'}, quit = {type = 4
'\004'}, user = {type = 4 '\004', code = 42599295, data1 = 0xf000a, data2
= 0x0}, syswm = {
type = 4 '\004', msg = 0xf000a}}
#15 0x000000000050ec7e in main (argc=<value optimized out>, argv=<value
optimized out>) at ../../src/main.c:1387
__FUNCTION__ = "main"
(gdb) #4 0x00007f8106bc4522 in radeon_bo_is_referenced_by_cs (bo=0x0,
cs=0x2faa650) at radeon_bo.c:121
in radeon_bo.c
(gdb) Dump of assembler code for function radeon_bo_is_referenced_by_cs:
0x00007f8106bc4520 <radeon_bo_is_referenced_by_cs+0>: xor %eax,%eax
0x00007f8106bc4522 <radeon_bo_is_referenced_by_cs+2>: cmpl
$0x1,0x1c(%rdi)
0x00007f8106bc4526 <radeon_bo_is_referenced_by_cs+6>: seta %al
0x00007f8106bc4529 <radeon_bo_is_referenced_by_cs+9>: retq
End of assembler dump.
(gdb) rax 0x0 0
rbx 0x0 0
rcx 0x0 0
rdx 0x0 0
rsi 0x2faa650 49981008
rdi 0x0 0
rbp 0x51aae40 0x51aae40
rsp 0x7fffd7929438 0x7fffd7929438
r8 0x51aae40 85634624
r9 0x5268750 86411088
r10 0x7f810703a670 140192145188464
r11 0x7f8107065aa0 140192145365664
r12 0x0 0
r13 0x5268750 86411088
r14 0x2c6c550 46581072
r15 0x7fffd792951c 140736810095900
rip 0x7f8106bc4522 0x7f8106bc4522
<radeon_bo_is_referenced_by_cs+2>
eflags 0x246 [ PF ZF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
fctrl 0x37f 895
fstat 0x0 0
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
}}}
--
Ticket URL: <http://developer.wz2100.net/ticket/2293>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev