Microsoft Visual C++ MAME crash.

Microsoft Visual C++ Runtime Library.

This application has requested the Runtime to terminate it in an unusual way.

Noticed the crash so far when trying to run desert war. Things I’ve tried: Uninstalling all the C++ libraries and reinstalling. System File Checker (SFC scan). No issues.

Can you post a RetroArch log of a failure/crash?

I’m not sure how to make a log.

https://docs.libretro.com/guides/generating-retroarch-logs/

[INFO] RetroArch 1.7.5 (Git 826c77d523)
[INFO] === Build =======================================
[INFO] Version: 1.7.5
[INFO] Git: 826c77d523
[INFO] =================================================
[INFO] Environ SET_PIXEL_FORMAT: RGB565.
[INFO] Redirecting save file to "D:\RetroArch\saves\.srm".
[INFO] Redirecting savestate to "D:\RetroArch\states\.state".
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 29970.03 Hz.
[INFO] [Video]: Video @ 960x720
[INFO] [GL]: Found GL context: wgl
[INFO] [GL]: Detecting screen resolution 1680x1050.
[INFO] [WGL] extensions: WGL_EXT_depth_float WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_pixel_format WGL_ARB_pbuffer WGL_EXT_extensions_string WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_ARB_multisample WGL_ARB_pixel_format_float WGL_ARB_framebuffer_sRGB WGL_ARB_create_context WGL_ARB_create_context_profile WGL_EXT_pixel_format_packed_float WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_NV_DX_interop WGL_ARB_create_context_robustness
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [GL]: Vendor: Intel, Renderer: Intel(R) HD Graphics 2500.
[INFO] [GL]: Version: 4.0.0 - Build 10.18.10.5059.
[INFO] [GL]: Using resolution 960x720
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Setting up menu pipeline shaders for XMB ...
[INFO] [GLSL]: Compiling ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Resetting shader to defaults ...
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Using GL_RGB565 for texture uploads.
[INFO] [XInput]: Found XInput v1.3.
[INFO] [XInput]: Found controller, user #0
[INFO] [XInput]: Pads connected: 1
[INFO] [DINPUT]: Enumerating joypads ...
[INFO] [DINPUT]: Device #0 PID: {02B8} VID:{0E6F}
[INFO] [DINPUT]: Done enumerating joypads ...
[INFO] [XInput]: Attempting autoconf for "XInput Controller (User 1)", user #0
[INFO] [DINPUT]: Found XInput pad at index 0 (DINPUT index 0)
[INFO] [XInput]: Found VID/PID (0E6F/02B8) from DINPUT index 0 for "XInput Controller (User 1)", user #0
[INFO] [XInput]: Attempting autoconf for user #1
[INFO] [XInput]: Attempting autoconf for user #2
[INFO] [XInput]: Attempting autoconf for user #3
[INFO] [XInput]: Attempting autoconf for user #4
[INFO] [XInput]: Attempting autoconf for user #5
[INFO] [XInput]: Attempting autoconf for user #6
[INFO] [XInput]: Attempting autoconf for user #7
[INFO] [XInput]: Attempting autoconf for user #8
[INFO] [XInput]: Attempting autoconf for user #9
[INFO] [XInput]: Attempting autoconf for user #10
[INFO] [XInput]: Attempting autoconf for user #11
[INFO] [XInput]: Attempting autoconf for user #12
[INFO] [Autoconf]: 115 profiles found.
[INFO] [XInput]: Attempting autoconf for user #13
[INFO] [XInput]: Attempting autoconf for user #14
[INFO] [XInput]: Attempting autoconf for user #15
[INFO] [Joypad]: Found joypad driver: "xinput".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[INFO] XAudio2: Requesting 64 ms latency, using 64 ms latency.
[INFO] [autoconf]: selected configuration: D:\RetroArch\autoconfig\xinput\XInput_Controller_User_1.cfg
[INFO] [Menu]: Found menu display driver: "menu_display_gl".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [LED]: LED driver = 'null' 0000000000A375C0
[INFO] [MIDI]: Initializing ...
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "winmm" driver.
[WARN] Input device ID 513 is unknown to this libretro implementation. Using RETRO_DEVICE_JOYPAD.
[INFO] SRAM will not be saved.
[INFO] Loading history file: [D:\RetroArch\content_history.lpl].
[INFO] Loading history file: [D:\RetroArch\content_favorites.lpl].
[INFO] Loading history file: [D:\RetroArch\content_music_history.lpl].
[INFO] Loading history file: [D:\RetroArch\content_video_history.lpl].
[INFO] Loading history file: [D:\RetroArch\content_image_history.lpl].
[INFO] [GL]: VSync => on
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [GL]: VSync => on
[INFO] [WGL]: wglSwapInterval(1)
[INFO] Using content: D:\Roms\MAME\desertwr.zip.
[INFO] arg #0: retroarch
[INFO] arg #1: D:\Roms\MAME\desertwr.zip
[INFO] arg #2: -s
[INFO] arg #3: D:\RetroArch\saves
[INFO] arg #4: -S
[INFO] arg #5: D:\RetroArch\states
[INFO] arg #6: -c
[INFO] arg #7: D:\RetroArch\retroarch.cfg
[INFO] arg #8: -L
[INFO] arg #9: D:\RetroArch\cores\mame_libretro.dll
[INFO] Unloading game..
[INFO] Unloading core..
[INFO] Unloading core symbols..
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] Set config file to : D:\RetroArch\retroarch.cfg
[INFO] RetroArch 1.7.5 (Git 826c77d523)
[INFO] Redirecting save file to "D:\RetroArch\saves\desertwr.srm".
[INFO] Redirecting savestate to "D:\RetroArch\states\desertwr.state".
[INFO] === Build =======================================
[INFO] Version: 1.7.5
[INFO] Git: 826c77d523
[INFO] =================================================
[INFO] Loading dynamic libretro core from: "D:\RetroArch\cores\mame_libretro.dll"
[INFO] [overrides] no core-specific overrides found at D:\RetroArch\config\MAME\MAME.cfg.
[INFO] [overrides] no content-dir-specific overrides found at D:\RetroArch\config\MAME\MAME.cfg.
[INFO] [overrides] no game-specific overrides found at D:\RetroArch\config\MAME\desertwr.cfg.
[INFO] Shaders: preset directory: D:\RetroArch\shaders\presets
[INFO] Shaders: no game-specific preset found at D:\RetroArch\shaders\presets\MAME\desertwr.cgp.
[INFO] Shaders: no game-specific preset found at D:\RetroArch\shaders\presets\MAME\desertwr.glslp.
[INFO] Shaders: no content-dir-specific preset found at D:\RetroArch\shaders\presets\MAME\MAME.cgp.
[INFO] Shaders: no content-dir-specific preset found at D:\RetroArch\shaders\presets\MAME\MAME.glslp.
[INFO] Shaders: no core-specific preset found at D:\RetroArch\shaders\presets\MAME\MAME.cgp.
[INFO] Shaders: no core-specific preset found at D:\RetroArch\shaders\presets\MAME\MAME.glslp.
[INFO] Environ SET_VARIABLES.
[INFO] Remaps: remap directory: D:\RetroArch\config\remaps
[INFO] Remaps: no game-specific remap found at D:\RetroArch\config\remaps\MAME\desertwr.rmp.
[INFO] Remaps: no content-dir-specific remap found at D:\RetroArch\config\remaps\MAME\MAME.rmp.
[INFO] Remaps: no core-specific remap found at D:\RetroArch\config\remaps\MAME\MAME.rmp.
[INFO] Redirecting save file to "D:\RetroArch\saves\desertwr.srm".
[INFO] Redirecting savestate to "D:\RetroArch\states\desertwr.state".
[INFO] Environ GET_LOG_INTERFACE.
[INFO] Environ SYSTEM_DIRECTORY: "D:\RetroArch\system".
[libretro INFO] SYSTEM_DIRECTORY: D:\RetroArch\system
[INFO] Environ CORE_ASSETS_DIRECTORY: "D:\RetroArch\downloads".
[libretro INFO] CONTENT_DIRECTORY: D:\RetroArch\downloads
[libretro INFO] SAVE_DIRECTORY: D:\RetroArch\saves
[INFO] Environ SET_PIXEL_FORMAT: XRGB8888.
[INFO] Content loading skipped. Implementation will load it on its own.
[INFO] Environ GET_VARIABLE mame_boot_from_cli:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_mouse_enable:
[INFO]  enabled
[INFO] Environ GET_VARIABLE mame_buttons_profiles:
[INFO]  enabled
[INFO] Environ GET_VARIABLE mame_throttle:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_altres:
[INFO]  640x480
[INFO] Environ GET_VARIABLE mame_nobuffer:
[INFO]  N/A
[INFO] Environ GET_VARIABLE mame_cheats_enable:
[INFO]  enabled
[INFO] Environ GET_VARIABLE mame_alternate_renderer:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_boot_to_osd:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_read_config:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_auto_save:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_saves:
[INFO]  game
[INFO] Environ GET_VARIABLE mame_media_type:
[INFO]  rom
[INFO] Environ GET_VARIABLE mame_softlists_enable:
[INFO]  enabled
[INFO] Environ GET_VARIABLE mame_softlists_auto_media:
[INFO]  enabled
[INFO] Environ GET_VARIABLE mame_boot_to_bios:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_write_config:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_mame_paths_enable:
[INFO]  disabled
[INFO] Skipping SRAM load..
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] Environ GET_VARIABLE mame_boot_from_cli:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_mouse_enable:
[INFO]  enabled
[INFO] Environ GET_VARIABLE mame_buttons_profiles:
[INFO]  enabled
[INFO] Environ GET_VARIABLE mame_throttle:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_altres:
[INFO]  640x480
[INFO] Environ GET_VARIABLE mame_nobuffer:
[INFO]  N/A
[INFO] Environ GET_VARIABLE mame_cheats_enable:
[INFO]  enabled
[INFO] Environ GET_VARIABLE mame_alternate_renderer:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_boot_to_osd:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_read_config:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_auto_save:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_saves:
[INFO]  game
[INFO] Environ GET_VARIABLE mame_media_type:
[INFO]  rom
[INFO] Environ GET_VARIABLE mame_softlists_enable:
[INFO]  enabled
[INFO] Environ GET_VARIABLE mame_softlists_auto_media:
[INFO]  enabled
[INFO] Environ GET_VARIABLE mame_boot_to_bios:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_write_config:
[INFO]  disabled
[INFO] Environ GET_VARIABLE mame_mame_paths_enable:
[INFO]  disabled
[libretro INFO] AV_INFO: width=640 height=480
[libretro INFO] AV_INFO: max_width=640 max_height=480
[libretro INFO] AV_INFO: aspect_ratio = 1.333333
[libretro INFO] AV_INFO: fps = 60.000000 sample_rate = 48000.000000
[INFO] [Audio]: Set audio input rate to: 47952.05 Hz.
[INFO] [Video]: Video @ 1920x1440
[INFO] [GL]: Found GL context: wgl
[INFO] [GL]: Detecting screen resolution 1680x1050.
[INFO] [WGL] extensions: WGL_EXT_depth_float WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_pixel_format WGL_ARB_pbuffer WGL_EXT_extensions_string WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_ARB_multisample WGL_ARB_pixel_format_float WGL_ARB_framebuffer_sRGB WGL_ARB_create_context WGL_ARB_create_context_profile WGL_EXT_pixel_format_packed_float WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_NV_DX_interop WGL_ARB_create_context_robustness
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [GL]: Vendor: Intel, Renderer: Intel(R) HD Graphics 2500.
[INFO] [GL]: Version: 4.0.0 - Build 10.18.10.5059.
[INFO] [GL]: Using resolution 1684x1012
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Setting up menu pipeline shaders for XMB ...
[INFO] [GLSL]: Compiling ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Resetting shader to defaults ...
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [XInput]: Found XInput v1.3.
[INFO] [XInput]: Found controller, user #0
[INFO] [XInput]: Pads connected: 1
[INFO] [DINPUT]: Enumerating joypads ...
[INFO] [DINPUT]: Device #0 PID: {02B8} VID:{0E6F}
[INFO] [DINPUT]: Done enumerating joypads ...
[INFO] [XInput]: Attempting autoconf for "XInput Controller (User 1)", user #0
[INFO] [DINPUT]: Found XInput pad at index 0 (DINPUT index 0)
[INFO] [XInput]: Found VID/PID (0E6F/02B8) from DINPUT index 0 for "XInput Controller (User 1)", user #0
[INFO] [XInput]: Attempting autoconf for user #1
[INFO] [XInput]: Attempting autoconf for user #2
[INFO] [XInput]: Attempting autoconf for user #3
[INFO] [XInput]: Attempting autoconf for user #4
[INFO] [XInput]: Attempting autoconf for user #5
[INFO] [XInput]: Attempting autoconf for user #6
[INFO] [XInput]: Attempting autoconf for user #7
[INFO] [XInput]: Attempting autoconf for user #8
[INFO] [XInput]: Attempting autoconf for user #9
[INFO] [XInput]: Attempting autoconf for user #10
[INFO] [XInput]: Attempting autoconf for user #11
[INFO] [XInput]: Attempting autoconf for user #12
[INFO] [XInput]: Attempting autoconf for user #13
[INFO] [XInput]: Attempting autoconf for user #14
[INFO] [XInput]: Attempting autoconf for user #15
[INFO] [Joypad]: Found joypad driver: "xinput".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[INFO] XAudio2: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Autoconf]: 115 profiles found.
[INFO] [autoconf]: selected configuration: D:\RetroArch\autoconfig\xinput\XInput_Controller_User_1.cfg
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [LED]: LED driver = 'null' 0000000000A375C0
[INFO] [MIDI]: Initializing ...
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "winmm" driver.
[WARN] Input device ID 513 is unknown to this libretro implementation. Using RETRO_DEVICE_JOYPAD.
[INFO] Loading history file: [D:\RetroArch\content_history.lpl].
[INFO] Loading history file: [D:\RetroArch\content_favorites.lpl].
[INFO] Loading history file: [D:\RetroArch\content_music_history.lpl].
[INFO] Loading history file: [D:\RetroArch\content_video_history.lpl].
[INFO] Loading history file: [D:\RetroArch\content_image_history.lpl].
[INFO] [GL]: VSync => on
[INFO] [WGL]: wglSwapInterval(1)
[libretro INFO] Starting game:D:\Roms\MAME\desertwr.zip
[libretro INFO] Game name: desertwr, Game description: Desert War / Wangan Sensou (ver 1.0)
[libretro ERROR] System not found: MAME
[libretro WARN] Driver MAME not found -1
[libretro INFO] Creating frontend for game: desertwr
[libretro INFO] Softlists: 1
[libretro INFO] RES:1
[libretro INFO] MAIN FIRST
[INFO] Environ SET_GEOMETRY.
[INFO] SET_GEOMETRY: 224x320, aspect: 0.750.

hmm, log looks okay. Nothing unusual…