Bug Tracker – Bug 1211

Crash while fast-forwarding during a demo netplay

Last modified: 2018-10-14 19:56:58 CDT
Bug 1211 - (ARRAY(0x4f4ea38)) Crash while fast-forwarding during a demo netplay
Crash while fast-forwarding during a demo netplay
Status: NEW
Product: Odamex
Classification: Unclassified
Component: Client
All All
: P1 major
Depends on:
  Show dependency tree
Reported: 2016-11-20 15:16:40 CST by Maëllig Desmottes
Modified: 2018-10-14 19:56 CDT (History)
2 users (show)

See Also:

Demo (5.42 MB, application/octet-stream)
2016-11-20 15:16:40 CST, Maëllig Desmottes

Note You need to log in before you can comment on or make changes to this bug.
Description Maëllig Desmottes 2016-11-20 15:16:40 CST
Created ﷒2﷓

According to MSVC14's debugger, it seems this part of code is faulty: 

IN P_GetWeaponState :

"if (psp->state == NULL) return unknownstate;"

Demo provided as both attachment and GDrive : press DOWNARROW (to start o the match, then fast-forward 2/3 times). The game should immediately crash.

Demo: ﷒0﷓

Odamex 0.7.0 GIT used (rev: ﷒1﷓ )
Comment 1 HeX_Vulture 2018-10-14 19:56:58 CDT
The demo does not crash for me in Windows 10 SDL2 64-bit. However, there are issues fast forwarding including the game missing textures and being unable to use the console until the player dies and respawns. Upon respawn the game fixes itself and console functions are available again. After the game fixes itself it appears the only noticable bug is that player names are missing int he scoreboard.

Revision used to test: 598ca65