Author Topic: Assertion error redalert.cpp and crash  (Read 1264 times)

0 Members and 1 Guest are viewing this topic.

Offline CommanderDJ

  • Software engineer
  • 210
Assertion error redalert.cpp and crash
Hey all,
I was running a mission which I was using to test out some weird AI behaviour I was seeing: basically, a fighter's engines were disabled, and his goal was set to guard the player. When his engines were re-enabled (with the repair-subsystem SEXP), he would fly off in a random direction into the void unceasingly instead of guarding the player. Anyway, that's not relevant to this. I was trying to load this mission and my game crashed. I ran a debug build and got this error right as the loading bar completed:

Code: [Select]
Assert: Briefing->stages[0].new_text
File: redalert.cpp
Line: 351

<no module>! KiFastSystemCallRet
<no module>! WaitForSingleObject + 18 bytes
<no module>! SCP_DumpStack + 354 bytes
<no module>! WinAssert + 208 bytes
<no module>! red_alert_init + 445 bytes
<no module>! game_enter_state + 681 bytes
<no module>! gameseq_set_state + 310 bytes
<no module>! game_process_event + 301 bytes
<no module>! gameseq_process_events + 152 bytes
<no module>! game_main + 782 bytes
<no module>! WinMain + 330 bytes
<no module>! __tmainCRTStartup + 358 bytes
<no module>! WinMainCRTStartup + 15 bytes
<no module>! RegisterWaitForInputIdle + 73 bytes

Right after, my game crashed.

my command line is C:\Games\FreeSpace2\fs2_open_3_6_12d_INF_SSE2.exe -mod mediavps_3612 -spec -glow -env -mipmap -nomotiondebris -missile_lighting -normal -3dshockwave -dualscanlines -targetinfo -orbradar -rearm_timer -ship_choice_3d -3dwarp -warp_flash -snd_preload -voicer -post_process  -no_emissive_light

And I've attached a fs2_open.log file. Is this an error on my end?

[attachment deleted by ninja]
[16:57] <CommanderDJ> What prompted the decision to split WiH into acts?
[16:58] <battuta> it was long, we wanted to release something
[16:58] <battuta> it felt good to have a target to hit
[17:00] <RangerKarl> not sure if talking about strike mission, or jerking off
[17:00] <CommanderDJ> WUT
[17:00] <CommanderDJ> hahahahaha
[17:00] <battuta> hahahaha
[17:00] <RangerKarl> same thing really, if you think about it

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Assertion error redalert.cpp and crash
The problem is on your end. Make sure that the mission's briefing is set up correctly. It seems as if you have one or more briefing stages, Which as far as I can tell is not allowed in a red-alert mission.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline CommanderDJ

  • Software engineer
  • 210
Re: Assertion error redalert.cpp and crash
Ah, right, yes, that fixed the problem. Thanks for like the billionth time, The E!

Hey, since I've got a thread here already, can I now request help with that AI weirdness I talked about in my first post? Or should that go in the modding or FREDding boards?
[16:57] <CommanderDJ> What prompted the decision to split WiH into acts?
[16:58] <battuta> it was long, we wanted to release something
[16:58] <battuta> it felt good to have a target to hit
[17:00] <RangerKarl> not sure if talking about strike mission, or jerking off
[17:00] <CommanderDJ> WUT
[17:00] <CommanderDJ> hahahahaha
[17:00] <battuta> hahahaha
[17:00] <RangerKarl> same thing really, if you think about it

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Assertion error redalert.cpp and crash
That one sounds like a genuine AI bug to me. Post a bug report at the SCP Mantis, and attach a mission that shows that bug in effect (Using only retail or mediavps assets, if possible).
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

  

Offline CommanderDJ

  • Software engineer
  • 210
Re: Assertion error redalert.cpp and crash
Will do. Thanks for your help! You're quite awesome.
[16:57] <CommanderDJ> What prompted the decision to split WiH into acts?
[16:58] <battuta> it was long, we wanted to release something
[16:58] <battuta> it felt good to have a target to hit
[17:00] <RangerKarl> not sure if talking about strike mission, or jerking off
[17:00] <CommanderDJ> WUT
[17:00] <CommanderDJ> hahahahaha
[17:00] <battuta> hahahaha
[17:00] <RangerKarl> same thing really, if you think about it