Opened 5 months ago

Closed 4 months ago

#12743 closed defect (fixed)

ZVISION: Zork Grand Inquisitor crashes at launch on linux with --auto-detect

Reported by: caseorum Owned by: eriktorbjorn
Priority: normal Component: Engine: ZVision
Version: Keywords:
Cc: Game: Zork Grand Inquisitor

Description (last modified by caseorum)

Starting through the GUI works normally. The assert output might suggest a null filename getting passed.

Steps: Start ZGI with --auto-detect instead of the GUI

Results: Crashes immediately with console output:

scummvm: ./common/base-str.h:176: Common::BaseString<T>::value_type Common::BaseString<T>::operator[](int) const [with T = char; Common::BaseString<T>::value_type = char]: Assertion `_str && idx >= 0 && idx < (int)_size' failed.
Aborted (core dumped)

OS: linux

ScummVM 2.3.0git20896-gcd2d767c02 (Jul 18 2021 12:23:42)
Features compiled in: Vorbis FLAC MP3 ALSA SEQ TiMidity RGB zLib MPEG2 FluidSynth Theora AAC A/52 FreeType2 FriBiDi JPEG PNG GIF cloud (servers, local) TinyGL OpenGL

Change History (2)

comment:1 by caseorum, 5 months ago

Description: modified (diff)
Summary: ZVISION: Zork Grand Inquisitor crashes at launch on linux with high-resolution videosZVISION: Zork Grand Inquisitor crashes at launch on linux with --auto-detect

comment:2 by eriktorbjorn, 4 months ago

Owner: set to eriktorbjorn
Resolution: fixed
Status: newclosed

It would happen if you didn't provide any path, i.e. had it auto-detect the current directory. I hope I've fixed that now.

Note: See TracTickets for help on using tickets.