[Ishiiruka core] WBFS Files crash RetroArch
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
When I open a WBFS file on retroarch(mac), the app crashes for nightly and stable. The app has problems because I tested 2 cores. Also, here's the problem report, for stable.
Translated Report (Full Report Below)
Process: RetroArch [93950]
Path: /Applications/RetroArch 3.app/Contents/MacOS/RetroArch
Identifier: com.libretro.RetroArch
Version: 1.14.0 (1.14.0)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-02-19 13:48:12.0900 -0800
OS Version: macOS 13.2 (22D49)
Report Version: 12
Anonymous UUID: AFA2DD3E-AC4C-CDA9-9B1A-2C5E15FA50C5
Sleep/Wake UUID: 10C1ECAB-F08F-496A-8D46-19AB2A4F9959
Time Awake Since Boot: 340000 seconds
Time Since Wake: 2344 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Video thread Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [93950]
VM Region Info: 0 is not in any region. Bytes before following region: 4342378496
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 102d37000-1033bb000 [ 6672K] r-x/r-x SM=COW ...cOS/RetroArch
Kernel Triage:
VM - pmap_enter retried due to resource shortage
Thread 0 Crashed:: Video thread Dispatch queue: com.apple.main-thread
0 ??? 0x0 ???
1 ishiiruka_libretro.dylib 0x12ef7ef65 OGL::SamplerCache::SamplerCache() + 181
2 ??? 0x0 ???
3 ishiiruka_libretro.dylib 0x12ed981b0 std::__1::__function::__func<Core::EmuThread()::$_6, std::__1::allocatorCore::EmuThread()::$_6, void ()>::~__func() + 16
4 ??? 0x841f0f ???
Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffccf614 0x7ff7ffccb000 + 17940
1 runtime 0x7ff7ffcdb530 0x7ff7ffccb000 + 66864
2 runtime 0x7ff7ffcdcf30 0x7ff7ffccb000 + 73520
Thread 2:
0 runtime 0x7ff7ffced87c 0x7ff7ffccb000 + 141436
Thread 3:
0 runtime 0x7ff7ffced87c 0x7ff7ffccb000 + 141436
Thread 4:
0 runtime 0x7ff7ffced87c 0x7ff7ffccb000 + 141436
Thread 5:
0 runtime 0x7ff7ffced87c 0x7ff7ffccb000 + 141436
Thread 6:
0 runtime 0x7ff7ffced87c 0x7ff7ffccb000 + 141436
Thread 7:: caulk.messenger.shared:17
0 ??? 0x7ff899c2a9a8 ???
1 libsystem_kernel.dylib 0x7ff80a88653e semaphore_wait_trap + 10
2 caulk 0x7ff81457c8f8 caulk::mach::semaphore::wait_or_error() + 16
3 caulk 0x7ff814562664 caulk::concurrent::details::worker_thread::run() + 36
4 caulk 0x7ff814562328 void* caulk::thread_proxy<std::__1::tuple<caulk:🧵:attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuplecaulk::concurrent::details::worker_thread* > >(void) + 41
5 libsystem_pthread.dylib 0x7ff80a8c5259 _pthread_start + 125
6 libsystem_pthread.dylib 0x7ff80a8c0c7b thread_start + 15
Thread 8:
0 runtime 0x7ff7ffced87c 0x7ff7ffccb000 + 141436
Thread 9:
0 runtime 0x7ff7ffced87c 0x7ff7ffccb000 + 141436
Thread 10:: com.apple.NSEventThread
0 ??? 0x7ff899c2a9a8 ???
1 libsystem_kernel.dylib 0x7ff80a8865c2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff80a894604 mach_msg2_internal + 82
3 libsystem_kernel.dylib 0x7ff80a88d635 mach_msg_overwrite + 723
4 libsystem_kernel.dylib 0x7ff80a8868a8 mach_msg + 19
5 CoreFoundation 0x7ff80a9a000b __CFRunLoopServiceMachPort + 145
6 CoreFoundation 0x7ff80a99ea64 __CFRunLoopRun + 1387
7 CoreFoundation 0x7ff80a99de7f CFRunLoopRunSpecific + 560
8 AppKit 0x7ff80db8a129 _NSEventThread + 132
9 libsystem_pthread.dylib 0x7ff80a8c5259 _pthread_start + 125
10 libsystem_pthread.dylib 0x7ff80a8c0c7b thread_start + 15
Thread 11:
0 runtime 0x7ff7ffced87c 0x7ff7ffccb000 + 141436
Thread 12:
0 ??? 0x7ff899c2a9a8 ???
1 libsystem_kernel.dylib 0x7ff80a88911a __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80a8c57e1 _pthread_cond_wait + 1243
3 RetroArch 0x102f8a22e 0x102d37000 + 2437678
4 RetroArch 0x102e8f9d9 0x102d37000 + 1411545
5 libsystem_pthread.dylib 0x7ff80a8c5259 _pthread_start + 125
6 libsystem_pthread.dylib 0x7ff80a8c0c7b thread_start + 15
Thread 13:: IOHIDManager Hotplug Thread
0 ??? 0x7ff899c2a9a8 ???
1 libsystem_kernel.dylib 0x7ff80a8865c2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff80a894604 mach_msg2_internal + 82
3 libsystem_kernel.dylib 0x7ff80a88d635 mach_msg_overwrite + 723
4 libsystem_kernel.dylib 0x7ff80a8868a8 mach_msg + 19
5 CoreFoundation 0x7ff80a9a000b __CFRunLoopServiceMachPort + 145
6 CoreFoundation 0x7ff80a99ea64 __CFRunLoopRun + 1387
7 CoreFoundation 0x7ff80a99de7f CFRunLoopRunSpecific + 560
8 ishiiruka_libretro.dylib 0x12f186feb void* std::__1::__thread_proxy<std::__1::tupleciface::OSX::Init(void*)::$_1 >(void*) + 219
9 libsystem_pthread.dylib 0x7ff80a8c0c7b thread_start + 15
Thread 14:: Wiimote Scanning Thread
0 ??? 0x7ff899c2a9a8 ???
1 libsystem_kernel.dylib 0x7ff80a88911a __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80a8c57e1 _pthread_cond_wait + 1243
3 libc++.1.dylib 0x7ff80a821cc3 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lockstd::__1::mutex&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 93
4 ishiiruka_libretro.dylib 0x12ee78e7e std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lockstd::__1::mutex&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 126
5 libsystem_pthread.dylib 0x7ff80a8c0c7b thread_start + 15
Thread 15:: com.apple.audio.IOThread.client
0 ??? 0x7ff899c2a9a8 ???
1 libsystem_kernel.dylib 0x7ff80a8865c2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff80a894604 mach_msg2_internal + 82
3 libsystem_kernel.dylib 0x7ff80a88d635 mach_msg_overwrite + 723
4 libsystem_kernel.dylib 0x7ff80a8868a8 mach_msg + 19
5 CoreAudio 0x7ff80cb2238d HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 111
6 CoreAudio 0x7ff80c9f55be HALC_ProxyIOContext::IOWorkLoop() + 4058
7 CoreAudio 0x7ff80c9f3fe4 invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 80
8 CoreAudio 0x7ff80cb82aa4 HALB_IOThread::Entry(void*) + 72
9 libsystem_pthread.dylib 0x7ff80a8c5259 _pthread_start + 125
10 libsystem_pthread.dylib 0x7ff80a8c0c7b thread_start + 15
Thread 16:: Memcard 0 flushing thread
0 ??? 0x7ff899c2a9a8 ???
1 libsystem_kernel.dylib 0x7ff80a88911a __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80a8c57e1 _pthread_cond_wait + 1243
3 libc++.1.dylib 0x7ff80a821c32 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 18
Thread 17:: org.libusb.device-hotplug
0 ??? 0x7ff899c2a9a8 ???
1 libsystem_kernel.dylib 0x7ff80a8865c2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff80a894604 mach_msg2_internal + 82
3 libsystem_kernel.dylib 0x7ff80a88d635 mach_msg_overwrite + 723
4 libsystem_kernel.dylib 0x7ff80a8868a8 mach_msg + 19
5 CoreFoundation 0x7ff80a9a000b __CFRunLoopServiceMachPort + 145
6 CoreFoundation 0x7ff80a99ea64 __CFRunLoopRun + 1387
7 CoreFoundation 0x7ff80a99de7f CFRunLoopRunSpecific + 560
8 CoreFoundation 0x7ff80aa220e5 CFRunLoopRun + 40
9 ishiiruka_libretro.dylib 0x12f2e8bbf darwin_event_thread_main + 351
10 libsystem_pthread.dylib 0x7ff80a8c0c7b thread_start + 15
Thread 18:: DVD thread
0 ??? 0x7ff899c2a9a8 ???
1 libsystem_kernel.dylib 0x7ff80a88911a __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80a8c57e1 _pthread_cond_wait + 1243
3 libc++.1.dylib 0x7ff80a821c32 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 18
4 ishiiruka_libretro.dylib 0x12ee321db DVDThread::DVDThread() + 123
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00007fe572848dc8 rbx: 0x00007fe572848dc0 rcx: 0x00007fe572848e20 rdx: 0xffffffffffffffe0
rdi: 0x0000000000000001 rsi: 0x00007fe572848e58 rbp: 0x000000030a4180c0 rsp: 0x000000030a417e88
r8: 0x00000000000044d5 r9: 0x000000000000044c r10: 0x00007fe572800000 r11: 0x00000000c01fffff
r12: 0x000000030a4181b0 r13: 0x00007fe563118000 r14: 0x000000012f9c4a20 r15: 0x000000012f8bd3e0
rip: 0x0000000000000000 rfl: 0x0000000000000202
tmp0: 0x0000000000000000 tmp1: 0x000000012ef7ef65 tmp2: 0x0000000130339518
Binary Images:
0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ???
0x12ed6e000 - 0x12f3dbfff ishiiruka_libretro.dylib () <0d120288-d125-3b4e-8560-b9629b3bde36> /Users/USER/Library/Application Support/RetroArch//ishiiruka_libretro.dylib
0x7ff7ffccb000 - 0x7ff7ffcfafff runtime () /usr/libexec/rosetta/runtime
0x7ff80a885000 - 0x7ff80a8beff7 libsystem_kernel.dylib () /usr/lib/system/libsystem_kernel.dylib
0x7ff814560000 - 0x7ff814585fff com.apple.audio.caulk (1.0) /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk
0x7ff80a8bf000 - 0x7ff80a8caff7 libsystem_pthread.dylib () <3bd433d4-15bd-3add-a612-95e4d3b20719> /usr/lib/system/libsystem_pthread.dylib
0x7ff80a921000 - 0x7ff80adb8fff com.apple.CoreFoundation (6.9) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7ff80d9eb000 - 0x7ff80e9f3ff2 com.apple.AppKit (6.9) <480a5693-f3e3-3b50-a1f3-169d12a12a0e> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x102d37000 - 0x1033bafff com.libretro.RetroArch (1.14.0) <1543b84a-1709-3456-95f3-79ac4cd14020> /Applications/RetroArch 3.app/Contents/MacOS/RetroArch
0x7ff80a816000 - 0x7ff80a86eff3 libc++.1.dylib (*) /usr/lib/libc++.1.dylib
0x7ff80c812000 - 0x7ff80cf30ff5 com.apple.audio.CoreAudio (5.0) <3b6e93dd-f8c6-338c-9251-5e750e091dd3> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=451.4M resident=0K(0%) swapped_out_or_unallocated=451.4M(100%)
Writable regions: Total=975.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=975.7M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 128K 1
Activity Tracing 256K 1
CG backing stores 2560K 4
CG image 76K 7
ColorSync 224K 25
CoreAnimation 92K 12
CoreGraphics 12K 2
CoreUI image data 1232K 9
Dispatch continuations 64.0M 1
Foundation 16K 1
Kernel Alloc Once 8K 1
MALLOC 211.2M 55
MALLOC guard page 192K 8
MALLOC_LARGE (reserved) 16.0M 1 reserved VM address space (unallocated)
MALLOC_MEDIUM (reserved) 80.0M 1 reserved VM address space (unallocated)
OpenGL GLSL 256K 3
Rosetta Arena 4096K 2
Rosetta Generic 1160K 287
Rosetta IndirectBranch 1024K 1
Rosetta JIT 128.0M 1
Rosetta Return Stack 340K 34
Rosetta Thread Context 340K 34
STACK GUARD 32K 8
Stack 16.7M 18
Stack Guard 56.1M 10
VM_ALLOCATE 150.2M 44
VM_ALLOCATE (reserved) 4008K 4 reserved VM address space (unallocated)
__CTF 756 1
__DATA 30.7M 358
__DATA_CONST 15.5M 215
__DATA_DIRTY 755K 115
__FONT_DATA 2352 1
__GLSLBUILTINS 5174K 1
__LINKEDIT 169.4M 15
__OBJC_RO 65.4M 1
__OBJC_RW 1987K 2
__TEXT 282.0M 379
dyld private memory 512K 2
mapped file 4.3G 1275
shared memory 273.1M 25
unshared pmap 13.9M 10
=========== ======= =======
TOTAL 5.8G 2975
TOTAL, minus reserved VM space 5.7G 2975
Full Report
{"app_name":"RetroArch","timestamp":"2023-02-19 13:48:12.00 -0800","app_version":"1.14.0","slice_uuid":"1543b84a-1709-3456-95f3-79ac4cd14020","build_version":"1.14.0","platform":1,"bundleID":"com.libretro.RetroArch","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.2 (22D49)","roots_installed":0,"name":"RetroArch","incident_id":"BC29A64E-C904-47DF-BE62-D93FF906CC26"}
{
"uptime" : 340000,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro17,1",
"coalitionID" : 34254,
"osVersion" : {
"train" : "macOS 13.2",
"build" : "22D49",
"releaseType" : "User"
},
"captureTime" : "2023-02-19 13:48:12.0900 -0800",
"incident" : "BC29A64E-C904-47DF-BE62-D93FF906CC26",
"pid" : 93950,
"translated" : true,
"cpuType" : "X86-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2023-02-19 13:47:59.4136 -0800",
"procStartAbsTime" : 8256300314298,
"procExitAbsTime" : 8256604216096,
"procName" : "RetroArch",
"procPath" : "/Applications/RetroArch 3.app/Contents/MacOS/RetroArch",
"bundleInfo" : {"CFBundleShortVersionString":"1.14.0","CFBundleVersion":"1.14.0","CFBundleIdentifier":"com.libretro.RetroArch"},
"storeInfo" : {"deviceIdentifierForVendor":"26045B06-6880-5D7B-BD2F-DC090E729734","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.libretro.RetroArch",
"crashReporterKey" : "AFA2DD3E-AC4C-CDA9-9B1A-2C5E15FA50C5",
"throttleTimeout" : 2147483647,
"wakeTime" : 2344,
"sleepWakeUUID" : "10C1ECAB-F08F-496A-8D46-19AB2A4F9959",
"sip" : "enabled",
"vmRegionInfo" : "0 is not in any region. Bytes before following region: 4342378496\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 102d37000-1033bb000 [ 6672K] r-x/r-x SM=COW ...cOS/RetroArch",
"exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":93950},
"ktriageinfo" : "VM - pmap_enter retried due to resource shortage\n",
"vmregioninfo" : "0 is not in any region. Bytes before following region: 4342378496\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 102d37000-1033bb000 [ 6672K] r-x/r-x SM=COW ...cOS/RetroArch",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":5721243,"threadState":{"r13":{"value":140623186329600},"rflags":{"value":514},"rax":{"value":140623445528008},"rosetta":{"tmp2":{"value":5103654168},"tmp1":{"value":5082967909},"tmp0":{"value":0}},"r14":{"value":5093739040,"symbolLocation":0,"symbol":"dolGenSamplers"},"rsi":{"value":140623445528152},"r8":{"value":17621},"rdx":{"value":18446744073709551584},"r10":{"value":140623445229568},"r9":{"value":1100},"r15":{"value":5092660192,"symbolLocation":0,"symbol":"g_renderer"},"rbx":{"value":140623445528000},"r11":{"value":3223322623},"rip":{"value":0},"rbp":{"value":13056966848},"rsp":{"value":13056966280},"r12":{"value":13056967088},"rcx":{"value":140623445528096},"flavor":"x86_THREAD_STATE","rdi":{"value":1}},"name":"Video thread","queue":"com.apple.main-thread","frames":[{"imageOffset":0,"imageIndex":0},{"imageOffset":2166629,"symbol":"OGL::SamplerCache::SamplerCache()","symbolLocation":181,"imageIndex":1},{"imageOffset":0,"imageIndex":0},{"imageOffset":172464,"symbol":"std::__1::__function::__func<Core::EmuThread()::$_6, std::__1::allocatorCore::EmuThread()::$_6, void ()>::~__func()","symbolLocation":16,"imageIndex":1},{"imageOffset":8658703,"imageIndex":0}]},{"id":5721246,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":17940,"imageIndex":2},{"imageOffset":66864,"imageIndex":2},{"imageOffset":73520,"imageIndex":2}]},{"id":5721272,"frames":[{"imageOffset":141436,"imageIndex":2}]},{"id":5721273,"frames":[{"imageOffset":141436,"imageIndex":2}]},{"id":5721274,"frames":[{"imageOffset":141436,"imageIndex":2}]},{"id":5721281,"frames":[{"imageOffset":141436,"imageIndex":2}]},{"id":5721283,"frames":[{"imageOffset":141436,"imageIndex":2}]},{"id":5721287,"name":"caulk.messenger.shared:17","frames":[{"imageOffset":140705708288424,"imageIndex":0},{"imageOffset":5438,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":3},{"imageOffset":116984,"symbol":"caulk::mach::semaphore::wait_or_error()","symbolLocation":16,"imageIndex":4},{"imageOffset":9828,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":36,"imageIndex":4},{"imageOffset":9000,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk:🧵:attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuplecaulk::concurrent::details::worker_thread* > >(void)","symbolLocation":41,"imageIndex":4},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":5721318,"frames":[{"imageOffset":141436,"imageIndex":2}]},{"id":5721319,"frames":[{"imageOffset":141436,"imageIndex":2}]},{"id":5721320,"name":"com.apple.NSEventThread","frames":[{"imageOffset":140705708288424,"imageIndex":0},{"imageOffset":5570,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":3},{"imageOffset":62980,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":3},{"imageOffset":34357,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":3},{"imageOffset":6312,"symbol":"mach_msg","symbolLocation":19,"imageIndex":3},{"imageOffset":520203,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":6},{"imageOffset":514660,"symbol":"__CFRunLoopRun","symbolLocation":1387,"imageIndex":6},{"imageOffset":511615,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":6},{"imageOffset":1700137,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":7},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":5721431,"frames":[{"imageOffset":141436,"imageIndex":2}]},{"id":5721607,"frames":[{"imageOffset":140705708288424,"imageIndex":0},{"imageOffset":16666,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":3},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":5},{"imageOffset":2437678,"imageIndex":8},{"imageOffset":1411545,"imageIndex":8},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":5721614,"name":"IOHIDManager Hotplug Thread","frames":[{"imageOffset":140705708288424,"imageIndex":0},{"imageOffset":5570,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":3},{"imageOffset":62980,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":3},{"imageOffset":34357,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":3},{"imageOffset":6312,"symbol":"mach_msg","symbolLocation":19,"imageIndex":3},{"imageOffset":520203,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":6},{"imageOffset":514660,"symbol":"__CFRunLoopRun","symbolLocation":1387,"imageIndex":6},{"imageOffset":511615,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":6},{"imageOffset":4296683,"symbol":"void* std::__1::__thread_proxy<std::__1::tupleciface::OSX::Init(void*)::$_1 >(void*)","symbolLocation":219,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":5721615,"name":"Wiimote Scanning Thread","frames":[{"imageOffset":140705708288424,"imageIndex":0},{"imageOffset":16666,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":3},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":5},{"imageOffset":48323,"symbol":"std::__1::condition_variable::__do_timed_wait(std::__1::unique_lockstd::__1::mutex&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >)","symbolLocation":93,"imageIndex":9},{"imageOffset":1093246,"symbol":"std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lockstd::__1::mutex&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&)","symbolLocation":126,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":5721618,"name":"com.apple.audio.IOThread.client","frames":[{"imageOffset":140705708288424,"imageIndex":0},{"imageOffset":5570,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":3},{"imageOffset":62980,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":3},{"imageOffset":34357,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":3},{"imageOffset":6312,"symbol":"mach_msg","symbolLocation":19,"imageIndex":3},{"imageOffset":3212173,"symbol":"HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int)","symbolLocation":111,"imageIndex":10},{"imageOffset":1979838,"symbol":"HALC_ProxyIOContext::IOWorkLoop()","symbolLocation":4058,"imageIndex":10},{"imageOffset":1974244,"symbol":"invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int)","symbolLocation":80,"imageIndex":10},{"imageOffset":3607204,"symbol":"HALB_IOThread::Entry(void*)","symbolLocation":72,"imageIndex":10},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":5721696,"name":"Memcard 0 flushing thread","frames":[{"imageOffset":140705708288424,"imageIndex":0},{"imageOffset":16666,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":3},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":5},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)","symbolLocation":18,"imageIndex":9}]},{"id":5721703,"name":"org.libusb.device-hotplug","frames":[{"imageOffset":140705708288424,"imageIndex":0},{"imageOffset":5570,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":3},{"imageOffset":62980,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":3},{"imageOffset":34357,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":3},{"imageOffset":6312,"symbol":"mach_msg","symbolLocation":19,"imageIndex":3},{"imageOffset":520203,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":6},{"imageOffset":514660,"symbol":"__CFRunLoopRun","symbolLocation":1387,"imageIndex":6},{"imageOffset":511615,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":6},{"imageOffset":1052901,"symbol":"CFRunLoopRun","symbolLocation":40,"imageIndex":6},{"imageOffset":5745599,"symbol":"darwin_event_thread_main","symbolLocation":351,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":5721705,"name":"DVD thread","frames":[{"imageOffset":140705708288424,"imageIndex":0},{"imageOffset":16666,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":3},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":5},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)","symbolLocation":18,"imageIndex":9},{"imageOffset":803291,"symbol":"DVDThread::DVDThread()","symbolLocation":123,"imageIndex":1}]}],
"usedImages" : [
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 5080801280,
"size" : 6742016,
"uuid" : "0d120288-d125-3b4e-8560-b9629b3bde36",
"path" : "/Users/USER/Library/Application Support/RetroArch/*/ishiiruka_libretro.dylib",
"name" : "ishiiruka_libretro.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 140703125254144,
"size" : 196608,
"uuid" : "f066db2c-ed38-3f37-8d21-81d15fa908fe",
"path" : "/usr/libexec/rosetta/runtime",
"name" : "runtime"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703305322496,
"size" : 237560,
"uuid" : "ca136b67-0559-3f19-8b7e-9b80438090b6",
"path" : "/usr/lib/system/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703469797376,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.audio.caulk",
"size" : 155648,
"uuid" : "bf7582bd-4de0-3ca2-8b69-f1944725f182",
"path" : "/System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk",
"name" : "caulk"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703305560064,
"size" : 49144,
"uuid" : "3bd433d4-15bd-3add-a612-95e4d3b20719",
"path" : "/usr/lib/system/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703305961472,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 4816896,
"uuid" : "be859dcd-e5ee-3aab-97e4-13231468695f",
"path" : "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1953.300"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703357120512,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.AppKit",
"size" : 16814067,
"uuid" : "480a5693-f3e3-3b50-a1f3-169d12a12a0e",
"path" : "/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit",
"name" : "AppKit",
"CFBundleVersion" : "2299.40.116"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4342378496,
"CFBundleShortVersionString" : "1.14.0",
"CFBundleIdentifier" : "com.libretro.RetroArch",
"size" : 6832128,
"uuid" : "1543b84a-1709-3456-95f3-79ac4cd14020",
"path" : "/Applications/RetroArch 3.app/Contents/MacOS/RetroArch",
"name" : "RetroArch",
"CFBundleVersion" : "1.14.0"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703304867840,
"size" : 364532,
"uuid" : "b8339fb2-cbae-3d84-b080-bd19ddb2981c",
"path" : "/usr/lib/libc++.1.dylib",
"name" : "libc++.1.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703338405888,
"CFBundleShortVersionString" : "5.0",
"CFBundleIdentifier" : "com.apple.audio.CoreAudio",
"size" : 7466998,
"uuid" : "3b6e93dd-f8c6-338c-9251-5e750e091dd3",
"path" : "/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio",
"name" : "CoreAudio",
"CFBundleVersion" : "5.0"
}
],
"sharedCache" : {
"base" : 140703301599232,
"size" : 21474836480,
"uuid" : "efc722b9-b3df-3d27-9a7b-c4acaf125abb"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=451.4M resident=0K(0%) swapped_out_or_unallocated=451.4M(100%)\nWritable regions: Total=975.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=975.7M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 128K 1 \nActivity Tracing 256K 1 \nCG backing stores 2560K 4 \nCG image 76K 7 \nColorSync 224K 25 \nCoreAnimation 92K 12 \nCoreGraphics 12K 2 \nCoreUI image data 1232K 9 \nDispatch continuations 64.0M 1 \nFoundation 16K 1 \nKernel Alloc Once 8K 1 \nMALLOC 211.2M 55 \nMALLOC guard page 192K 8 \nMALLOC_LARGE (reserved) 16.0M 1 reserved VM address space (unallocated)\nMALLOC_MEDIUM (reserved) 80.0M 1 reserved VM address space (unallocated)\nOpenGL GLSL 256K 3 \nRosetta Arena 4096K 2 \nRosetta Generic 1160K 287 \nRosetta IndirectBranch 1024K 1 \nRosetta JIT 128.0M 1 \nRosetta Return Stack 340K 34 \nRosetta Thread Context 340K 34 \nSTACK GUARD 32K 8 \nStack 16.7M 18 \nStack Guard 56.1M 10 \nVM_ALLOCATE 150.2M 44 \nVM_ALLOCATE (reserved) 4008K 4 reserved VM address space (unallocated)\n__CTF 756 1 \n__DATA 30.7M 358 \n__DATA_CONST 15.5M 215 \n__DATA_DIRTY 755K 115 \n__FONT_DATA 2352 1 \n__GLSLBUILTINS 5174K 1 \n__LINKEDIT 169.4M 15 \n__OBJC_RO 65.4M 1 \n__OBJC_RW 1987K 2 \n__TEXT 282.0M 379 \ndyld private memory 512K 2 \nmapped file 4.3G 1275 \nshared memory 273.1M 25 \nunshared pmap 13.9M 10 \n=========== ======= ======= \nTOTAL 5.8G 2975 \nTOTAL, minus reserved VM space 5.7G 2975 \n",
"legacyInfo" : {
"threadTriggered" : {
"name" : "Video thread",
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "63a0a6cfd1cdb67d083006d0",
"factorPackIds" : {
},
"deploymentId" : 240000003
},
{
"rolloutId" : "61fd92db295c182621ececc3",
"factorPackIds" : {
"SIRI_DIALOG_ASSETS" : "63dbc36200e2ba41eba0f38a"
},
"deploymentId" : 240000324
}
],
"experiments" : [
]
}
}
Model: MacBookPro17,1, BootROM 8419.80.7, proc 8:4:4 processors, 16 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: LPDDR4, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Nov 30 2022 03:35:43 version 18.20.379.9.7.8.145 FWID 01-9578a936
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB3.1 Hub
USB Device: USB2.0 Hub
USB Device: XBOX ACC
USB Device: USB-C Digital AV Multiport Adapter
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the WBFS launch crash on macOS with the Ishiiruka core in RetroArch. Use the crash report's ishiiruka_libretro.dylib stack, especially OGL::SamplerCache::SamplerCache(), as the initial investigation point. Done means WBFS files no longer crash RetroArch in the affected stable and nightly configurations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100