Nothing entered.
[http://sourceforge.net/p/ufoai/bugs/2624 Item 2624] imported from sourceforge.net tracker on 2013-01-28 19:43:45
revision 31038
After ending a turn, games crashes with SIGSEGV. The system being compiled on is AMD64 Debian Lenny, with Intel 965G card.
It happens every time, I can start new skirmish for map resort (or any other) for example, end the turn with 'e' and it dies in a second.
Starting the game...
mnalis has joined team 1
(player 0) It's team 1's round
mnalis has taken control over team 1.
Team 1 ended round
Team 7's round started!
./ufo(Sys_Backtrace+0x1c)[0x57973a]
./ufo[0x57979a]
/lib/libc.so.6[0x7f9f70d38f60]
./base/game.so[0x7f9f5f7f597d]
./base/game.so[0x7f9f5f7f694e]
./base/game.so(AI_ActorThink+0x1b6)[0x7f9f5f7f6fdb]
./base/game.so(AI_Run+0x105)[0x7f9f5f7f726f]
./base/game.so(G_RunFrame+0x16e)[0x7f9f5f80735e]
./ufo(SV_RunGameFrame+0x14)[0x531883]
./ufo(SV_Frame+0x72)[0x533e48]
./ufo[0x50d8d3]
./ufo(Qcommon_Frame+0x70)[0x50dd9c]
./ufo(main+0x57)[0x5782c1]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f9f70d251a6]
./ufo[0x42bf79]
./ufo(Sys_Backtrace+0x1c)[0x57973a]
./ufo(Sys_Error+0x92)[0x578729]
./ufo(Sys_InitSignals+0x0)[0x5797ac]
/lib/libc.so.6[0x7f9f70d38f60]
./base/game.so[0x7f9f5f7f597d]
./base/game.so[0x7f9f5f7f694e]
./base/game.so(AI_ActorThink+0x1b6)[0x7f9f5f7f6fdb]
./base/game.so(AI_Run+0x105)[0x7f9f5f7f726f]
./base/game.so(G_RunFrame+0x16e)[0x7f9f5f80735e]
./ufo(SV_RunGameFrame+0x14)[0x531883]
./ufo(SV_Frame+0x72)[0x533e48]
./ufo[0x50d8d3]
./ufo(Qcommon_Frame+0x70)[0x50dd9c]
./ufo(main+0x57)[0x5782c1]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f9f70d251a6]
./ufo[0x42bf79]
Error: Received signal 11.
running under gdb says:
Team 1 ended round
Team 7's round started!
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f370f193710 (LWP 30735)]
0x00007f36fb5ad97d in AI_FighterCalcBestAction (ent=0x1e21ceb8, to=0x7fffffffdc70 "\200}\001", aia=0x7fffffffdcc0) at src/game/g_ai.c:563
563 bestTime = (dmgAia.fd)->time * ((dmgAia.fd)->shots);
(gdb) bt full
#0 0x00007f36fb5ad97d in AI_FighterCalcBestAction (ent=0x1e21ceb8, to=0x7fffffffdc70 "\200}\001", aia=0x7fffffffdcc0) at src/game/g_ai.c:563
dmgAia = {to = " \000", stop = "\000\000", shootType = 505532260, shots = 0 '\0', target = 0x1e21ceb8, fd = 0x0, z_align = 3}
dmg = 8.56929207
check = (edict_t *) 0x1e21a038
tu = 0
move = 32 ' '
dist = 1.08420217e-19
minDist = 1.40129846e-45
bestActionPoints = 0
maxDmg = 8.56929207
bestTime = -1
__PRETTY_FUNCTION__ = "AI_FighterCalcBestAction"
#1 0x00007f36fb5ae94e in AI_PrepBestAction (player=0x1df93250, ent=0x1e21ceb8) at src/game/g_ai.c:857
move = 32 ' '
aia = {to = "\200}\001", stop = "\200}\001", shootType = 0, shots = 0 '\0', target = 0x0, fd = 0x0, z_align = 0}
bestAia = {to = "\000-\232", stop = "\021\000", shootType = 14680951, shots = 0 '\0', target = 0x10d27ce8, fd = 0x10d26f20, z_align = 6}
oldPos = "\210\210\002"
to = "\200}\001"
oldOrigin = {272, 272, 164}
xl = 120
yl = 120
xh = 152
yh = 152
dist = 16
bestActionPoints = 0
best = -10000
crouchingState = 0 '\0'
#2 0x00007f36fb5aefdb in AI_ActorThink (player=0x1df93250, ent=0x1e21ceb8) at src/game/g_ai.c:974
bestAia = {to = "h\232!", stop = "\036\000", shootType = 505532088, shots = 0 '\0', target = 0x1df93250, fd = 0x7f370ce0c084, z_align = 216056064}
#3 0x00007f36fb5af26f in AI_Run () at src/game/g_ai.c:1044
ent = (edict_t *) 0x1e21ceb8
player = (player_t *) 0x1df93250
i = 1
#4 0x00007f36fb5bf35e in G_RunFrame () at src/game/g_main.c:420
No locals.
#5 0x0000000000531883 in SV_RunGameFrame () at src/server/sv_game.c:418
No locals.
#6 0x0000000000533e48 in SV_Frame (now=23365, data=0x0) at src/server/sv_main.c:772
No locals.
#7 0x000000000050d8d3 in tick_timer (now=23365, data=0x11d47018) at src/common/common.c:1014
timer = (struct timer *) 0x11d47018
old_interval = 100
lateness = 7
#8 0x000000000050dd9c in Qcommon_Frame () at src/common/common.c:1165
time_to_next = 0
event = (struct event *) 0x21e85aa8
#9 0x00000000005782c1 in main (argc=6, argv=0x7fffffffdfd8) at src/ports/linux/linux_main.c:53
No locals.
(gdb)
===== Comments Ported from Sourceforge =====
====== mnalis (2010-07-17 14:31:22) ======
====== nonickch (2010-07-18 16:06:17) ======
Try 31041+, this should be fixed there.
Now if I could find out how to get this one assigned to me, it'd be sweet.
====== mnalis (2010-07-18 16:52:50) ======
r31041 works, thanks!