Retroarch has stopped working after roughly 45,000 frames into any ROM

Hi Guys! Going to preface this with an apology if this is the wrong section for my error or if I there is another topic/thread which covers it. I have looked and found heaps regarding crashing when loading but never after a duration of use

System:

Surface Pro 4 i5-6300U CPU @2.40 Ghz, 8Gb RAM, 64-bit OS Intel HD Graphics 520 (Driver: 20.19.15.4463)

Issue:

I load the Retroarch client and it works fine. I load a ROM and it works fine, I have frame count and fps enabled After approximately 45,000 frames I get “Retroarch has stopped working” crash. This is not exact, sometimes its as low as 30k frames when it drops out. I have experienced this crash with every ROM I have used; though please note I’ve mostly been trying SNES ROMS.

Actions thus far:

I have played around with changing shaders/drivers inside Retroarch but I’m really just guessing and its difficult to test every combination as it takes 10-15 minutes of game play per test to get to the 45k dropout zone. I have updated my graphic drivers to their latest version I have updated Retroarch to the latest nightly version (24.4.2017)

Thoughts so far I suspect its a graphic/shader/driver issue based on the crash log however I dont understand why it takes so long to crash out. I didn’t notice the issue at first when I was installing/testing ROMS because I didn’t spend enough time on a single on to experience it. Thus, if I load a ROM, play for 5 minutes (about 10k frames) and exit to Retroarch GUI and load another ROM, play for 5 minutes; rinse and repeat x10 times I get no crashing. Only if a single ROM runs for ~45k frame duration.

UPDATE: I left Retroarch GUI running in GUI mode only (No ROM) and it crashed again.

Thanks in advance for any advice/suggestions!

Logs:


RetroArch [INFO] :: This is RetroArch version 1.5.0 (Git 2a13af5) RetroArch [INFO] :: === Build ======================================= Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES Built: Apr 24 2017 RetroArch [INFO] :: Version: 1.5.0 RetroArch [INFO] :: Git: 2a13af5 RetroArch [INFO] :: ================================================= RetroArch [INFO] :: Loading default config. RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565. RetroArch [INFO] :: Redirecting save file to “C:\RETRO\saves.srm”. RetroArch [INFO] :: Redirecting savestate to “C:\RETRO\states.state”. RetroArch [INFO] :: Version of libretro API: 1 RetroArch [INFO] :: Compiled against API: 1 RetroArch [INFO] :: [Audio]: Set audio input rate to: 29970.03 Hz. RetroArch [INFO] :: Found shader “C:\RETRO\shaders\retroarch.cgp” RetroArch [INFO] :: Found shader “C:\RETRO\shaders\retroarch.glslp” RetroArch [INFO] :: [Video]: Video @ fullscreen RetroArch [INFO] :: [Video]: Starting threaded video driver … RetroArch [INFO] :: [GL]: Found GL context: wgl RetroArch [INFO] :: [GL]: Detecting screen resolution 1920x1200. RetroArch [INFO] :: [WGL]: wglSwapInterval(1) RetroArch [INFO] :: [GL]: Vendor: Intel, Renderer: Intel® HD Graphics 520. RetroArch [INFO] :: [GL]: Version: 4.4.0 - Build 20.19.15.4463. RetroArch [INFO] :: [GL]: Using resolution 1920x1200 RetroArch [INFO] :: [GL]: Default shader backend found: glsl. RetroArch [INFO] :: [Shader driver]: Using GLSL shader backend. RetroArch [INFO] :: [GLSL]: Checking GLSL shader support … RetroArch [INFO] :: Found #pragma parameter LeiFX Line Intensity (LEIFX_LINES) 0.050000 0.000000 1.000000 0.010000 RetroArch [INFO] :: Found #pragma parameter LeiFX Gamma Correction (GAMMA_LEVEL) 1.300000 0.000000 2.000000 0.010000 RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Linking GLSL program. RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: WARNING: 3:23: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: WARNING: 3:23: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Linking GLSL program. RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: WARNING: 3:34: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: WARNING: 3:81: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Linking GLSL program. RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: WARNING: 3:34: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: WARNING: 3:81: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Linking GLSL program. RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: WARNING: 3:34: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: WARNING: 3:81: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Linking GLSL program. RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: WARNING: 3:34: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: WARNING: 3:81: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Linking GLSL program. RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: WARNING: 3:23: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: WARNING: 3:23: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Linking GLSL program. RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Linking GLSL program. RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Linking GLSL program. RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Linking GLSL program. RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Linking GLSL program. RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Linking GLSL program. RetroArch [INFO] :: [GLSL]: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: WARNING: 3:1: ‘’ : #version directive missing

RetroArch [INFO] :: [GLSL]: Linking GLSL program. RetroArch [INFO] :: [GL]: Using 4 textures. RetroArch [INFO] :: [GL]: Loaded 6 program(s). RetroArch [INFO] :: [GL]: Using GL_RGB565 for texture uploads. RetroArch [INFO] :: [GL]: Creating FBO 0 @ 512x512 RetroArch [INFO] :: [GL]: Creating FBO 1 @ 512x512 RetroArch [INFO] :: [GL]: Creating FBO 2 @ 512x512 RetroArch [INFO] :: [GL]: Creating FBO 3 @ 512x512 RetroArch [INFO] :: [GL]: Creating FBO 4 @ 512x512 RetroArch [INFO] :: Found XInput v1.4. RetroArch [INFO] :: Found XInput controller, user #0 RetroArch [INFO] :: Enumerating DInput joypads … RetroArch [INFO] :: Device #0 PID: {05C4} VID:{054C} RetroArch [INFO] :: [Autodetect]: 42 profiles found. RetroArch [INFO] :: Device #1 PID: {028E} VID:{045E} RetroArch [INFO] :: [Autodetect]: selected configuration: C:\RETRO\autoconfig\xinput\DUALSHOCK_4.cfg RetroArch [INFO] :: Done enumerating DInput joypads … RetroArch [INFO] :: [Joypad]: Found joypad driver: “xinput”. RetroArch [INFO] :: [Autodetect]: 42 profiles found. RetroArch [INFO] :: [Font]: Using font rendering backend: freetype. RetroArch [INFO] :: [Autodetect]: selected configuration: C:\RETRO\autoconfig\xinput\XInput_Controller_User_1.cfg RetroArch [INFO] :: XAudio2: Requesting 64 ms latency, using 64 ms latency. RetroArch [INFO] :: [Menu]: Found menu display driver: “menu_display_gl”. RetroArch [INFO] :: Found #pragma parameter LeiFX Line Intensity (LEIFX_LINES) 0.050000 0.000000 1.000000 0.010000 RetroArch [INFO] :: Found #pragma parameter LeiFX Gamma Correction (GAMMA_LEVEL) 1.300000 0.000000 2.000000 0.010000 RetroArch [INFO] :: [Font]: Using font rendering backend: freetype. RetroArch [INFO] :: [Font]: Using font rendering backend: freetype. RetroArch [INFO] :: Disconnecting device from port 3. RetroArch [INFO] :: SRAM will not be saved. RetroArch [INFO] :: Found #pragma parameter LeiFX Line Intensity (LEIFX_LINES) 0.050000 0.000000 1.000000 0.010000 RetroArch [INFO] :: Found #pragma parameter LeiFX Gamma Correction (GAMMA_LEVEL) 1.300000 0.000000 2.000000 0.010000 RetroArch [INFO] :: Loading history file: [C:\RETRO\content_history.lpl]. RetroArch [INFO] :: Loading history file: [C:\RETRO\content_music_history.lpl]. RetroArch [INFO] :: Loading history file: [C:\RETRO\content_video_history.lpl]. RetroArch [INFO] :: Loading history file: [C:\RETRO\content_image_history.lpl]. RetroArch [INFO] :: Updating firmware status for: C:\RETRO\cores\bsnes_mercury_balanced_libretro.dll on C:\RETRO\system RetroArch [INFO] :: Using content: C:\RETRO\ROMz\Teenage Mutant Ninja Turtles IV - Turtles in Time (Australia).sfc. RetroArch [INFO] :: arg #0: retroarch RetroArch [INFO] :: arg #1: C:\RETRO\ROMz\Teenage Mutant Ninja Turtles IV - Turtles in Time (Australia).sfc RetroArch [INFO] :: arg #2: -s RetroArch [INFO] :: arg #3: C:\RETRO\saves RetroArch [INFO] :: arg #4: -S RetroArch [INFO] :: arg #5: C:\RETRO\states RetroArch [INFO] :: arg #6: -c RetroArch [INFO] :: arg #7: C:\RETRO\retroarch.cfg RetroArch [INFO] :: arg #8: -L RetroArch [INFO] :: arg #9: C:\RETRO\cores\bsnes_mercury_balanced_libretro.dll RetroArch [INFO] :: Threaded video stats: Frames pushed: 461, Frames dropped: 0. RetroArch [INFO] :: Set config file to : C:\RETRO\retroarch.cfg RetroArch [INFO] :: This is RetroArch version 1.5.0 (Git 2a13af5) RetroArch [INFO] :: Redirecting save file to “C:\RETRO\saves\Teenage Mutant Ninja Turtles IV - Turtles in Time (Australia).srm”. RetroArch [INFO] :: Redirecting savestate to “C:\RETRO\states\Teenage Mutant Ninja Turtles IV - Turtles in Time (Australia).state”. RetroArch [INFO] :: === Build ======================================= Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES Built: Apr 24 2017 RetroArch [INFO] :: Version: 1.5.0 RetroArch [INFO] :: Git: 2a13af5 RetroArch [INFO] :: ================================================= RetroArch [INFO] :: Loading dynamic libretro core from: “C:\RETRO\cores\bsnes_mercury_balanced_libretro.dll” RetroArch [INFO] :: [overrides] no core-specific overrides found at C:\RETRO\config\bsnes-mercury\bsnes-mercury.cfg. RetroArch [INFO] :: [overrides] no game-specific overrides found at C:\RETRO\config\bsnes-mercury\Teenage Mutant Ninja Turtles IV - Turtles in Time (Australia).cfg. RetroArch [INFO] :: Shaders: preset directory: C:\RETRO\shaders\presets RetroArch [INFO] :: Shaders: game-specific shader preset found at C:\RETRO\shaders\presets\bsnes-mercury\Teenage Mutant Ninja Turtles IV - Turtles in Time (Australia).cgp. RetroArch [INFO] :: Environ SET_VARIABLES. RetroArch [INFO] :: Environ GET_LOG_INTERFACE. RetroArch [INFO] :: Environ SET_SUBSYSTEM_INFO. RetroArch [INFO] :: Special game type: Super GameBoy RetroArch [INFO] :: Ident: sgb RetroArch [INFO] :: ID: 4356 RetroArch [INFO] :: Content: RetroArch [INFO] :: GameBoy (required) RetroArch [INFO] :: Super GameBoy BIOS (required) RetroArch [INFO] :: Special game type: Sufami Turbo RetroArch [INFO] :: Ident: sufami RetroArch [INFO] :: ID: 4355 RetroArch [INFO] :: Content: RetroArch [INFO] :: Sufami A (optional) RetroArch [INFO] :: Sufami B (optional) RetroArch [INFO] :: Sufami BIOS (required) RetroArch [INFO] :: Special game type: BSX RetroArch [INFO] :: Ident: bsx RetroArch [INFO] :: ID: 4353 RetroArch [INFO] :: Content: RetroArch [INFO] :: BSX ROM (required) RetroArch [INFO] :: BSX BIOS (required) RetroArch [INFO] :: Special game type: BSX slotted RetroArch [INFO] :: Ident: bsxslot RetroArch [INFO] :: ID: 4354 RetroArch [INFO] :: Content: RetroArch [INFO] :: BSX ROM (required) RetroArch [INFO] :: BSX BIOS (required) RetroArch [INFO] :: Environ SET_CONTROLLER_INFO. RetroArch [INFO] :: Controller port: 1 RetroArch [INFO] :: SNES Joypad (ID: 1) RetroArch [INFO] :: SNES Mouse (ID: 2) RetroArch [INFO] :: Controller port: 2 RetroArch [INFO] :: SNES Joypad (ID: 1) RetroArch [INFO] :: SNES Mouse (ID: 2) RetroArch [INFO] :: Multitap (ID: 257) RetroArch [INFO] :: SuperScope (ID: 260) RetroArch [INFO] :: Justifier (ID: 516) RetroArch [INFO] :: Justifiers (ID: 772) RetroArch [INFO] :: Remaps: remap directory: C:\RETRO\config\remaps RetroArch [INFO] :: Remaps: no game-specific remap found at C:\RETRO\config\remaps\bsnes-mercury\Teenage Mutant Ninja Turtles IV - Turtles in Time (Australia).rmp. RetroArch [INFO] :: Remaps: no core-specific remap found at C:\RETRO\config\remaps\bsnes-mercury\bsnes-mercury.rmp. RetroArch [INFO] :: Redirecting save file to “C:\RETRO\saves\Teenage Mutant Ninja Turtles IV - Turtles in Time (Australia).srm”. RetroArch [INFO] :: Redirecting savestate to “C:\RETRO\states\Teenage Mutant Ninja Turtles IV - Turtles in Time (Australia).state”. RetroArch [INFO] :: Loading content file: C:\RETRO\ROMz\Teenage Mutant Ninja Turtles IV - Turtles in Time (Australia).sfc. RetroArch [INFO] :: Did not find a valid content patch. RetroArch [INFO] :: CRC32: 0xb28f1b9d . RetroArch [INFO] :: Environ SET_INPUT_DESCRIPTORS: RetroArch [INFO] :: RetroPad, User 1, Button “B (bottom)” => “B” RetroArch [INFO] :: RetroPad, User 1, Button “Y (left)” => “Y” RetroArch [INFO] :: RetroPad, User 1, Button “Select” => “Select” RetroArch [INFO] :: RetroPad, User 1, Button “Start” => “Start” RetroArch [INFO] :: RetroPad, User 1, Button “D-Pad Up” => “D-Pad Up” RetroArch [INFO] :: RetroPad, User 1, Button “D-Pad Down” => “D-Pad Down” RetroArch [INFO] :: RetroPad, User 1, Button “D-Pad Left” => “D-Pad Left” RetroArch [INFO] :: RetroPad, User 1, Button “D-Pad Right” => “D-Pad Right” RetroArch [INFO] :: RetroPad, User 1, Button “A (right)” => “A” RetroArch [INFO] :: RetroPad, User 1, Button “X (up)” => “X” RetroArch [INFO] :: RetroPad, User 1, Button “L” => “L” RetroArch [INFO] :: RetroPad, User 1, Button “R” => “R” RetroArch [INFO] :: RetroPad, User 2, Button “B (bottom)” => “B” RetroArch [INFO] :: RetroPad, User 2, Button “Y (left)” => “Y” RetroArch [INFO] :: RetroPad, User 2, Button “Select” => “Select” RetroArch [INFO] :: RetroPad, User 2, Button “Start” => “Start” RetroArch [INFO] :: RetroPad, User 2, Button “D-Pad Up” => “D-Pad Up” RetroArch [INFO] :: RetroPad, User 2, Button “D-Pad Down” => “D-Pad Down” RetroArch [INFO] :: RetroPad, User 2, Button “D-Pad Left” => “D-Pad Left” RetroArch [INFO] :: RetroPad, User 2, Button “D-Pad Right” => “D-Pad Right” RetroArch [INFO] :: RetroPad, User 2, Button “A (right)” => “A” RetroArch [INFO] :: RetroPad, User 2, Button “X (up)” => “X” RetroArch [INFO] :: RetroPad, User 2, Button “L” => “L” RetroArch [INFO] :: RetroPad, User 2, Button “R” => “R” RetroArch [INFO] :: RetroPad, User 3, Button “B (bottom)” => “B” RetroArch [INFO] :: RetroPad, User 3, Button “Y (left)” => “Y” RetroArch [INFO] :: RetroPad, User 3, Button “Select” => “Select” RetroArch [INFO] :: RetroPad, User 3, Button “Start” => “Start” RetroArch [INFO] :: RetroPad, User 3, Button “D-Pad Up” => “D-Pad Up” RetroArch [INFO] :: RetroPad, User 3, Button “D-Pad Down” => “D-Pad Down” RetroArch [INFO] :: RetroPad, User 3, Button “D-Pad Left” => “D-Pad Left” RetroArch [INFO] :: RetroPad, User 3, Button “D-Pad Right” => “D-Pad Right” RetroArch [INFO] :: RetroPad, User 3, Button “A (right)” => “A” RetroArch [INFO] :: RetroPad, User 3, Button “X (up)” => “X” RetroArch [INFO] :: RetroPad, User 3, Button “L” => “L” RetroArch [INFO] :: RetroPad, User 3, Button “R” => “R” RetroArch [INFO] :: RetroPad, User 4, Button “B (bottom)” => “B” RetroArch [INFO] :: RetroPad, User 4, Button “Y (left)” => “Y” RetroArch [INFO] :: RetroPad, User 4, Button “Select” => “Select” RetroArch [INFO] :: RetroPad, User 4, Button “Start” => “Start” RetroArch [INFO] :: RetroPad, User 4, Button “D-Pad Up” => “D-Pad Up” RetroArch [INFO] :: RetroPad, User 4, Button “D-Pad Down” => “D-Pad Down” RetroArch [INFO] :: RetroPad, User 4, Button “D-Pad Left” => “D-Pad Left” RetroArch [INFO] :: RetroPad, User 4, Button “D-Pad Right” => “D-Pad Right” RetroArch [INFO] :: RetroPad, User 4, Button “A (right)” => “A” RetroArch [INFO] :: RetroPad, User 4, Button “X (up)” => “X” RetroArch [INFO] :: RetroPad, User 4, Button “L” => “L” RetroArch [INFO] :: RetroPad, User 4, Button “R” => “R” RetroArch [INFO] :: RetroPad, User 5, Button “B (bottom)” => “B” RetroArch [INFO] :: RetroPad, User 5, Button “Y (left)” => “Y” RetroArch [INFO] :: RetroPad, User 5, Button “Select” => “Select” RetroArch [INFO] :: RetroPad, User 5, Button “Start” => “Start” RetroArch [INFO] :: RetroPad, User 5, Button “D-Pad Up” => “D-Pad Up” RetroArch [INFO] :: RetroPad, User 5, Button “D-Pad Down” => “D-Pad Down” RetroArch [INFO] :: RetroPad, User 5, Button “D-Pad Left” => “D-Pad Left” RetroArch [INFO] :: RetroPad, User 5, Button “D-Pad Right” => “D-Pad Right” RetroArch [INFO] :: RetroPad, User 5, Button “A (right)” => “A” RetroArch [INFO] :: RetroPad, User 5, Button “X (up)” => “X” RetroArch [INFO] :: RetroPad, User 5, Button “L” => “L” RetroArch [INFO] :: RetroPad, User 5, Button “R” => “R” RetroArch [libretro INFO] :: BML map: RetroArch [libretro INFO] :: cartridge region=PAL RetroArch [libretro INFO] :: rom name=program.rom size=0x100000 RetroArch [libretro INFO] :: map id=rom address=00-7f,80-ff:8000-ffff mask=0x8000 RetroArch [libretro INFO] :: [Memory]: ID 7, Request “manifest.bml”. RetroArch [libretro INFO] :: Complete load request. RetroArch [libretro INFO] :: [Memory]: ID 8, Request “program.rom”. RetroArch [libretro INFO] :: Load ROM. RetroArch [libretro INFO] :: Complete load request. RetroArch [libretro INFO] :: [Memory]: ID 6, Request “”. RetroArch [libretro INFO] :: Complete load request. RetroArch [INFO] :: Environ SET_MEMORY_MAPS. RetroArch [INFO] :: ndx flags ptr offset start select disconn len addrspace RetroArch [INFO] :: 001 M1A1bC 0000000000000000 00000000 00802188 00C0FFE8 00000000 01000000 RetroArch [INFO] :: 002 M1A1bC 0000000000000000 00000000 00002188 00C0FFE8 00000000 01000000 RetroArch [INFO] :: 003 M1A1bC 0000000000000000 00000000 00802100 00C0FFC0 00000000 01000000 RetroArch [INFO] :: 004 M1A1bC 0000000000000000 00000000 00002100 00C0FFC0 00000000 01000000 RetroArch [INFO] :: 005 M1A1bc 0000000056B3B45C 00000000 007E0000 00FE0000 00000000 00020000 RetroArch [INFO] :: 006 M1A1bc 0000000056B3B45C 00000000 00800000 00C0E000 00000000 00002000 RetroArch [INFO] :: 007 M1A1bc 0000000056B3B45C 00000000 00000000 00C0E000 00000000 00002000 RetroArch [INFO] :: 008 M1A1bC 0000000000000000 00000000 00804300 00C0FF80 00000000 01000000 RetroArch [INFO] :: 009 M1A1bC 0000000000000000 00000000 00004300 00C0FF80 00000000 01000000 RetroArch [INFO] :: 010 M1A1bC 0000000000000000 00000000 00804200 00C0FFE0 00000000 01000000 RetroArch [INFO] :: 011 M1A1bC 0000000000000000 00000000 00004200 00C0FFE0 00000000 01000000 RetroArch [INFO] :: 012 M1A1bC 0000000000000000 00000000 00804016 00C0FFFE 00000000 01000000 RetroArch [INFO] :: 013 M1A1bC 0000000000000000 00000000 00004016 00C0FFFE 00000000 01000000 RetroArch [INFO] :: 014 M1A1bC 000000004CFCC040 00000000 00808000 00808000 00008000 00100000 RetroArch [INFO] :: 015 M1A1bC 000000004CFCC040 00000000 00008000 00808000 00008000 00100000 RetroArch [INFO] :: 016 M1A1bC 0000000000000000 00000000 00000000 00000000 00000000 01000000 RetroArch [libretro INFO] :: SRAM memory size: 0. RetroArch [INFO] :: CHEEVOS system RAM: 0000000056B3B45C 131072 RetroArch [INFO] :: CHEEVOS save RAM: 0000000000000000 0 RetroArch [INFO] :: CHEEVOS video RAM: 0000000056B725AC 65536 RetroArch [INFO] :: CHEEVOS RTC: 0000000000000000 0 RetroArch [libretro INFO] :: SRAM memory size: 0. RetroArch [INFO] :: Skipping SRAM load… RetroArch [INFO] :: Version of libretro API: 1 RetroArch [INFO] :: Compiled against API: 1 RetroArch [INFO] :: Environ GET_OVERSCAN: 0 RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: XRGB8888. RetroArch [INFO] :: [Audio]: Set audio input rate to: 32040.50 Hz. RetroArch [INFO] :: [Video]: Timings deviate too much. Will not adjust. (Display = 59.94 Hz, Game = 50.01 Hz) RetroArch [INFO] :: Found shader “C:\RETRO\shaders\retroarch.cgp” RetroArch [INFO] :: Found shader “C:\RETRO\shaders\retroarch.glslp” RetroArch [INFO] :: [Video]: Video @ fullscreen RetroArch [INFO] :: [Video]: Starting threaded video driver … RetroArch [INFO] :: [GL]: Found GL context: wgl RetroArch [INFO] :: [GL]: Detecting screen resolution 1920x1200. RetroArch [INFO] :: [WGL]: wglSwapInterval(1) RetroArch [INFO] :: [GL]: Vendor: Intel, Renderer: Intel® HD Graphics 520. RetroArch [INFO] :: [GL]: Version: 4.4.0 - Build 20.19.15.4463. RetroArch [INFO] :: [GL]: Using resolution 1920x1200 RetroArch [INFO] :: [GL]: Default shader backend found: glsl. RetroArch [INFO] :: [Shader driver]: Using Cg shader backend. RetroArch [INFO] :: [CG]: Vertex profile: arbvp1 RetroArch [INFO] :: [CG]: Fragment profile: arbfp1 RetroArch [INFO] :: [CG]: Loading Cg meta-shader: C:\RETRO\shaders\presets\bsnes-mercury\Teenage Mutant Ninja Turtles IV - Turtles in Time (Australia).cgp RetroArch [INFO] :: [CG]: Loading Cg shader: “C:\RETRO\shaders\shaders_cg\stock.cg”. RetroArch [INFO] :: [CG]: Found semantic “POSITION” in prog #1. RetroArch [INFO] :: [CG]: Found semantic “COLOR” in prog #1. RetroArch [INFO] :: [CG]: Found semantic “TEXCOORD0” in prog #1. RetroArch [INFO] :: [CG]: Found semantic “POSITION” in prog #24. RetroArch [INFO] :: [CG]: Found semantic “COLOR” in prog #24. RetroArch [INFO] :: [CG]: Found semantic “TEXCOORD0” in prog #24. RetroArch [INFO] :: [CG]: Found semantic “POSITION” in prog #23. RetroArch [INFO] :: [CG]: Found semantic “COLOR” in prog #23. RetroArch [INFO] :: [CG]: Found semantic “TEXCOORD0” in prog #23. RetroArch [INFO] :: [CG]: Found semantic “POSITION” in prog #22. RetroArch [INFO] :: [CG]: Found semantic “COLOR” in prog #22. RetroArch [INFO] :: [CG]: Found semantic “TEXCOORD0” in prog #22. RetroArch [INFO] :: [GL]: Using 4 textures. RetroArch [INFO] :: [GL]: Loaded 1 program(s). RetroArch [INFO] :: Found XInput v1.4. RetroArch [INFO] :: Found XInput controller, user #0 RetroArch [INFO] :: Enumerating DInput joypads … RetroArch [INFO] :: Device #0 PID: {05C4} VID:{054C} RetroArch [INFO] :: [Autodetect]: 42 profiles found. RetroArch [INFO] :: Device #1 PID: {028E} VID:{045E} RetroArch [INFO] :: [Autodetect]: selected configuration: C:\RETRO\autoconfig\xinput\DUALSHOCK_4.cfg RetroArch [INFO] :: Done enumerating DInput joypads … RetroArch [INFO] :: [Joypad]: Found joypad driver: “xinput”. RetroArch [INFO] :: [Autodetect]: 42 profiles found. RetroArch [INFO] :: [Font]: Using font rendering backend: freetype. RetroArch [INFO] :: XAudio2: Requesting 64 ms latency, using 64 ms latency. RetroArch [INFO] :: [Autodetect]: selected configuration: C:\RETRO\autoconfig\xinput\XInput_Controller_User_1.cfg RetroArch [INFO] :: [Font]: Using font rendering backend: freetype. RetroArch [INFO] :: [Font]: Using font rendering backend: freetype. RetroArch [INFO] :: Disconnecting device from port 3. RetroArch [INFO] :: Loading history file: [C:\RETRO\content_history.lpl]. RetroArch [INFO] :: Loading history file: [C:\RETRO\content_music_history.lpl]. RetroArch [INFO] :: Loading history file: [C:\RETRO\content_video_history.lpl]. RetroArch [INFO] :: Loading history file: [C:\RETRO\content_image_history.lpl]. RetroArch [INFO] :: Paused. RetroArch [INFO] :: Unpaused. RetroArch [INFO] :: Found XInput v1.4. RetroArch [INFO] :: Found XInput v1.4. RetroArch [INFO] :: Enumerating DInput joypads … RetroArch [INFO] :: Done enumerating DInput joypads … RetroArch [INFO] :: [Joypad]: Found joypad driver: “dinput”. RetroArch [INFO] :: Found XInput v1.4. RetroArch [INFO] :: Found XInput v1.4. RetroArch [INFO] :: Enumerating DInput joypads … RetroArch [INFO] :: Done enumerating DInput joypads … RetroArch [INFO] :: [Joypad]: Found joypad driver: “dinput”.


Looks like it’s crashing on dinput stuff. Can you try going into settings > driver and changing the joypad driver from dinput to xinput (and if that doesn’t help, try sdl)

@hunterk thanks for the quick reply! I tried both drivers and it didn’t work. Just disabled the game pad.

UPDATE: I left Retroarch GUI running in GUI mode only (No ROM) and it crashed again.

Further Update:

I went to the ONLINE UPDATER and updated the ASSETS, AUTO CONFIG PROFILES, SHADERS

I deleted any system processes that were touch related.

No changes

I downloaded a debugger (GDB) and loaded retroarch_debugger through it to see what was causing the issues and quite suddenly I could get past 70k frames.

I quit GDB and loaded retroarch_debugger and it made it past 70k.

I loaded retroarch.exe and made past 70k.

I restarted my surface, assuming it had something to do with deleting the processes. Once I restarted I tested retroarch.exe and still made it past 70k.

So, this is where I am. I have no idea how I “fixed” the issue so if/when it happens again I wont know what to do. I cant repeat the error.

I will update if anything further happens worthy of note. Thanks for your time and patience!

I’m getting the error again. I ran the debugger and got the following issue:

RetroArch [INFO] :: Trying to write to playlist file: C:\RETRO\content_history.lpl [Thread 3796.0xf28 exited with code 0] [Thread 3796.0x136c exited with code 0] [Thread 3796.0x16b4 exited with code 0] [Thread 3796.0xf40 exited with code 0] [Thread 3796.0x17f4 exited with code 0]

Thread 22 received signal SIGSEGV, Segmentation fault. [Switching to Thread 3796.0x378] 0x00007ffc07122891 in ?? ()

Segmentation fault?

Looks like you’re using the executable with the debug symbols stripped out (hence the ??). Can you try to reproduce using the retroarch_debug.exe instead?

I was using that one?

These are the commands I used:

gdb retroarch_debug.exe run --menu --verbose

Should I alter this? (apologies for being a bit of a noob)

Using just the retroarch_debug.exe --menu --verbose

I get:

RetroArch [WARN] :: [GL debug (Medium, API, Performance)]: API_ID_RECOMPILE_FRAGMENT_SHADER performance warning has been generated. Fragment shader recompiled due to state change.

Before crash.

I feel so foolish.

I didn’t install the REDIST pack as I was following an online tutorial that didn’t mention it. Which will explain most of my errors.

So I installed the REDIST pack from libretro and Retroarch Version 1.5 and we’re stable past 1.5mil frames.

Thanks!

you dont actually need “redist” pack if you used the full Retroarch.7zip download. if you updated with only the nightlies (the retroarch with a date in filename) then you need the redist especially if updating from the older 1.3.6