[Scummvm-tracker] [ScummVM :: Bugs] #15233: SCI: PQ2: My Game Keeps Crashing
ScummVM :: Bugs
trac at scummvm.org
Fri Jun 28 16:41:46 UTC 2024
#15233: SCI: PQ2: My Game Keeps Crashing
-------------------------+-----------------------------
Reporter: ArthurWalden | Owner: (none)
Type: defect | Status: new
Priority: high | Component: Engine: SCI
Version: | Resolution:
Keywords: pq2, crash | Game: Police Quest 2
-------------------------+-----------------------------
Comment (by antoniou79):
A crash took a long while to happen when debugging via Visual Studio, but
in the end I got one.
This was the "assertion failed" one mentioned above.
Call Stack looked like this at the time:
{{{
ucrtbased.dll!00007ff94ce7eaa5() Unknown Non-user code.
Cannot find or open the PDB file.
ucrtbased.dll!00007ff94ce7e8c3() Unknown Non-user code.
Cannot find or open the PDB file.
ucrtbased.dll!00007ff94ce8158f() Unknown Non-user code.
Cannot find or open the PDB file.
> scummvm.exe!Sci::MidiPlayer_Midi::setReverb(char reverb='8') Line
517 C++ Symbols loaded.
scummvm.exe!Sci::MidiParser_SCI::processEvent(const EventInfo &
info={...}, bool fireEvents=true) Line 794 C++ Symbols loaded.
scummvm.exe!MidiParser::onTimer() Line 249 C++ Symbols
loaded.
scummvm.exe!Sci::MusicEntry::onTimer() Line 1073 C++
Symbols loaded.
scummvm.exe!Sci::SciMusic::onTimer() Line 221 C++ Symbols
loaded.
scummvm.exe!Sci::SciMusic::miditimerCallback(void *
p=0x00000163dced0b20) Line 207 C++ Symbols loaded.
scummvm.exe!MidiDriver_Emulated::readBuffer(short *
data=0x00000163ea165aa0, const int numSamples=512) Line 105 C++
Symbols loaded.
scummvm.exe!Audio::RateConverter_Impl<1,1,0>::interpolateConvert(Audio::AudioStream
& input={...}, short * outBuffer=0x00000163dcecd26c, unsigned int
numSamples=1024, unsigned short volL=256, unsigned short volR=256) Line
218 C++ Symbols loaded.
scummvm.exe!Audio::RateConverter_Impl<1,1,0>::convert(Audio::AudioStream &
input={...}, short * outBuffer=0x00000163dceccf60, unsigned int
numSamples=1024, unsigned short volL=256, unsigned short volR=256) Line
298 C++ Symbols loaded.
scummvm.exe!Audio::Channel::mix(short * data=0x00000163dceccf60,
unsigned int len=1024) Line 719 C++ Symbols loaded.
scummvm.exe!Audio::MixerImpl::mixCallback(unsigned char *
samples=0x00000163dceccf60, unsigned int len=1024) Line 331 C++
Symbols loaded.
scummvm.exe!SdlMixerManager::callbackHandler(unsigned char *
samples=0x00000163dceccf60, int len=4096) Line 205 C++ Symbols loaded.
scummvm.exe!SdlMixerManager::sdlCallback(void *
this_=0x00000163dcd77750, unsigned char * samples=0x00000163dceccf60, int
len=4096) Line 212 C++ Symbols loaded.
scummvm.exe!SDL_RunAudio(void * devicep=0x00000163dceeadd0) Line
737 C Symbols loaded.
scummvm.exe!SDL_RunThread(void * data=0x00000163dcef4260) Line 289
C Symbols loaded.
scummvm.exe!RunThread(void * data=0x00000163dcedba70) Line 91 C
Symbols loaded.
scummvm.exe!RunThreadViaCreateThread(void *
data=0x00000163dcedba70) Line 100 C Symbols loaded.
[External Code] Annotated Frame
}}}
The invalid reverb value in this case was 56 (ie. char value '8'). The
assertion is made against the kReverbConfigNr which is 11.
--
Ticket URL: <https://bugs.scummvm.org/ticket/15233#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list