Opened 8 months ago
Last modified 11 hours ago
#15013 closed defect
COMMON: Invalid save path leads to crash/debugger coming up — at Initial Version
Reported by: | raziel- | Owned by: | |
---|---|---|---|
Priority: | blocker | Component: | Common |
Version: | Keywords: | timestamps, crash | |
Cc: | Game: |
Description
ScummVM 2.9.0git (Mar 10 2024 14:29:23)
Using SDL backend with SDL 2.30.0
Features compiled in: Vorbis FLAC MP3 RGB zLib MPEG2 MikMod Theora VPX AAC A/52 FreeType2 FriBiDi JPEG PNG GIF cloud (servers, local) ENet SDL2 TinyGL OpenGL (with shaders)
Having a missing or invalid savepath set leads to a crash and/or the debugger coming up.
Case a:
Windows version
Setting the savepath manually to "H:" (a partition that doesn't exist) will bring up the debugger (on starting the game), telling me
ERROR: Invalid attempt to create file - /saves/goldenwake-prog.agw!
Case b:
AmigaOS version
Leaving the savepath at default (saves/) without actually having such subdirectory (e.g. on a completely fresh start with no .ini file present) will lead to a crash during start of the game, because "timestamps" could not be written (see crashlog)
Maybe the easiest solution would be to silently create the subdirectory the game asks for and move on (maybe with a debug warning about the missing directory)?
A Golden Wake (English)
AmigAOS4 - BE - SDL - PPC
gcc (adtools build 11.3.0) 11.3.0
Change History (2)
by , 8 months ago
Attachment: | timestamps crash.txt added |
---|
by , 8 months ago
Attachment: | Crashlog_scummvm_2024-03-11_19-47-47.txt added |
---|