Scummvm core crashes with Phantasmagoria 2

Hey everyone,

Scummvm core works mostly fine, however Phantasmagoria 2 crashes upon launching. I get his error message in retroarch. Does anyone know what to do about that?

If I hit retry on the window, retroarch crashes and shuts down. Debug shows me this error:


Error occurred on Saturday, March 28, 2020 at 11:52:45.

retroarch_debug.exe caused a Breakpoint at location 00007FFC734C0BB2 in module KERNELBASE.dll.

AddrPC Params 00007FFC734C0BB2 000000000A25F733 000000000A25F5E0 000000000000021C KERNELBASE.dll!DebugBreak 00007FFC7528BBD9 00000000281F32F0 0000000000000162 0000000000000002 msvcrt.dll!_assert 0000000013D012C2 00000000000005BE 0000000013F7A336 00000000000005BE scummvm_libretro.dll!retro_get_region 0000000013CEBD98 0000000014DEC040 0000000027F560B0 3F80000001050000 scummvm_libretro.dll!retro_get_region 0000000013FFCCA9 0000000000000000 0000000000000000 0000000000000000 scummvm_libretro.dll!retro_get_region 0000000013CFD6F4 0000000000000000 0000000000000000 0000000000000000 scummvm_libretro.dll!retro_get_region 0000000013CFD84B 00000000280C94A0 0000000000000280 00000000000001E0 scummvm_libretro.dll!retro_get_region 0000000011A924EF 0001000000000003 0000000000000000 00000000202D0470 scummvm_libretro.dll!retro_run 000000000043C709 000000008FA495D7 000000000045712F 00007FFC762D65E0 retroarch_debug.exe!core_run [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/retroarch.c @ 30583] 000000000043B7E3 0000000000000000 0000000000000000 000000000A25FD40 retroarch_debug.exe!runloop_iterate [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/retroarch.c @ 30013] 000000000041124D 0000000000000004 000000000F010000 0000000000000000 retroarch_debug.exe!rarch_main [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/retroarch.c @ 9847] 000000000058EF27 0000000000000004 000000000F010000 000000000A362AE2 retroarch_debug.exe!SDL_main [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/ui/drivers/qt/ui_qt_application.cpp @ 150] 0000000000ABB58E 0000000000000003 000000000000007A 0000000001A1EEE0 retroarch_debug.exe!main_getcmdline 00000000004013B4 0000000000000000 0000000000000000 0000000000000000 retroarch_debug.exe!__tmainCRTStartup [E:/mingwbuild/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c @ 339] 00000000004014DB 0000000000000000 0000000000000000 0000000000000000 retroarch_debug.exe!WinMainCRTStartup [E:/mingwbuild/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c @ 195] 00007FFC762D7BD4 0000000000000000 0000000000000000 0000000000000000 KERNEL32.DLL!BaseThreadInitThunk 00007FFC7642CED1 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!RtlUserThreadStart

