Nothing entered.
[http://sourceforge.net/p/ufoai/bugs/2719 Item 2719] imported from sourceforge.net tracker on 2013-01-28 19:47:16
No idea what does that emans, but game crushes complete... It happens not all the time, but quite often.
The problem that playing in wondowed mode suck (becouse of mouse scrolling not working well), so I couldnt do "backtrace", and I completed this mission couple of times in windowd mode, and it went with no error :(
Well, anyway, may be tehre no need of backtrace?
This is the log
"[STATS] mikhail (Shawn Eweji) stuns alien (Uonak H Nhrokekk) with Stun Charge of stunrod
State wasn't changed
********************
ERROR: Game Error: stuns counter out of sync
********************
/home/mikhail/ufoai/ufoai/ufo[0x8188208]
/home/mikhail/ufoai/ufoai/ufo[0x8128d0e]
/home/mikhail/ufoai/ufoai/ufo[0x8148a40]
./base/game.so(G_ActorModifyCounters+0x108)[0x287555b]
./base/game.so(+0xa7af)[0x28757af]
./base/game.so(G_ActorDieOrStun+0x31)[0x2875818]
./base/game.so(+0x15794)[0x2880794]
./base/game.so(+0x17521)[0x2882521]
./base/game.so(G_ClientShoot+0xaa2)[0x28835c4]
./base/game.so(+0x2202c)[0x288d02c]
./base/game.so(+0x22107)[0x288d107]
./base/game.so(+0x22265)[0x288d265]
./base/game.so(G_ReactionFireOnMovement+0x11)[0x288d29a]
./base/game.so(G_ClientMove+0xc03)[0x288bef0]
./base/game.so(G_ClientAction+0xfc)[0x287d5f0]
/home/mikhail/ufoai/ufoai/ufo[0x8150d77]
/home/mikhail/ufoai/ufoai/ufo[0x814b50c]
/home/mikhail/ufoai/ufoai/ufo[0x8134b26]
/home/mikhail/ufoai/ufoai/ufo[0x812ab58]
/home/mikhail/ufoai/ufoai/ufo[0x8186a5b]
/lib/libc.so.6(__libc_start_main+0xe7)[0x473ce7]
/home/mikhail/ufoai/ufoai/ufo[0x804d751]
Shutdown server: Server crashed.
Shutdown the game thread
[Thread 0x9d746b70 (LWP 31800) exited]
[Thread 0xae1e1b70 (LWP 31676) exited]
Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb)
"
===== Comments Ported from Sourceforge =====
====== tlh2000 (2010-11-21 15:18:50) ======
what did you do? did you e.g. use stun grenades? or stun an already stunned actor? looks like they are stunned more than once. but i have to know which action triggered this.
====== mike-klemin (2010-11-21 15:33:45) ======
I was using stun rods, stun charge.
I think it might be caused becouse of another bug, which I havent reported here - I think it's known bug, when a dead body shows a living behaviour taking bullets and even screaming :) I am nt sure, but I think there were couple of corpses stacked but some of them were killed while other stuned... However, I am not sure.
====== mike-klemin (2010-11-21 17:30:07) ======
There is definatelly something wrong. I have not seen it before, but now, it looks like stuend aliens recovers after some time? Coz my soldiers were keep shot em, to send em back to stun... After all, mission was abourted with this
[STATS] mikhail (Rafael Kuzmin) stuns alien (Morgh Uk Ohm Umhpf) with Wave Fire of laser_ammo
********************
ERROR: InvAdd failed - could not add 1 item(s) of kerrblade to container 2
********************
/home/mikhail/ufoai/ufoai/ufo[0x8188208]
/home/mikhail/ufoai/ufoai/ufo[0x8128d0e]
/home/mikhail/ufoai/ufoai/ufo[0x80838d3]
/home/mikhail/ufoai/ufoai/ufo[0x8080059]
/home/mikhail/ufoai/ufoai/ufo[0x812aaf0]
/home/mikhail/ufoai/ufoai/ufo[0x8186a5b]
/lib/libc.so.6(__libc_start_main+0xe7)[0x473ce7]
/home/mikhail/ufoai/ufoai/ufo[0x804d751]
Shutdown server: Server crashed.
Shutdown the game thread
[Thread 0x9daebb70 (LWP 2098) exited]
==== ShutdownGame ====
Free inventory slots in game on shutdown: 0
Unload the game library
Used inventory slots after battle: 0
And mission aborted, no crush.
====== mike-klemin (2010-11-26 06:54:40) ======
Tried to use stun grandes extensivelly, and not a single error. So from my user point of view there is something wrong with stunrods...
====== tlh2000 (2010-11-27 08:06:39) ======
thanks for your testings, quite useful
you don't have to run in gdb if you get a backrace printed on the console already - you can use addr2line -e ufo 0xdeadbeef (replace the address of course) to get the exact line of the crash.
====== tlh2000 (2010-11-27 13:45:00) ======
stunned aliens do recover after some time - "that's not a bug, but a feature" (tm)
====== tlh2000 (2010-11-27 14:07:00) ======
you have e.g. /home/mikhail/ufoai/ufoai/ufo[0x8188208] in your above posted output.
you can now run addr2line -e ufo 0x8188208 to get the file:line for this address.
====== mike-klemin (2010-11-27 14:22:36) ======
Just want to make it clear - I should run addr2line for each address, there is like 30+ lines with [0x...]? That's a little bit too much to type for lazy gamer :-) But I will try next time.
====== tlh2000 (2010-11-27 14:28:38) ======
no, in general only the last entry is important - maybe the last two