UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2269 Campaign battle crashes (rev 27838)
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Battlescape
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    7. Critical
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2269 Item 2269] imported from sourceforge.net tracker on 2013-01-28 19:26:38

Game crashes in battle - I suspect when my soldier is going to be killed (or shut by alien or vice versa on RF)
CFLAGS="-O0 -g -ggdb"
ARCH=x86_64
Gentoo Linux 2.6.31-gentoo-r6 #1 SMP

gdb bt full (run w developer +1)

event(dispatching at 1467849): EV_ACTOR_MOVE 0x25323ad8
LE_SetThink: Set think function for le 8 to 0x45438f
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
ExecuteString: 'updateactorvalues 0 "models/soldiers/malemedium/head02b.md2" "94" "94" "33" "33" "155" "155" "0" "Gavriil D'Aubigny
HP: 94/94 TU: 33
Infravizor"'
ExecuteString: 'updateactorvalues 1 "models/soldiers/femalemedium/head01b.md2" "97" "97" "2" "33" "151" "151" "0" "Jade D'Aubigny
HP: 97/97 TU: 2
Ostřelovačská puška"'
ExecuteString: 'updateactorvalues 2 "" "0" "1" "0" "1" "0" "1" "0" ""'
ExecuteString: 'updateactorvalues 3 "models/soldiers/malemedium/head02b.md2" "98" "99" "32" "32" "169" "169" "0" "Michel Dunlap
HP: 98/99 TU: 32
Minibrokovnice"'
ExecuteString: 'updateactorvalues 4 "models/soldiers/femalemedium/head01b.md2" "93" "93" "32" "32" "152" "152" "0" "Lorena Tyson
HP: 93/93 TU: 32
Ostřelovačská puška"'
ExecuteString: 'updateactorvalues 5 "models/soldiers/malemedium/head01a.md2" "99" "100" "32" "32" "143" "143" "0" "Javier Yang
HP: 99/100 TU: 32
Plasmová puška"'
ExecuteString: 'updateactorvalues 6 "models/soldiers/malemedium/head03b.md2" "77" "84" "33" "33" "151" "151" "0" "Adofo Kaul
HP: 77/84 TU: 33
Elektromagnetická puška"'
ExecuteString: 'updateactorvalues 7 "models/soldiers/femalemedium/head01a.md2" "82" "82" "31" "31" "146" "146" "0" "Polina Dixit
HP: 82/82 TU: 31
Plamenomet"'
ExecuteString: 'deselect_stand'
ExecuteString: 'crouch_checkbox_clear'
ExecuteString: 'reserve_shot_clear'
ExecuteString: 'startreactiononce'
ExecuteString: 'disable_reloadright'
ExecuteString: 'disable_reloadleft'
ExecuteString: 'deselect_headgear'
ExecuteString: 'deselect_primaryright'
ExecuteString: 'disable_primaryleft'
ExecuteString: 'huddeselect 0'
ExecuteString: 'huddeselect 1'
ExecuteString: 'huddisable 2'
ExecuteString: 'huddeselect 3'
ExecuteString: 'huddeselect 4'
ExecuteString: 'huddeselect 5'
ExecuteString: 'huddeselect 6'
ExecuteString: 'hudselect 7'
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
event(dispatching at 1469020): EV_ACTOR_APPEAR 0x2532b988
LE_SetThink: Set think function for le 3 to 0x453861
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
CL_CheckDefault: Delaying event on entnum 5.
event(dispatching at 1469020): EV_ACTOR_STATECHANGE 0x245bd058
LE_SetThink: Set think function for le 3 to 0x453861
CL_GetActorChr: BAD ACTOR INDEX!

Program received signal SIGSEGV, Segmentation fault.
0x000000000045dfb7 in CL_ActorStateChange (self=0x574290, msg=0x11056878)
at src/client/battlescape/events/event/actor/e_event_actorstatechange.c:75
75 chr->state = (le->state & STATE_REACTION);
(gdb) bt full
#0 0x000000000045dfb7 in CL_ActorStateChange (self=0x574290, msg=0x11056878)
at src/client/battlescape/events/event/actor/e_event_actorstatechange.c:75
le = 0x2e33c60
entnum = 3
state = 519
chr = 0x0
#1 0x000000000045b5bb in CL_ExecuteBattlescapeEvent (now=1469020,
data=0x245bd058) at src/client/battlescape/events/e_parse.c:124
event = 0x245bd058
eventData = 0x574290
#2 0x00000000005099f3 in Qcommon_Frame () at src/common/common.c:1156
time_to_next = 0
event = 0x11056928
#3 0x0000000000563889 in main (argc=10, argv=0x7fffffffdfa8)
at src/ports/linux/linux_main.c:53
No locals.

// repeated w/o developer +1