retroarch_debug.exe ntdll.dll 10.0.18362.719 KERNEL32.DLL 10.0.18362.329 KERNELBASE.dll 10.0.18362.719 ADVAPI32.dll 10.0.18362.329 msvcrt.dll 7.0.18362.1 sechost.dll 10.0.18362.693 RPCRT4.dll 10.0.18362.628 comdlg32.dll 10.0.18362.693 combase.dll 10.0.18362.693 ucrtbase.dll 10.0.18362.387 bcryptPrimitives.dll 10.0.18362.295 shcore.dll 10.0.18362.1 USER32.dll 10.0.18362.719 win32u.dll 10.0.18362.719 GDI32.dll 10.0.18362.1 gdi32full.dll 10.0.18362.719 msvcp_win.dll 10.0.18362.387 SHLWAPI.dll 10.0.18362.1 SHELL32.dll 10.0.18362.719 cfgmgr32.dll 10.0.18362.387 windows.storage.dll 10.0.18362.719 profapi.dll 10.0.18362.693 COMCTL32.dll 5.82.18362.720 powrprof.dll 10.0.18362.1 UMPDC.dll kernel.appcore.dll 10.0.18362.1 cryptsp.dll 10.0.18362.1 ole32.dll 10.0.18362.693 SETUPAPI.dll 10.0.18362.1 bcrypt.dll 10.0.18362.267 WS2_32.dll 10.0.18362.387 DINPUT8.dll DSOUND.dll 10.0.18362.1 HID.DLL 10.0.18362.1 IPHLPAPI.DLL 10.0.18362.1 MSIMG32.dll 10.0.18362.719 OPENGL32.dll 10.0.18362.387 libwinpthread-1.dll 1.0.0.0 WINMM.dll 10.0.18362.1 libstdc+±6.dll avcodec-58.dll 58.54.100.0 libass-9.dll cg.dll 3.1.0.13 avformat-58.dll 58.29.100.0 avutil-56.dll 56.31.100.0 cgD3D9.dll 3.1.0.13 libcaca-0.dll cgGL.dll 3.1.0.13 libfreetype-6.dll 2.10.1.0 exchndl.dll 0.9.2.0 PSAPI.DLL 10.0.18362.1 libopenal-1.dll Qt5Core.dll 5.13.2.0 SDL2.dll 2.0.10.0 IMM32.dll 10.0.18362.387 libssl-1_1-x64.dll 1.1.1.4 OLEAUT32.dll 10.0.18362.693 Qt5Network.dll 5.13.2.0 CRYPT32.dll 10.0.18362.592 MSASN1.dll 10.0.18362.1 GLU32.dll 10.0.18362.387 swresample-3.dll 3.5.100.0 swscale-5.dll 5.5.100.0 libusb-1.0.dll 1.0.23.11397 WINMMBASE.dll 10.0.18362.1 libgcc_s_seh-1.dll libcelt0-2.dll liblzma-5.dll 5.2.4.0 libmp3lame-0.dll libgsm.dll libopencore-amrnb-0.dll libmfx-1.dll libopus-0.dll libtheoraenc-1.dll libtheoradec-1.dll libvorbis-0.dll libvorbisenc-2.dll libwebp-7.dll libwebpmux-3.dll libvpx-1.dll zlib1.dll xvidcore.dll libx264-157.dll 0.157.2970.0 libfontconfig-1.dll libfribidi-0.dll libharfbuzz-0.dll libmodplug-1.dll libbluray-2.dll libpng16-16.dll VERSION.dll 10.0.18362.1 librtmp-1.dll mgwhelp.dll 0.9.2.0 MPR.dll 10.0.18362.1 NETAPI32.dll 10.0.18362.1 USERENV.dll 10.0.18362.387 libzstd.dll libicuuc65.dll libpcre2-16-0.dll libcrypto-1_1-x64.dll 1.1.1.4 DNSAPI.dll 10.0.18362.267 NSI.dll 10.0.18362.449 libintl-8.dll 0.19.8.0 libogg-0.dll USP10.dll 10.0.18362.476 libgraphite2.dll libxml2-2.dll libhogweed-5.dll libgmp-10.dll dbghelp.dll 10.0.18362.1 dxcore.dll 10.0.18362.1 dbgcore.DLL 10.0.18362.1 Qt5Gui.dll 5.13.2.0 Qt5Widgets.dll 5.13.2.0 libiconv-2.dll 1.16.0.0 libopencore-amrwb-0.dll libopenjp2-7.dll libspeex-1.dll libwavpack-1.dll libx265.dll 3.2.0.1 libbz2-1.dll libgnutls-30.dll libexpat-1.dll libsrt.dll libdouble-conversion.dll libicuin65.dll libnettle-7.dll libicudt65.dll libglib-2.0-0.dll 2.62.2.0 dwmapi.dll 10.0.18362.267 UxTheme.dll 10.0.18362.449 libidn2-0.dll libtasn1-6.dll WSOCK32.dll 10.0.18362.1 CRYPTBASE.DLL 10.0.18362.1 NETUTILS.DLL 10.0.18362.1 SRVCLI.DLL 10.0.18362.1 libp11-kit-0.dll libunistring-2.dll 0.9.10.0 libffi-6.dll libpcre-1.dll ncrypt.dll 10.0.18362.1 NTASN1.dll 10.0.18362.1 rsaenh.dll 10.0.18362.1 scummvm_libretro.dll MSCTF.dll 10.0.18362.693 mswsock.dll 10.0.18362.1 nvoglv64.dll 26.21.14.4575 WTSAPI32.dll 10.0.18362.1 DEVOBJ.dll 10.0.18362.387 WINTRUST.dll 10.0.18362.387 ntmarta.dll 10.0.18362.1 fwpuclnt.dll 10.0.18362.207 rasadhlp.dll 10.0.18362.1 nvspcap64.dll 3.20.2.34 WINSTA.dll 10.0.18362.53 TextInputFramework.dll 10.0.18362.693 CoreUIComponents.dll 10.0.18362.207 CoreMessaging.dll 10.0.18362.1 wintypes.dll 10.0.18362.693 iertutil.dll 11.0.18362.693 dinput8.dll 10.0.18362.1 inputhost.dll 10.0.18362.387 PROPSYS.dll 7.0.18362.267 xinput1_4.dll 10.0.18362.329 clbcatq.dll 2001.12.10941.16384 explorerframe.dll 10.0.18362.418 XAudio2_7.dll 9.29.1962.0 MMDevApi.dll 10.0.18362.387 AUDIOSES.DLL 10.0.18362.628 Windows.UI.dll 10.0.18362.387 avrt.dll 10.0.18362.1 wdmaud.drv 10.0.18362.1 ksuser.dll 10.0.18362.1 msacm32.drv 10.0.18362.1 MSACM32.dll 10.0.18362.1 midimap.dll 10.0.18362.1 deviceaccess.dll 10.0.18362.1

Windows 10.0.18363 DrMingw 0.9.2

I should add that the game works flawlessly with the ScummVM standalone Version.

i just want to add that i am also seeing this issue

I am seeing this error also with this game and some other games with the scummvm core.

I have since had confirmation from users in other forums that they also see this issue. It seems that the core is responsible, which is a shame, because it works so well with many games.

Using retroarch any scummvm games that use kyra.dat don’t work no matter where you put the kyra.dat file. Also like mentioned above phantasmagoria 2 doesn’t work (C++ Assertion Failed Error). Folowing this in case anyone finds a work around or issues get fixed.