Page 1 of 1

Quickload crash

PostPosted: Sun Aug 11, 2019 10:11 am
by phantombeta
You can get GZDoom to crash by pressing quicksave, then closing with ESC. Next time you try to quickload or quicksave, GZDoom will crash.

The culprit seems like it might be this line in messagebox.cpp:
Code: Select allExpand view
      // signal that whatever gets loaded should be the new quicksave
      savegameManager.quickSaveSlot = (FSaveGameNode *)1;

Steps to reproduce:
  • Start a new game.
  • Press quickload.
  • Quit the quickload menu.
  • Press quickload then quit the quickload menu again. (This is because of what seems to be another quickload bug)
  • Try to quicksave or quickload. GZDoom will now crash.