[1.1.2+/SW] Crash after cutscene in "The Last Warrior"

Moderator: Raze Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
NightFright
Spotlight Team
Posts: 1379
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

[1.1.2+/SW] Crash after cutscene in "The Last Warrior"

Post by NightFright »

Raze always crashes to desktop with a "Very Fatal Error" at the end of the cutscenes in "The Last Warrior" addon for Shadow Warrior. This occurs at the end of level 4 (first cutscene) and also at the end of level 14 (second cutscene). Aborting the cutscene would continue without crash.

Tested with snapshot: raze-x64-1.1.0pre-203-g4b35a30de

How to test:
- Download "The Last Warrior" (custom PK3 version, 12.2 MB)
- Load savegame "Quicksave" (zip, 0.3 MB) from my gameplay session. It puts you right after the boss in level 14 dies, so all you have to do is wait a few seconds. The cutscene will start automatically.
- Let the cutscene play until the end.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49200
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [1.1.2+/SW] Crash after cutscene in "The Last Warrior"

Post by Graf Zahl »

It crashes while rendering the last frame of the cutscene. That file appears to be a bit broken. It reports having 128 frames, but trying to decode frame 127 will make it crash.
User avatar
NightFright
Spotlight Team
Posts: 1379
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: [1.1.2+/SW] Crash after cutscene in "The Last Warrior"

Post by NightFright »

Did this work with other ports? Maybe some error tolerance needs to be added for this one.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49200
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [1.1.2+/SW] Crash after cutscene in "The Last Warrior"

Post by Graf Zahl »

No idea. I haven't played this mod with any port yet. But the anmlib code is virtually unchanged from EDuke32.
User avatar
NightFright
Spotlight Team
Posts: 1379
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: [1.1.2+/SW] Crash after cutscene in "The Last Warrior"

Post by NightFright »

Maybe the error can just be made non-fatal. I gotta admit, it's the first time I'm playing this.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49200
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [1.1.2+/SW] Crash after cutscene in "The Last Warrior"

Post by Graf Zahl »

The crash happens when it reads past the end of a memory block. So I got to find out how to validate it.
User avatar
mjr4077au
Posts: 830
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia

Re: [1.1.2+/SW] Crash after cutscene in "The Last Warrior"

Post by mjr4077au »

This is possibly addressed by this commit. @NightFright, any chance you could please confirm?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49200
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [1.1.2+/SW] Crash after cutscene in "The Last Warrior"

Post by Graf Zahl »

The cutscene did not crash when I played the mod.

Return to “Closed Bugs [Raze]”