[Scummvm-tracker] [ScummVM :: Bugs] #13192: SCI: Police Quest 4 - Random Crashes
ScummVM :: Bugs
trac at scummvm.org
Sun Jan 2 17:19:09 UTC 2022
#13192: SCI: Police Quest 4 - Random Crashes
--------------------+-----------------------------
Reporter: jamokoo | Owner: digitall
Type: defect | Status: pending
Priority: normal | Component: Engine: SCI
Version: | Resolution: fixed
Keywords: | Game: Police Quest 4
--------------------+-----------------------------
Comment (by digitall):
jamokoo: Thank you for the backtrace. That is associated with the PQ4
resource patch for Enchanced Audio View:
https://github.com/scummvm/scummvm/blob/master/engines/sci/resource/resource_patcher.cpp#L496
I have added a check for the source data being null i.e. resource data
loading failure in the patcher which should prevent the crash (as doing an
memcpy on a null pointer is not valid) as commit
https://github.com/scummvm/scummvm/commit/1ec6adb304ebfb933bc0fe3a677f14e4ec3a7c6d.
That should prevent the crash, though I have tested with my copy of PQ4
from Police Quest Collection and I don't get this issue.
Can I suggest that you attach a list of your PQ4 resource files and
associated sizes and MD5sums? The output of a tool such as MD5summer on
Win32 would be fine.
It sounds like you either have a corrupted or variant resource file in
your PQ4 datafiles.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13192#comment:11>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list