Program received signal SIGSEGV, Segmentation fault.
0x000000000045dfb7 in CL_ActorStateChange (self=0x574290, msg=0x24313df8)
at src/client/battlescape/events/event/actor/e_event_actorstatechange.c:75
75 chr->state = (le->state & STATE_REACTION);
(gdb) bt full
#0 0x000000000045dfb7 in CL_ActorStateChange (self=0x574290, msg=0x24313df8)
at src/client/battlescape/events/event/actor/e_event_actorstatechange.c:75
le = 0x2e39130
entnum = 8
state = 257
chr = 0x0
#1 0x000000000045b5bb in CL_ExecuteBattlescapeEvent (now=3395541,
data=0x30a06768) at src/client/battlescape/events/e_parse.c:124
event = 0x30a06768
eventData = 0x574290
#2 0x00000000005099f3 in Qcommon_Frame () at src/common/common.c:1156
time_to_next = 0
event = 0x24313ea8
#3 0x0000000000563889 in main (argc=7, argv=0x7fffffffdfc8)
at src/ports/linux/linux_main.c:53
No locals.

Checked out revision 27838.

===== Comments Ported from Sourceforge =====

====== voovoos (2010-01-04 12:42:40) ======

r27785 introduced it, I believe; same bug as #2925581
====== technokar (2010-01-04 15:39:16) ======

except I can repeat mission (I think killing solda is the trigger here) I have to try abort as described in the bug.
====== technokar (2010-01-04 15:42:51) ======

Same in campaing - when I try to abort mission:

Program received signal SIGSEGV, Segmentation fault.
0x000000000045dfb7 in CL_ActorStateChange (self=0x574290, msg=0x1f727ef8)
at src/client/battlescape/events/event/actor/e_event_actorstatechange.c:75
75 chr->state = (le->state & STATE_REACTION);
(gdb) bt full
#0 0x000000000045dfb7 in CL_ActorStateChange (self=0x574290, msg=0x1f727ef8)
at src/client/battlescape/events/event/actor/e_event_actorstatechange.c:75
le = 0x2e37760
entnum = 46
state = 258
chr = 0x0
#1 0x000000000045b5bb in CL_ExecuteBattlescapeEvent (now=68991,
data=0x1f727e68) at src/client/battlescape/events/e_parse.c:124
event = 0x1f727e68
eventData = 0x574290
#2 0x00000000005099f3 in Qcommon_Frame () at src/common/common.c:1156
time_to_next = 0
event = 0x1f727fa8
#3 0x0000000000563889 in main (argc=1, argv=0x7fffffffe028)
at src/ports/linux/linux_main.c:53

====== technokar (2010-01-05 11:53:11) ======

todays new: Revision: 27856 failed to repeat mission + I have funny colors. wrong textures perhaps?

Shutdown server: Server quit.
==== ShutdownGame ====

Program received signal SIGSEGV, Segmentation fault.
0x000000000053748f in INVSH_EmptyContainer (i=0x2e3b880, container=0x6353a84)
at src/game/inv_shared.c:1114
1114 ic = ic->next;
(gdb) bt
#0 0x000000000053748f in INVSH_EmptyContainer (i=0x2e3b880,
container=0x6353a84) at src/game/inv_shared.c:1114
#1 0x0000000000455af7 in LE_Cleanup ()
at src/client/battlescape/cl_localentity.c:1227
#2 0x0000000000436927 in CL_ClearState () at src/client/cl_main.c:230
#3 0x00000000004369d7 in CL_Disconnect () at src/client/cl_main.c:272
#4 0x000000000048c5a4 in CP_StartSelectedMission ()
at src/client/campaign/cp_campaign.c:1330
#5 0x00000000004fbcfd in Cmd_ExecuteString (text=0x7fffffffdcb0 "game_go")
at src/common/cmd.c:971
#6 0x00000000004fa9b2 in Cbuf_Execute () at src/common/cmd.c:230
#7 0x0000000000438120 in CL_SendCommand () at src/client/cl_main.c:985
#8 0x000000000043855a in CL_Frame (now=2218680, data=0x0)
at src/client/cl_main.c:1149
#9 0x0000000000509472 in tick_timer (now=2218680, data=0x10715af8)
at src/common/common.c:1005
#10 0x000000000050993b in Qcommon_Frame () at src/common/common.c:1156
#11 0x00000000005637c9 in main (argc=1, argv=0x7fffffffe2b8)
at src/ports/linux/linux_main.c:53
====== voovoos (2010-01-05 13:26:14) ======

technokar, this is new and not related to the previous backtrace you provided; please update to r27858, let me know if you hit assert introduced in that revision and open a new bug with it.
====== technokar (2010-01-05 19:01:45) ======

as far I can say (3h of playing) both problems are gone! thank you
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif