Open gingerbeardman opened 3 years ago
Solution: trash the Fortress.srm file
Here is the offending file: Fortress.srm.zip
I can't seem to reproduce this either with my own copy or with your provided save, Are you sure the actual D88 game file wasn't accidentally modified?
Yes, I'm sure the D88 file wasn't modified.
Game: Fortress フォートレス
Problem
I believe there is a problem with .srm handling which results in the game crashing and then not being able to restart until the offending .srm is removed.
Reproduce
Expected
Actual
Setup
1.9.7 with QUASI88 0.6.4
Crash Reports
Crash Dump
Details
Process: RetroArch [5940] Path: /Applications/RetroArch.app/Contents/MacOS/RetroArch Identifier: libretro.RetroArch Version: 1.9.7 (1.9.7) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: RetroArch [5940] User ID: 501 Date/Time: 2021-08-12 01:58:38.642 +0100 OS Version: macOS 11.5.1 (20G80) Report Version: 12 Bridge OS Version: 5.5 (18P4759a) Anonymous UUID: 79BC9B93-EBFD-DCDA-C6A1-CA4356DD4E23 Sleep/Wake UUID: 470B9684-6E31-468E-A105-24AE72EBCBC5 Time Awake Since Boot: 340000 seconds Time Since Wake: 14000 seconds System Integrity Protection: disabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: stack buffer overflow Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff202f292e __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff203215bd pthread_kill + 263 2 libsystem_c.dylib 0x00007fff202764a0 __abort + 139 3 libsystem_c.dylib 0x00007fff20250969 __stack_chk_fail + 100 4 quasi88_libretro.dylib 0x00000001253d4e95 disk_now_sec + 293 5 quasi88_libretro.dylib 0x00000001253d1a30 disk_now_track + 272 6 quasi88_libretro.dylib 0x00000001253d10e1 disk_change_image + 369 7 quasi88_libretro.dylib 0x00000001253d16a1 disk_insert + 977 8 quasi88_libretro.dylib 0x00000001253bfb55 quasi88_disk_insert + 69 9 quasi88_libretro.dylib 0x000000012543ab7c retro_load_game + 92 10 libretro.RetroArch 0x000000010ea85caa 0x10e7e9000 + 2739370 11 libretro.RetroArch 0x000000010ebf763c 0x10e7e9000 + 4253244 12 libretro.RetroArch 0x000000010eb40f02 0x10e7e9000 + 3505922 13 libretro.RetroArch 0x000000010ebea1cf 0x10e7e9000 + 4198863 14 libretro.RetroArch 0x000000010ea06c94 0x10e7e9000 + 2219156 15 libretro.RetroArch 0x000000010ea7e08b 0x10e7e9000 + 2707595 16 libretro.RetroArch 0x000000010eb3f665 0x10e7e9000 + 3499621 17 libretro.RetroArch 0x000000010eb40170 0x10e7e9000 + 3502448 18 libretro.RetroArch 0x000000010ec27956 0x10e7e9000 + 4450646 19 libretro.RetroArch 0x000000010ea671cc 0x10e7e9000 + 2613708 20 libretro.RetroArch 0x000000010eb98750 0x10e7e9000 + 3864400 21 libretro.RetroArch 0x000000010ea82605 0x10e7e9000 + 2725381 22 libretro.RetroArch 0x000000010ea7f7c5 0x10e7e9000 + 2713541 23 libretro.RetroArch 0x000000010e9eb090 0x10e7e9000 + 2105488 24 com.apple.Foundation 0x00007fff211c8b81 __NSThreadPerformPerform + 204 25 com.apple.CoreFoundation 0x00007fff2041a94c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 26 com.apple.CoreFoundation 0x00007fff2041a8b4 __CFRunLoopDoSource0 + 180 27 com.apple.CoreFoundation 0x00007fff2041a634 __CFRunLoopDoSources0 + 242 28 com.apple.CoreFoundation 0x00007fff2041905c __CFRunLoopRun + 893 29 com.apple.CoreFoundation 0x00007fff2041861c CFRunLoopRunSpecific + 563 30 com.apple.HIToolbox 0x00007fff2865da83 RunCurrentEventLoopInMode + 292 31 com.apple.HIToolbox 0x00007fff2865d6b6 ReceiveNextEventCommon + 284 32 com.apple.HIToolbox 0x00007fff2865d583 _BlockUntilNextEventMatchingListInModeWithFilter + 70 33 com.apple.AppKit 0x00007fff22c1f502 _DPSNextEvent + 864 34 com.apple.AppKit 0x00007fff22c1dcd5 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364 35 com.apple.AppKit 0x00007fff22c10049 -[NSApplication run] + 586 36 com.apple.AppKit 0x00007fff22be424c NSApplicationMain + 816 37 libdyld.dylib 0x00007fff2033cf3d start + 1 Thread 1: 0 libsystem_pthread.dylib 0x00007fff2031d420 start_wqthread + 0 Thread 2:: Dispatch queue: com.Metal.CommandQueueDispatch 0 libsystem_kernel.dylib 0x00007fff202ec2f6 semaphore_wait_trap + 10 1 libdispatch.dylib 0x00007fff20177c9b _dispatch_sema4_wait + 16 2 libdispatch.dylib 0x00007fff2017816d _dispatch_semaphore_wait_slow + 98 3 com.apple.Metal 0x00007fff282c4bb5 -[_MTLCommandQueue _submitAvailableCommandBuffers] + 908 4 libdispatch.dylib 0x00007fff20177806 _dispatch_client_callout + 8 5 libdispatch.dylib 0x00007fff2017a1b0 _dispatch_continuation_pop + 423 6 libdispatch.dylib 0x00007fff2018a564 _dispatch_source_invoke + 2061 7 libdispatch.dylib 0x00007fff2017d493 _dispatch_lane_serial_drain + 263 8 libdispatch.dylib 0x00007fff2017e0ad _dispatch_lane_invoke + 366 9 libdispatch.dylib 0x00007fff20187c0d _dispatch_workloop_worker_thread + 811 10 libsystem_pthread.dylib 0x00007fff2031e45d _pthread_wqthread + 314 11 libsystem_pthread.dylib 0x00007fff2031d42f start_wqthread + 15 Thread 3: 0 libsystem_pthread.dylib 0x00007fff2031d420 start_wqthread + 0 Thread 4: 0 libsystem_pthread.dylib 0x00007fff2031d420 start_wqthread + 0 Thread 5: 0 libsystem_pthread.dylib 0x00007fff2031d420 start_wqthread + 0 Thread 6: 0 libsystem_pthread.dylib 0x00007fff2031d420 start_wqthread + 0 Thread 7: 0 libsystem_pthread.dylib 0x00007fff2031d420 start_wqthread + 0 Thread 8:: AMCP Logging Spool 0 libsystem_kernel.dylib 0x00007fff202ec2f6 semaphore_wait_trap + 10 1 com.apple.audio.caulk 0x00007fff283dd8da caulk::mach::semaphore::wait_or_error() + 16 2 com.apple.audio.caulk 0x00007fff283ca836 caulk::semaphore::timed_wait(double) + 110 3 com.apple.audio.caulk 0x00007fff283ca784 caulk::concurrent::details::worker_thread::run() + 30 4 com.apple.audio.caulk 0x00007fff283ca502 void* caulk::thread_proxyVerbose Log
Details
❯ ./RetroArch --verbose [INFO] RetroArch 1.9.7 (Git GIT_VERSION) [INFO] === Build ======================================= [INFO] CPU Model Name: Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2 [INFO] Built: Jul 25 2021 [INFO] Version: 1.9.7 [INFO] Git: GIT_VERSION [INFO] ================================================= [ERROR] Couldn't find any video driver named "gl" [INFO] Available video drivers are: [INFO] metal [INFO] null [WARN] Going to default to first video driver... [INFO] [Input]: Found input driver: "cocoa". [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Video @ 960x720 [ERROR] Couldn't find any video driver named "gl" [INFO] Available video drivers are: [INFO] metal [INFO] null [WARN] Going to default to first video driver... 2021-08-12 02:01:14.505 RetroArch[7087:9149952] mtkView drawableSizeWillChange to: 1918.000000 x 1440.000000 2021-08-12 02:01:14.505 RetroArch[7087:9149952] mtkView drawableSizeWillChange to: 1920.000000 x 1440.000000 [INFO] [Font]: Using font rendering backend: bitmap. [INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver. [INFO] [Input]: Found HID driver: "iohidmanager". [INFO] [Joypad]: Found joypad driver: "hid". [INFO] [Video]: Found display server: null [INFO] [CoreAudio]: Using output sample rate of 48000.0 Hz [INFO] [CoreAudio]: Using buffer size of 24576 bytes: (latency = 64 ms) [INFO] [Display]: Found display driver: "gfx_display_metal". [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [SRAM]: SRAM will not be saved. [INFO] [Playlist]: Loading history file: [/Volumes/External/Users/matt/Library/Application Support/RetroArch/config/content_history.lpl]. [INFO] [Playlist]: Loading history file: [/Volumes/External/Users/matt/Library/Application Support/RetroArch/config/content_music_history.lpl]. [INFO] [Playlist]: Loading history file: [/Volumes/External/Users/matt/Library/Application Support/RetroArch/config/content_image_history.lpl]. [INFO] [Playlist]: Loading favorites file: [/Volumes/External/Users/matt/Library/Application Support/RetroArch/config/content_favorites.lpl]. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Environ]: SET_SUBSYSTEM_INFO. [INFO] [CONTENT LOAD]: Updating firmware status for: /Volumes/External/Users/matt/Library/Application Support/RetroArch/cores/quasi88_libretro.dylib on /Volumes/External/Users/matt/Documents/RetroArch/system [INFO] [CORE]: Using content: /Volumes/External/Users/matt/Downloads/2021-08-12/Fortress.d88. [INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [INFO] [Core]: Unloading core.. [INFO] [Core]: Unloading core symbols.. [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames. [INFO] RetroArch 1.9.7 (Git GIT_VERSION) [INFO] === Build ======================================= [INFO] CPU Model Name: Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2 [INFO] Built: Jul 25 2021 [INFO] Version: 1.9.7 [INFO] Git: GIT_VERSION [INFO] ================================================= [ERROR] Couldn't find any video driver named "gl" [INFO] Available video drivers are: [INFO] metal [INFO] null [WARN] Going to default to first video driver... [INFO] [Input]: Found input driver: "cocoa". [INFO] [Core]: Loading dynamic libretro core from: "/Volumes/External/Users/matt/Library/Application Support/RetroArch/cores/quasi88_libretro.dylib" [INFO] [Overrides]: No core-specific overrides found at "/Volumes/External/Users/matt/Library/Application Support/RetroArch/config/QUASI88/QUASI88.cfg". [INFO] [Overrides]: No content-dir-specific overrides found at "/Volumes/External/Users/matt/Library/Application Support/RetroArch/config/QUASI88/2021-08-12.cfg". [INFO] [Overrides]: No game-specific overrides found at "/Volumes/External/Users/matt/Library/Application Support/RetroArch/config/QUASI88/Fortress.cfg". [INFO] [Environ]: SET_CONTROLLER_INFO. [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] [Environ]: SET_SUPPORT_NO_GAME: yes. [INFO] [Environ]: GET_CORE_OPTIONS_VERSION. [INFO] [Environ]: GET_LANGUAGE: "0". [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL. [INFO] [Remaps]: Remap directory: "/Volumes/External/Users/matt/Library/Application Support/RetroArch/config/remaps". [INFO] [Overrides]: Redirecting save file to "/Volumes/External/Users/matt/Documents/RetroArch/saves/Fortress.srm". [INFO] [Overrides]: Redirecting save state to "/Volumes/External/Users/matt/Documents/RetroArch/states/Fortress.state". [INFO] [Environ]: GET_RUMBLE_INTERFACE. [INFO] [Environ]: GET_LOG_INTERFACE. [INFO] [Environ]: SYSTEM_DIRECTORY: "/Volumes/External/Users/matt/Documents/RetroArch/system". [INFO] [Environ]: CORE_ASSETS_DIRECTORY: "/Volumes/External/Users/matt/Downloads". [libretro INFO] [QUASI88]: Loaded /Volumes/External/Users/matt/Documents/RetroArch/system/quasi88/N88.ROM (0x00008000) [libretro ERROR] [QUASI88]: Couldn't find N88SUB.ROM [libretro ERROR] [QUASI88]: Couldn't find n88sub.rom [libretro INFO] [QUASI88]: Loaded /Volumes/External/Users/matt/Documents/RetroArch/system/quasi88/DISK.ROM (0x00000800) [libretro ERROR] [QUASI88]: Couldn't find N88EXT0.ROM [libretro ERROR] [QUASI88]: Couldn't find n88ext0.rom [libretro INFO] [QUASI88]: Loaded /Volumes/External/Users/matt/Documents/RetroArch/system/quasi88/N88_0.ROM (0x00002000) [libretro ERROR] [QUASI88]: Couldn't find N88EXT1.ROM [libretro ERROR] [QUASI88]: Couldn't find n88ext1.rom [libretro INFO] [QUASI88]: Loaded /Volumes/External/Users/matt/Documents/RetroArch/system/quasi88/N88_1.ROM (0x00002000) [libretro ERROR] [QUASI88]: Couldn't find N88EXT2.ROM [libretro ERROR] [QUASI88]: Couldn't find n88ext2.rom [libretro INFO] [QUASI88]: Loaded /Volumes/External/Users/matt/Documents/RetroArch/system/quasi88/N88_2.ROM (0x00002000) [libretro ERROR] [QUASI88]: Couldn't find N88EXT3.ROM [libretro ERROR] [QUASI88]: Couldn't find n88ext3.rom [libretro INFO] [QUASI88]: Loaded /Volumes/External/Users/matt/Documents/RetroArch/system/quasi88/N88_3.ROM (0x00002000) [libretro INFO] [QUASI88]: Loaded /Volumes/External/Users/matt/Documents/RetroArch/system/quasi88/N88N.ROM (0x00008000) [libretro INFO] [QUASI88]: Loaded /Volumes/External/Users/matt/Documents/RetroArch/system/quasi88/N88KNJ1.ROM (0x00020000) [libretro ERROR] [QUASI88]: Couldn't find N88KNJ2.ROM [libretro ERROR] [QUASI88]: Couldn't find n88knj2.rom [libretro ERROR] [QUASI88]: Couldn't find KANJI2.ROM [libretro ERROR] [QUASI88]: Couldn't find kanji2.rom [libretro ERROR] [QUASI88]: Couldn't find N88JISHO.ROM [libretro ERROR] [QUASI88]: Couldn't find n88jisho.rom [libretro ERROR] [QUASI88]: Couldn't find JISYO.ROM [libretro ERROR] [QUASI88]: Couldn't find jisyo.rom [libretro ERROR] [QUASI88]: Couldn't find FONT.ROM [libretro ERROR] [QUASI88]: Couldn't find font.rom [libretro ERROR] [QUASI88]: Couldn't find FONT2.ROM [libretro ERROR] [QUASI88]: Couldn't find font2.rom [libretro ERROR] [QUASI88]: Couldn't find FONT3.ROM [libretro ERROR] [QUASI88]: Couldn't find font3.rom [INFO] [Environ]: GET_SAVE_DIRECTORY. [INFO] [Environ]: SET_INPUT_DESCRIPTORS: [INFO] [CONTENT LOAD]: Loading content file: /Volumes/External/Users/matt/Downloads/2021-08-12/Fortress.d88 [INFO] Did not find a valid content patch.