NSInvalidArgumentException crash in NowPlayingInfoManager.updateInfo #3584
Description
System and IINA version:
- macOS 12.0.1
- IINA 1.2.0
Expected behavior:
Don't crash!
Actual behavior:
Crash due to NSInvalidArgumentException.
Crash report:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: IINA [86481]
Path: /Users/USER/Library/Developer/Xcode/DerivedData/iina-echacgeisxgbwucwumppkhklmnkd/Build/Products/Debug/IINA.app/Contents/MacOS/IINA
Identifier: com.colliderli.iina
Version: 1.2.0 (129)
Code Type: ARM-64 (Native)
Parent Process: iina-cli [86480]
Responsible: Terminal [478]
User ID: 503
Date/Time: 2021-12-19 21:08:15.3200 -0500
OS Version: macOS 12.0.1 (21A559)
Report Version: 12
Anonymous UUID: C8F97525-3322-572C-B9CE-A91EB243AC3C
Sleep/Wake UUID: 23617EDB-427A-47FB-A53D-40ECFF05C076
Time Awake Since Boot: 450000 seconds
Time Since Wake: 3311 seconds
System Integrity Protection: enabled
Crashed Thread: 10 Dispatch queue: com.colliderli.iina.controller
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTaggedPointerString count]: unrecognized selector sent to instance 0x8000000000000000'
abort() called
terminating with uncaught exception of type NSException
Application Specific Backtrace 0:
0 CoreFoundation 0x000000019f33012c __exceptionPreprocess + 240
1 libobjc.A.dylib 0x000000019f081808 objc_exception_throw + 60
2 CoreFoundation 0x000000019f3c3100 -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x000000019f2902c0 ___forwarding___ + 1728
4 CoreFoundation 0x000000019f28fb40 _CF_forwarding_prep_0 + 96
5 libswiftCore.dylib 0x00000001ac2ef914 $sSD8_VariantV8setValue_6forKeyyq_n_xtF + 100
6 libswiftCore.dylib 0x00000001ac577a44 $sSDyq_SgxcisTf4ngn_n + 456
7 libswiftCore.dylib 0x00000001ac2a4884 $sSDyq_Sgxcis + 32
8 IINA 0x0000000100c451bc $s4IINA21NowPlayingInfoManagerC06updateD09withTitleySb_tFZ + 1840
9 IINA 0x0000000100c4471c $s4IINA10PlayerCoreC11fileStartedyyF + 2392
10 IINA 0x0000000100c826ec $s4IINA13MPVControllerC11handleEvent33_AA8C985EFDB89116DD68AB87EEE66A73LLyySPySo9mpv_eventVGSgF + 4280
11 IINA 0x0000000100c81620 $s4IINA13MPVControllerC10readEvents33_AA8C985EFDB89116DD68AB87EEE66A73LLyyFyycfU_ + 360
12 IINA 0x0000000100947fb8 $sIeg_IeyB_TR + 48
13 libdispatch.dylib 0x000000019f024e60 _dispatch_call_block_and_release + 32
14 libdispatch.dylib 0x000000019f026bac _dispatch_client_callout + 20
15 libdispatch.dylib 0x000000019f02e330 _dispatch_lane_serial_drain + 672
16 libdispatch.dylib 0x000000019f02eea4 _dispatch_lane_invoke + 392
17 libdispatch.dylib 0x000000019f039708 _dispatch_workloop_worker_thread + 656
18 libsystem_pthread.dylib 0x000000019f1e15b0 _pthread_wqthread + 288
19 libsystem_pthread.dylib 0x000000019f1e02c4 start_wqthread + 8
Thread 0:: Dispatch queue: com.apple.main-thread
0 LaunchServices 0x19f943880 DYLD-STUB$$std::__1::locale::~locale() + 8
1 LaunchServices 0x19f776bdc std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::__put_character_sequence<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*, unsigned long) + 208
2 LaunchServices 0x19f7758fc asString(void const*) + 172
3 LaunchServices 0x19f775bcc asString(void const*) + 892
4 LaunchServices 0x19f7759a4 asString(void const*) + 340
5 LaunchServices 0x19f775c14 asString(void const*) + 964
6 LaunchServices 0x19f91dec8 copyApplicationInformationDictionaryGivenASNUsingLocalCache(__LSSharedMemoryPage const*, __LSASN const*) + 1376
7 LaunchServices 0x19f77aef0 _LSCopyApplicationInformation + 816
8 AppKit 0x1a1e00fa0 -[NSRunningApplication _fetchDynamicProperties] + 484
9 AppKit 0x1a1e00a4c -[NSRunningApplication activationPolicy] + 60
10 AppKit 0x1a1f6d570 -[NSApplication _switchToSpaceIfNeeded] + 32
11 AppKit 0x1a1fa7cac -[NSApplication _orderWindowsAndSwitchToSpaceIfNeeded] + 120
12 AppKit 0x1a1fa1754 -[NSApplication _handleActivatedEvent:] + 1568
13 AppKit 0x1a1f731d0 -[NSApplication(NSEvent) sendEvent:] + 3268
14 AppKit 0x1a222b588 -[NSApplication _handleEvent:] + 76
15 AppKit 0x1a1df43d8 -[NSApplication run] + 636
16 AppKit 0x1a1dc5a84 NSApplicationMain + 1064
17 IINA 0x100ad2b68 main + 12 (AppDelegate.swift:22)
18 dyld 0x1016e90f4 start + 520
Thread 1:
0 libsystem_pthread.dylib 0x19f1e02bc start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x19f1e02bc start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x19f1e02bc start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x19f1e02bc start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x19f1e02bc start_wqthread + 0
Thread 6:: Dispatch queue: com.apple.root.default-qos
0 libsystem_kernel.dylib 0x19f1a9954 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x19f1a9d00 mach_msg + 76
2 libdispatch.dylib 0x19f041a4c _dispatch_mach_send_and_wait_for_reply + 520
3 libdispatch.dylib 0x19f041dfc dispatch_mach_send_with_result_and_wait_for_reply + 56
4 libxpc.dylib 0x19ef35f50 xpc_connection_send_message_with_reply_sync + 264
5 CoreFoundation 0x19f264114 __104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke_2 + 40
6 CoreFoundation 0x19f263cfc -[_CFXPreferences withConnectionForRole:performBlock:] + 52
7 CoreFoundation 0x19f263ca0 __104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke + 140
8 libdispatch.dylib 0x19f026bec _dispatch_client_callout2 + 20
9 libdispatch.dylib 0x19f03a3c4 _dispatch_apply_invoke + 224
10 libdispatch.dylib 0x19f026bac _dispatch_client_callout + 20
11 libdispatch.dylib 0x19f03843c _dispatch_root_queue_drain + 684
12 libdispatch.dylib 0x19f038b58 _dispatch_worker_thread2 + 164
13 libsystem_pthread.dylib 0x19f1e1574 _pthread_wqthread + 228
14 libsystem_pthread.dylib 0x19f1e02c4 start_wqthread + 8
Thread 7:
0 libsystem_pthread.dylib 0x19f1e02bc start_wqthread + 0
Thread 8:
0 libsystem_pthread.dylib 0x19f1e02bc start_wqthread + 0
Thread 9:
0 libsystem_pthread.dylib 0x19f1e02bc start_wqthread + 0
Thread 10 Crashed:: Dispatch queue: com.colliderli.iina.controller
0 libsystem_kernel.dylib 0x19f1b19b8 __pthread_kill + 8
1 libsystem_pthread.dylib 0x19f1e515c pthread_kill + 288
2 libsystem_c.dylib 0x19f122314 abort + 164
3 libc++abi.dylib 0x19f1a1b50 abort_message + 132
4 libc++abi.dylib 0x19f192f64 demangling_terminate_handler() + 332
5 libobjc.A.dylib 0x19f08a1a0 _objc_terminate() + 144
6 libc++abi.dylib 0x19f1a0ee4 std::__terminate(void (*)()) + 20
7 libc++abi.dylib 0x19f1a0e80 std::terminate() + 64
8 libdispatch.dylib 0x19f026bc0 _dispatch_client_callout + 40
9 libdispatch.dylib 0x19f02e330 _dispatch_lane_serial_drain + 672
10 libdispatch.dylib 0x19f02eea4 _dispatch_lane_invoke + 392
11 libdispatch.dylib 0x19f039708 _dispatch_workloop_worker_thread + 656
12 libsystem_pthread.dylib 0x19f1e15b0 _pthread_wqthread + 288
13 libsystem_pthread.dylib 0x19f1e02c4 start_wqthread + 8
Thread 11:: mpv/mpv core Dispatch queue: com.apple.root.default-qos
0 libsystem_kernel.dylib 0x19f1a9954 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x19f1a9d00 mach_msg + 76
2 libdispatch.dylib 0x19f041a4c _dispatch_mach_send_and_wait_for_reply + 520
3 libdispatch.dylib 0x19f041dfc dispatch_mach_send_with_result_and_wait_for_reply + 56
4 libxpc.dylib 0x19ef35f50 xpc_connection_send_message_with_reply_sync + 264
5 CoreFoundation 0x19f264114 __104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke_2 + 40
6 CoreFoundation 0x19f263cfc -[_CFXPreferences withConnectionForRole:performBlock:] + 52
7 CoreFoundation 0x19f263ca0 __104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke + 140
8 libdispatch.dylib 0x19f026bec _dispatch_client_callout2 + 20
9 libdispatch.dylib 0x19f03b958 _dispatch_apply_invoke_and_wait + 224
10 libdispatch.dylib 0x19f03acdc _dispatch_apply_with_attr_f + 1152
11 CoreFoundation 0x19f3ccc68 __104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke.92 + 132
12 CoreFoundation 0x19f263c08 CFPREFERENCES_IS_WAITING_FOR_SYSTEM_AND_USER_CFPREFSDS + 100
13 CoreFoundation 0x19f263a48 -[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:] + 232
14 CoreFoundation 0x19f262204 -[CFPrefsSearchListSource alreadylocked_generationCountFromListOfSources:count:] + 252
15 CoreFoundation 0x19f261ee0 -[CFPrefsSearchListSource alreadylocked_getDictionary:] + 468
16 CoreFoundation 0x19f261a54 -[CFPrefsSearchListSource alreadylocked_copyValueForKey:] + 172
17 CoreFoundation 0x19f261988 -[CFPrefsSource copyValueForKey:] + 60
18 CoreFoundation 0x19f261934 __76-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]_block_invoke + 44
19 CoreFoundation 0x19f25a8b0 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 384
20 CoreFoundation 0x19f3cd53c -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 392
21 CoreFoundation 0x19f25a270 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 168
22 CoreFoundation 0x19f25a18c _CFPreferencesCopyAppValueWithContainerAndConfiguration + 128
23 libAudioToolboxUtility.dylib 0x1ab72127c CASmartPreferences::Pref::Load() + 32
24 libAudioToolboxUtility.dylib 0x1ab720ef0 CASmartPreferences::_RegisterFirstHandler(__CFString const*, __CFString const*, std::__1::function<bool (void const*)>) + 304
25 AudioToolboxCore 0x1a074e80c assertXPCServiceReachable(NSString*) + 312
26 AudioToolboxCore 0x1a0790228 AudioComponentMgr_RegistrarService::connectToRegistrationServer(bool) + 184
27 AudioToolboxCore 0x1a074e370 AudioComponentMgr_NSExtension::initPhase2() + 64
28 AudioToolboxCore 0x1a074e168 GlobalComponentPluginMgr() + 140
29 AudioToolboxCore 0x1a074e008 AudioComponentFindNext + 104
30 libmpv.1.dylib 0x10407633c init + 1064
31 libmpv.1.dylib 0x104074a3c ao_init + 296
32 libmpv.1.dylib 0x104074794 ao_init_best + 896
33 libmpv.1.dylib 0x1040cc668 fill_audio_out_buffers + 1680
34 libmpv.1.dylib 0x1040efb24 run_playloop + 132
35 libmpv.1.dylib 0x1040e72c8 mp_play_files + 6528
36 libmpv.1.dylib 0x1040cde08 core_thread + 72
37 libsystem_pthread.dylib 0x19f1e54ec _pthread_start + 148
38 libsystem_pthread.dylib 0x19f1e02d0 thread_start + 8
Thread 12:: mpv/log-file
0 libsystem_kernel.dylib 0x19f1ad0c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19f1e5ab4 _pthread_cond_wait + 1228
2 libmpv.1.dylib 0x104081794 log_file_thread + 120
3 libsystem_pthread.dylib 0x19f1e54ec _pthread_start + 148
4 libsystem_pthread.dylib 0x19f1e02d0 thread_start + 8
Thread 13:: mpv/lua script (ytdl_hook)
0 libsystem_kernel.dylib 0x19f1ad0c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19f1e5ab4 _pthread_cond_wait + 1228
2 libmpv.1.dylib 0x1040cd670 wait_wakeup + 88
3 libmpv.1.dylib 0x1040cdfec mpv_wait_event + 392
4 libmpv.1.dylib 0x1040e8f08 script_raw_wait_event + 108
5 liblua.5.1.dylib 0x103b77118 lj_BC_FUNCC + 44
6 liblua.5.1.dylib 0x103b8e89c lua_pcall + 148 (lj_api.c:1145)
7 liblua.5.1.dylib 0x103b77118 lj_BC_FUNCC + 44
8 libmpv.1.dylib 0x1040e8a10 load_scripts + 376
9 liblua.5.1.dylib 0x103b77118 lj_BC_FUNCC + 44
10 liblua.5.1.dylib 0x103b8e89c lua_pcall + 148 (lj_api.c:1145)
11 liblua.5.1.dylib 0x103b77118 lj_BC_FUNCC + 44
12 liblua.5.1.dylib 0x103b8e8dc lua_cpcall + 28 (lj_api.c:1173)
13 libmpv.1.dylib 0x1040f2bfc run_script + 100
14 libmpv.1.dylib 0x1040f2c80 script_thread + 32
15 libsystem_pthread.dylib 0x19f1e54ec _pthread_start + 148
16 libsystem_pthread.dylib 0x19f1e02d0 thread_start + 8
Thread 14:: mpv/lua script (stats)
0 libsystem_kernel.dylib 0x19f1ad0c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19f1e5ab4 _pthread_cond_wait + 1228
2 libmpv.1.dylib 0x1040cd670 wait_wakeup + 88
3 libmpv.1.dylib 0x1040cdfec mpv_wait_event + 392
4 libmpv.1.dylib 0x1040e8f08 script_raw_wait_event + 108
5 liblua.5.1.dylib 0x103b77118 lj_BC_FUNCC + 44
6 liblua.5.1.dylib 0x103b8e89c lua_pcall + 148 (lj_api.c:1145)
7 liblua.5.1.dylib 0x103b77118 lj_BC_FUNCC + 44
8 libmpv.1.dylib 0x1040e8a10 load_scripts + 376
9 liblua.5.1.dylib 0x103b77118 lj_BC_FUNCC + 44
10 liblua.5.1.dylib 0x103b8e89c lua_pcall + 148 (lj_api.c:1145)
11 liblua.5.1.dylib 0x103b77118 lj_BC_FUNCC + 44
12 liblua.5.1.dylib 0x103b8e8dc lua_cpcall + 28 (lj_api.c:1173)
13 libmpv.1.dylib 0x1040f2bfc run_script + 100
14 libmpv.1.dylib 0x1040f2c80 script_thread + 32
15 libsystem_pthread.dylib 0x19f1e54ec _pthread_start + 148
16 libsystem_pthread.dylib 0x19f1e02d0 thread_start + 8
Thread 15:: mpv/lua script (console)
0 libsystem_kernel.dylib 0x19f1ad0c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19f1e5ab4 _pthread_cond_wait + 1228
2 libmpv.1.dylib 0x1040cd670 wait_wakeup + 88
3 libmpv.1.dylib 0x1040cdfec mpv_wait_event + 392
4 libmpv.1.dylib 0x1040e8f08 script_raw_wait_event + 108
5 liblua.5.1.dylib 0x103b77118 lj_BC_FUNCC + 44
6 liblua.5.1.dylib 0x103b8e89c lua_pcall + 148 (lj_api.c:1145)
7 liblua.5.1.dylib 0x103b77118 lj_BC_FUNCC + 44
8 libmpv.1.dylib 0x1040e8a10 load_scripts + 376
9 liblua.5.1.dylib 0x103b77118 lj_BC_FUNCC + 44
10 liblua.5.1.dylib 0x103b8e89c lua_pcall + 148 (lj_api.c:1145)
11 liblua.5.1.dylib 0x103b77118 lj_BC_FUNCC + 44
12 liblua.5.1.dylib 0x103b8e8dc lua_cpcall + 28 (lj_api.c:1173)
13 libmpv.1.dylib 0x1040f2bfc run_script + 100
14 libmpv.1.dylib 0x1040f2c80 script_thread + 32
15 libsystem_pthread.dylib 0x19f1e54ec _pthread_start + 148
16 libsystem_pthread.dylib 0x19f1e02d0 thread_start + 8
Thread 16:: AMCP Logging Spool
0 libsystem_kernel.dylib 0x19f1a9990 semaphore_wait_trap + 8
1 caulk 0x1a7b998ac caulk::mach::semaphore::wait_or_error() + 28
2 caulk 0x1a7b7c65c caulk::concurrent::details::worker_thread::run() + 56
3 caulk 0x1a7b7c27c void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 96
4 libsystem_pthread.dylib 0x19f1e54ec _pthread_start + 148
5 libsystem_pthread.dylib 0x19f1e02d0 thread_start + 8
Thread 17:: CVDisplayLink
0 libsystem_kernel.dylib 0x19f1ad0c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19f1e5ae0 _pthread_cond_wait + 1272
2 CoreVideo 0x1a6806aa4 CVDisplayLink::waitUntil(unsigned long long) + 276
3 CoreVideo 0x1a6805f48 CVDisplayLink::runIOThread() + 488
4 libsystem_pthread.dylib 0x19f1e54ec _pthread_start + 148
5 libsystem_pthread.dylib 0x19f1e02d0 thread_start + 8
Thread 18:: mpv/demux
0 libsystem_kernel.dylib 0x19f1ad0c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19f1e5ab4 _pthread_cond_wait + 1228
2 libmpv.1.dylib 0x104086bf8 demux_thread + 236
3 libsystem_pthread.dylib 0x19f1e54ec _pthread_start + 148
4 libsystem_pthread.dylib 0x19f1e02d0 thread_start + 8
Thread 19:: mpv/worker
0 libsystem_kernel.dylib 0x19f1ad0c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19f1e5ab4 _pthread_cond_wait + 1228
2 libmpv.1.dylib 0x1040b98ec worker_thread + 88
3 libsystem_pthread.dylib 0x19f1e54ec _pthread_start + 148
4 libsystem_pthread.dylib 0x19f1e02d0 thread_start + 8
Thread 20:: mpv/vo
0 libsystem_kernel.dylib 0x19f1ad0c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19f1e5ab4 _pthread_cond_wait + 1228
2 libmpv.1.dylib 0x104135160 vo_thread + 1028
3 libsystem_pthread.dylib 0x19f1e54ec _pthread_start + 148
4 libsystem_pthread.dylib 0x19f1e02d0 thread_start + 8
Thread 21:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x19f1a9954 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x19f1a9d00 mach_msg + 76
2 CoreFoundation 0x19f2b0e38 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0x19f2af2f0 __CFRunLoopRun + 1212
4 CoreFoundation 0x19f2ae694 CFRunLoopRunSpecific + 600
5 AppKit 0x1a1f70c24 _NSEventThread + 196
6 libsystem_pthread.dylib 0x19f1e54ec _pthread_start + 148
7 libsystem_pthread.dylib 0x19f1e02d0 thread_start + 8
Thread 22:: com.apple.coremedia.rootQueue.47
0 libsystem_kernel.dylib 0x19f1a99a8 semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x19f0271b8 _dispatch_sema4_timedwait + 64
2 libdispatch.dylib 0x19f0277bc _dispatch_semaphore_wait_slow + 76
3 libdispatch.dylib 0x19f0380f0 _dispatch_worker_thread + 312
4 libsystem_pthread.dylib 0x19f1e54ec _pthread_start + 148
5 libsystem_pthread.dylib 0x19f1e02d0 thread_start + 8
Thread 23:: com.apple.coremedia.rootQueue.47
0 libsystem_kernel.dylib 0x19f1a99a8 semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x19f0271b8 _dispatch_sema4_timedwait + 64
2 libdispatch.dylib 0x19f0277bc _dispatch_semaphore_wait_slow + 76
3 libdispatch.dylib 0x19f0380f0 _dispatch_worker_thread + 312
4 libsystem_pthread.dylib 0x19f1e54ec _pthread_start + 148
5 libsystem_pthread.dylib 0x19f1e02d0 thread_start + 8
Thread 10 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000019f1a50ad x5: 0x000000016fa4e440 x6: 0x000000000000006e x7: 0x00000000000e7a00
x8: 0x215587e98951448e x9: 0x215587e8e6f5b48e x10: 0x0000000000000002 x11: 0x000000000000000b
x12: 0x00000000f9e0207f x13: 0x0000000079e02000 x14: 0x0000000000000010 x15: 0x0000000000000002
x16: 0x0000000000000148 x17: 0x00000001f95cb530 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x000000016fa4f000 x21: 0x000000000000881b x22: 0x0000000000000000 x23: 0x000000016fa4f0e0
x24: 0x00006000023b16e8 x25: 0x0000000000000000 x26: 0x0000000000000114 x27: 0x0000000000000000
x28: 0x00006000018f8a00 fp: 0x000000016fa4e3b0 lr: 0x000000019f1e515c
sp: 0x000000016fa4e390 pc: 0x000000019f1b19b8 cpsr: 0x40001000
far: 0x00000001405f0000 esr: 0x56000080 Address size fault
Binary Images:
0x19f770000 - 0x19f9d0fff com.apple.LaunchServices (1141.1) <69f720dc-0686-3aa0-87d3-dedf9449dadb> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x1a1dc2000 - 0x1a2c73fff com.apple.AppKit (6.9) <518f4e68-c324-320f-9d7f-85c224eae972> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x100924000 - 0x100dcffff com.colliderli.iina (1.2.0) <c3c7d5f5-d7ef-3a3e-a31e-f4374022fa6e> /Users/USER/Library/Developer/Xcode/DerivedData/iina-echacgeisxgbwucwumppkhklmnkd/Build/Products/Debug/IINA.app/Contents/MacOS/IINA
0x1016e4000 - 0x101743fff dyld (*) <86a8ba48-8bb4-3b30-9cda-051f73c74f44> /usr/lib/dyld
0x19f1de000 - 0x19f1eafff libsystem_pthread.dylib (*) <4786e19a-9312-38e6-80ef-9c1394548118> /usr/lib/system/libsystem_pthread.dylib
0x19f1a8000 - 0x19f1ddfff libsystem_kernel.dylib (*) <c8524c02-b14f-30bd-a228-c44b4a448e68> /usr/lib/system/libsystem_kernel.dylib
0x19f023000 - 0x19f069fff libdispatch.dylib (*) <3d7a56a3-23bf-3077-b5c6-9ce65ce7333e> /usr/lib/system/libdispatch.dylib
0x19ef2a000 - 0x19ef63fff libxpc.dylib (*) <a35762da-b9c1-3897-bc39-d88bc78fad1c> /usr/lib/system/libxpc.dylib
0x19f22c000 - 0x19f76ffff com.apple.CoreFoundation (6.9) <b2ff96d0-ae99-31ef-9014-fc9964b4f3e0> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x19f0a9000 - 0x19f129fff libsystem_c.dylib (*) <002a39ae-6431-3b2e-85e7-c45fc2f95ad0> /usr/lib/system/libsystem_c.dylib
0x19f18e000 - 0x19f1a7fff libc++abi.dylib (*) <6baf3d90-c332-373d-8f33-2a6744916698> /usr/lib/libc++abi.dylib
0x19f06a000 - 0x19f0a5fff libobjc.A.dylib (*) <2eabed7f-1e81-3a1b-bb4b-985b8dd3b77f> /usr/lib/libobjc.A.dylib
0x1ab71f000 - 0x1ab750fff libAudioToolboxUtility.dylib (*) <7d48a6a5-f13e-3aff-8d3c-3cbc5d5651f7> /usr/lib/libAudioToolboxUtility.dylib
0x1a0735000 - 0x1a09d7fff com.apple.audio.AudioToolboxCore (1.0) <f7668d34-acc0-3ad6-bfc3-11a46f598dae> /System/Library/PrivateFrameworks/AudioToolboxCore.framework/Versions/A/AudioToolboxCore
0x10405c000 - 0x10432ffff libmpv.1.dylib (*) <a484fb47-91da-3294-9c91-82bcc566d154> /Users/USER/Library/Developer/Xcode/DerivedData/iina-echacgeisxgbwucwumppkhklmnkd/Build/Products/Debug/IINA.app/Contents/Frameworks/libmpv.1.dylib
0x103b74000 - 0x103bfbfff liblua.5.1.dylib (*) <89589a55-6000-3c51-8002-81605eee69fa> /Users/USER/Library/Developer/Xcode/DerivedData/iina-echacgeisxgbwucwumppkhklmnkd/Build/Products/Debug/IINA.app/Contents/Frameworks/liblua.5.1.dylib
0x1a7b7a000 - 0x1a7ba1fff com.apple.audio.caulk (1.0) <c8b77e54-af14-37e1-8a72-6437f54c6fd1> /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk
0x1a6804000 - 0x1a685ffff com.apple.CoreVideo (1.8) <0a5486b6-072c-36ad-bf48-7248e5039ecb> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x1ac24a000 - 0x1ac69cfff libswiftCore.dylib (*) <f1ea4e09-e952-3bf4-b198-075ca1378456> /usr/lib/swift/libswiftCore.dylib
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: 198
thread_create: 0
thread_set_state: 7612
VM Region Summary:
ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)
Writable regions: Total=1.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.8G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 2
Activity Tracing 256K 1
CG backing stores 4032K 4
CG image 1424K 17
ColorSync 608K 30
CoreAnimation 3344K 67
CoreGraphics 32K 2
CoreMedia memory pool 96K 3
CoreUI image data 2896K 23
Foundation 16K 1
Kernel Alloc Once 32K 1
MALLOC 306.8M 62
MALLOC guard page 192K 11
MALLOC_MEDIUM (reserved) 1.1G 9 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
STACK GUARD 56.4M 24
Stack 20.2M 24
VM_ALLOCATE 1.0G 26
__AUTH 2519K 308
__AUTH_CONST 19.3M 495
__DATA 26.7M 550
__DATA_CONST 19.8M 562
__DATA_DIRTY 1778K 208
__FONT_DATA 4K 1
__GLSLBUILTINS 5176K 1
__LINKEDIT 584.8M 66
__OBJC_CONST 3507K 267
__OBJC_RO 81.8M 1
__OBJC_RW 3088K 1
__TEXT 511.8M 580
__UNICODE 588K 1
dyld private memory 1024K 1
mapped file 157.5M 24
shared memory 848K 13
=========== ======= =======
TOTAL 4.2G 3387
TOTAL, minus reserved VM space 2.8G 3387
-----------
Full Report
-----------
{"app_name":"IINA","timestamp":"2021-12-19 21:08:16.00 -0500","app_version":"1.2.0","slice_uuid":"c3c7d5f5-d7ef-3a3e-a31e-f4374022fa6e","build_version":"129","platform":1,"bundleID":"com.colliderli.iina","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.0.1 (21A559)","incident_id":"9D1F0CB4-A2D0-4143-99DC-043419AC031C","name":"IINA"}
{
"uptime" : 450000,
"procLaunch" : "2021-12-19 21:08:14.7456 -0500",
"procRole" : "Foreground",
"version" : 2,
"userID" : 503,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,2",
"procStartAbsTime" : 10815758461003,
"coalitionID" : 485,
"osVersion" : {
"train" : "macOS 12.0.1",
"build" : "21A559",
"releaseType" : "User"
},
"captureTime" : "2021-12-19 21:08:15.3200 -0500",
"incident" : "9D1F0CB4-A2D0-4143-99DC-043419AC031C",
"bug_type" : "309",
"pid" : 86481,
"procExitAbsTime" : 10815771468318,
"translated" : false,
"cpuType" : "ARM-64",
"procName" : "IINA",
"procPath" : "\/Users\/USER\/Library\/Developer\/Xcode\/DerivedData\/iina-echacgeisxgbwucwumppkhklmnkd\/Build\/Products\/Debug\/IINA.app\/Contents\/MacOS\/IINA",
"bundleInfo" : {"CFBundleShortVersionString":"1.2.0","CFBundleVersion":"129","CFBundleIdentifier":"com.colliderli.iina"},
"storeInfo" : {"deviceIdentifierForVendor":"6A36B496-4DC4-5ACD-915B-DC34BE356308","thirdParty":true},
"parentProc" : "iina-cli",
"parentPid" : 86480,
"coalitionName" : "com.apple.Terminal",
"crashReporterKey" : "C8F97525-3322-572C-B9CE-A91EB243AC3C",
"responsiblePid" : 478,
"responsibleProc" : "Terminal",
"wakeTime" : 3311,
"sleepWakeUUID" : "23617EDB-427A-47FB-A53D-40ECFF05C076",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"asi" : {"CoreFoundation":["*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTaggedPointerString count]: unrecognized selector sent to instance 0x8000000000000000'"],"libc++abi.dylib":["terminating with uncaught exception of type NSException"],"libsystem_c.dylib":["abort() called"]},
"asiBacktraces" : ["0 CoreFoundation 0x000000019f33012c __exceptionPreprocess + 240\n1 libobjc.A.dylib 0x000000019f081808 objc_exception_throw + 60\n2 CoreFoundation 0x000000019f3c3100 -[NSObject(NSObject) __retain_OA] + 0\n3 CoreFoundation 0x000000019f2902c0 ___forwarding___ + 1728\n4 CoreFoundation 0x000000019f28fb40 _CF_forwarding_prep_0 + 96\n5 libswiftCore.dylib 0x00000001ac2ef914 $sSD8_VariantV8setValue_6forKeyyq_n_xtF + 100\n6 libswiftCore.dylib 0x00000001ac577a44 $sSDyq_SgxcisTf4ngn_n + 456\n7 libswiftCore.dylib 0x00000001ac2a4884 $sSDyq_Sgxcis + 32\n8 IINA 0x0000000100c451bc $s4IINA21NowPlayingInfoManagerC06updateD09withTitleySb_tFZ + 1840\n9 IINA 0x0000000100c4471c $s4IINA10PlayerCoreC11fileStartedyyF + 2392\n10 IINA 0x0000000100c826ec $s4IINA13MPVControllerC11handleEvent33_AA8C985EFDB89116DD68AB87EEE66A73LLyySPySo9mpv_eventVGSgF + 4280\n11 IINA 0x0000000100c81620 $s4IINA13MPVControllerC10readEvents33_AA8C985EFDB89116DD68AB87EEE66A73LLyyFyycfU_ + 360\n12 IINA 0x0000000100947fb8 $sIeg_IeyB_TR + 48\n13 libdispatch.dylib 0x000000019f024e60 _dispatch_call_block_and_release + 32\n14 libdispatch.dylib 0x000000019f026bac _dispatch_client_callout + 20\n15 libdispatch.dylib 0x000000019f02e330 _dispatch_lane_serial_drain + 672\n16 libdispatch.dylib 0x000000019f02eea4 _dispatch_lane_invoke + 392\n17 libdispatch.dylib 0x000000019f039708 _dispatch_workloop_worker_thread + 656\n18 libsystem_pthread.dylib 0x000000019f1e15b0 _pthread_wqthread + 288\n19 libsystem_pthread.dylib 0x000000019f1e02c4 start_wqthread + 8"],
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":7612,"task_for_pid":198},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"lastExceptionBacktrace" : [{"imageOffset":1065240,"symbol":"__exceptionPreprocess","symbolLocation":220,"imageIndex":8},{"imageOffset":96264,"symbol":"objc_exception_throw","symbolLocation":60,"imageIndex":11},{"imageOffset":1667328,"symbol":"-[NSObject(NSObject) __retain_OA]","symbolLocation":0,"imageIndex":8},{"imageOffset":410304,"symbol":"___forwarding___","symbolLocation":1728,"imageIndex":8},{"imageOffset":408384,"symbol":"_CF_forwarding_prep_0","symbolLocation":96,"imageIndex":8},{"imageOffset":678164,"symbol":"Dictionary._Variant.setValue(_:forKey:)","symbolLocation":100,"imageIndex":18},{"imageOffset":3332676,"symbol":"specialized Dictionary.subscript.setter","symbolLocation":456,"imageIndex":18},{"imageOffset":370820,"symbol":"Dictionary.subscript.setter","symbolLocation":32,"imageIndex":18},{"imageOffset":3281340,"sourceLine":1749,"sourceFile":"PlayerCore.swift","symbol":"static NowPlayingInfoManager.updateInfo(withTitle:)","imageIndex":2,"symbolLocation":1840},{"imageOffset":3278620,"sourceLine":1058,"sourceFile":"PlayerCore.swift","symbol":"PlayerCore.fileStarted()","imageIndex":2,"symbolLocation":2392},{"imageOffset":3532524,"sourceLine":631,"sourceFile":"MPVController.swift","symbol":"MPVController.handleEvent(_:)","imageIndex":2,"symbolLocation":4280},{"imageOffset":3528224,"sourceLine":579,"sourceFile":"MPVController.swift","symbol":"closure #1 in MPVController.readEvents()","imageIndex":2,"symbolLocation":360},{"imageOffset":147384,"sourceFile":"<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed () -> ()","symbolLocation":48,"imageIndex":2},{"imageOffset":7776,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":6},{"imageOffset":15276,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":6},{"imageOffset":45872,"symbol":"_dispatch_lane_serial_drain","symbolLocation":672,"imageIndex":6},{"imageOffset":48804,"symbol":"_dispatch_lane_invoke","symbolLocation":392,"imageIndex":6},{"imageOffset":91912,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":656,"imageIndex":6},{"imageOffset":13744,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":4},{"imageOffset":8900,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":4}],
"faultingThread" : 10,
"threads" : [{"id":7162245,"queue":"com.apple.main-thread","frames":[{"imageOffset":1915008,"symbol":"DYLD-STUB$$std::__1::locale::~locale()","symbolLocation":8,"imageIndex":0},{"imageOffset":27612,"symbol":"std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::__put_character_sequence<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*, unsigned long)","symbolLocation":208,"imageIndex":0},{"imageOffset":22780,"symbol":"asString(void const*)","symbolLocation":172,"imageIndex":0},{"imageOffset":23500,"symbol":"asString(void const*)","symbolLocation":892,"imageIndex":0},{"imageOffset":22948,"symbol":"asString(void const*)","symbolLocation":340,"imageIndex":0},{"imageOffset":23572,"symbol":"asString(void const*)","symbolLocation":964,"imageIndex":0},{"imageOffset":1760968,"symbol":"copyApplicationInformationDictionaryGivenASNUsingLocalCache(__LSSharedMemoryPage const*, __LSASN const*)","symbolLocation":1376,"imageIndex":0},{"imageOffset":44784,"symbol":"_LSCopyApplicationInformation","symbolLocation":816,"imageIndex":0},{"imageOffset":257952,"symbol":"-[NSRunningApplication _fetchDynamicProperties]","symbolLocation":484,"imageIndex":1},{"imageOffset":256588,"symbol":"-[NSRunningApplication activationPolicy]","symbolLocation":60,"imageIndex":1},{"imageOffset":1750384,"symbol":"-[NSApplication _switchToSpaceIfNeeded]","symbolLocation":32,"imageIndex":1},{"imageOffset":1989804,"symbol":"-[NSApplication _orderWindowsAndSwitchToSpaceIfNeeded]","symbolLocation":120,"imageIndex":1},{"imageOffset":1963860,"symbol":"-[NSApplication _handleActivatedEvent:]","symbolLocation":1568,"imageIndex":1},{"imageOffset":1774032,"symbol":"-[NSApplication(NSEvent) sendEvent:]","symbolLocation":3268,"imageIndex":1},{"imageOffset":4625800,"symbol":"-[NSApplication _handleEvent:]","symbolLocation":76,"imageIndex":1},{"imageOffset":205784,"symbol":"-[NSApplication run]","symbolLocation":636,"imageIndex":1},{"imageOffset":14980,"symbol":"NSApplicationMain","symbolLocation":1064,"imageIndex":1},{"imageOffset":1764200,"sourceLine":22,"sourceFile":"AppDelegate.swift","symbol":"main","imageIndex":2,"symbolLocation":12},{"imageOffset":20724,"symbol":"start","symbolLocation":520,"imageIndex":3}]},{"id":7162251,"frames":[{"imageOffset":8892,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":7162252,"frames":[{"imageOffset":8892,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":7162255,"frames":[{"imageOffset":8892,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":7162256,"frames":[{"imageOffset":8892,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":7162258,"frames":[{"imageOffset":8892,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":7162259,"queue":"com.apple.root.default-qos","frames":[{"imageOffset":6484,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":7424,"symbol":"mach_msg","symbolLocation":76,"imageIndex":5},{"imageOffset":125516,"symbol":"_dispatch_mach_send_and_wait_for_reply","symbolLocation":520,"imageIndex":6},{"imageOffset":126460,"symbol":"dispatch_mach_send_with_result_and_wait_for_reply","symbolLocation":56,"imageIndex":6},{"imageOffset":48976,"symbol":"xpc_connection_send_message_with_reply_sync","symbolLocation":264,"imageIndex":7},{"imageOffset":229652,"symbol":"__104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke_2","symbolLocation":40,"imageIndex":8},{"imageOffset":228604,"symbol":"-[_CFXPreferences withConnectionForRole:performBlock:]","symbolLocation":52,"imageIndex":8},{"imageOffset":228512,"symbol":"__104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke","symbolLocation":140,"imageIndex":8},{"imageOffset":15340,"symbol":"_dispatch_client_callout2","symbolLocation":20,"imageIndex":6},{"imageOffset":95172,"symbol":"_dispatch_apply_invoke","symbolLocation":224,"imageIndex":6},{"imageOffset":15276,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":6},{"imageOffset":87100,"symbol":"_dispatch_root_queue_drain","symbolLocation":684,"imageIndex":6},{"imageOffset":88920,"symbol":"_dispatch_worker_thread2","symbolLocation":164,"imageIndex":6},{"imageOffset":13684,"symbol":"_pthread_wqthread","symbolLocation":228,"imageIndex":4},{"imageOffset":8900,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":4}]},{"id":7162260,"frames":[{"imageOffset":8892,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":7162261,"frames":[{"imageOffset":8892,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":7162262,"frames":[{"imageOffset":8892,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"triggered":true,"id":7162263,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":6964269229},{"value":6168044608},{"value":110},{"value":948736},{"value":2401975413372961934},{"value":2401975410649052302},{"value":2},{"value":11},{"value":4192215167},{"value":2044731392},{"value":16},{"value":2},{"value":328},{"value":8478569776},{"value":0},{"value":6},{"value":6168047616},{"value":34843},{"value":0},{"value":6168047840},{"value":105553153693416},{"value":0},{"value":276},{"value":0},{"value":105553142450688}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6964531548},"cpsr":{"value":1073745920},"fp":{"value":6168044464},"sp":{"value":6168044432},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6964320696,"matchesCrashFrame":1},"far":{"value":5374935040}},"queue":"com.colliderli.iina.controller","frames":[{"imageOffset":39352,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":5},{"imageOffset":29020,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":4},{"imageOffset":496404,"symbol":"abort","symbolLocation":164,"imageIndex":9},{"imageOffset":80720,"symbol":"abort_message","symbolLocation":132,"imageIndex":10},{"imageOffset":20324,"symbol":"demangling_terminate_handler()","symbolLocation":332,"imageIndex":10},{"imageOffset":131488,"symbol":"_objc_terminate()","symbolLocation":144,"imageIndex":11},{"imageOffset":77540,"symbol":"std::__terminate(void (*)())","symbolLocation":20,"imageIndex":10},{"imageOffset":77440,"symbol":"std::terminate()","symbolLocation":64,"imageIndex":10},{"imageOffset":15296,"symbol":"_dispatch_client_callout","symbolLocation":40,"imageIndex":6},{"imageOffset":45872,"symbol":"_dispatch_lane_serial_drain","symbolLocation":672,"imageIndex":6},{"imageOffset":48804,"symbol":"_dispatch_lane_invoke","symbolLocation":392,"imageIndex":6},{"imageOffset":91912,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":656,"imageIndex":6},{"imageOffset":13744,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":4},{"imageOffset":8900,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":4}]},{"id":7162264,"name":"mpv\/mpv core","queue":"com.apple.root.default-qos","frames":[{"imageOffset":6484,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":7424,"symbol":"mach_msg","symbolLocation":76,"imageIndex":5},{"imageOffset":125516,"symbol":"_dispatch_mach_send_and_wait_for_reply","symbolLocation":520,"imageIndex":6},{"imageOffset":126460,"symbol":"dispatch_mach_send_with_result_and_wait_for_reply","symbolLocation":56,"imageIndex":6},{"imageOffset":48976,"symbol":"xpc_connection_send_message_with_reply_sync","symbolLocation":264,"imageIndex":7},{"imageOffset":229652,"symbol":"__104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke_2","symbolLocation":40,"imageIndex":8},{"imageOffset":228604,"symbol":"-[_CFXPreferences withConnectionForRole:performBlock:]","symbolLocation":52,"imageIndex":8},{"imageOffset":228512,"symbol":"__104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke","symbolLocation":140,"imageIndex":8},{"imageOffset":15340,"symbol":"_dispatch_client_callout2","symbolLocation":20,"imageIndex":6},{"imageOffset":100696,"symbol":"_dispatch_apply_invoke_and_wait","symbolLocation":224,"imageIndex":6},{"imageOffset":97500,"symbol":"_dispatch_apply_with_attr_f","symbolLocation":1152,"imageIndex":6},{"imageOffset":1707112,"symbol":"__104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke.92","symbolLocation":132,"imageIndex":8},{"imageOffset":228360,"symbol":"CFPREFERENCES_IS_WAITING_FOR_SYSTEM_AND_USER_CFPREFSDS","symbolLocation":100,"imageIndex":8},{"imageOffset":227912,"symbol":"-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]","symbolLocation":232,"imageIndex":8},{"imageOffset":221700,"symbol":"-[CFPrefsSearchListSource alreadylocked_generationCountFromListOfSources:count:]","symbolLocation":252,"imageIndex":8},{"imageOffset":220896,"symbol":"-[CFPrefsSearchListSource alreadylocked_getDictionary:]","symbolLocation":468,"imageIndex":8},{"imageOffset":219732,"symbol":"-[CFPrefsSearchListSource alreadylocked_copyValueForKey:]","symbolLocation":172,"imageIndex":8},{"imageOffset":219528,"symbol":"-[CFPrefsSource copyValueForKey:]","symbolLocation":60,"imageIndex":8},{"imageOffset":219444,"symbol":"__76-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]_block_invoke","symbolLocation":44,"imageIndex":8},{"imageOffset":190640,"symbol":"__108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke","symbolLocation":384,"imageIndex":8},{"imageOffset":1709372,"symbol":"-[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:]","symbolLocation":392,"imageIndex":8},{"imageOffset":189040,"symbol":"-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]","symbolLocation":168,"imageIndex":8},{"imageOffset":188812,"symbol":"_CFPreferencesCopyAppValueWithContainerAndConfiguration","symbolLocation":128,"imageIndex":8},{"imageOffset":8828,"symbol":"CASmartPreferences::Pref::Load()","symbolLocation":32,"imageIndex":12},{"imageOffset":7920,"symbol":"CASmartPreferences::_RegisterFirstHandler(__CFString const*, __CFString const*, std::__1::function<bool (void const*)>)","symbolLocation":304,"imageIndex":12},{"imageOffset":104460,"symbol":"assertXPCServiceReachable(NSString*)","symbolLocation":312,"imageIndex":13},{"imageOffset":373288,"symbol":"AudioComponentMgr_RegistrarService::connectToRegistrationServer(bool)","symbolLocation":184,"imageIndex":13},{"imageOffset":103280,"symbol":"AudioComponentMgr_NSExtension::initPhase2()","symbolLocation":64,"imageIndex":13},{"imageOffset":102760,"symbol":"GlobalComponentPluginMgr()","symbolLocation":140,"imageIndex":13},{"imageOffset":102408,"symbol":"AudioComponentFindNext","symbolLocation":104,"imageIndex":13},{"imageOffset":107324,"symbol":"init","symbolLocation":1064,"imageIndex":14},{"imageOffset":100924,"symbol":"ao_init","symbolLocation":296,"imageIndex":14},{"imageOffset":100244,"symbol":"ao_init_best","symbolLocation":896,"imageIndex":14},{"imageOffset":460392,"symbol":"fill_audio_out_buffers","symbolLocation":1680,"imageIndex":14},{"imageOffset":604964,"symbol":"run_playloop","symbolLocation":132,"imageIndex":14},{"imageOffset":570056,"symbol":"mp_play_files","symbolLocation":6528,"imageIndex":14},{"imageOffset":466440,"symbol":"core_thread","symbolLocation":72,"imageIndex":14},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]},{"id":7162265,"name":"mpv\/log-file","frames":[{"imageOffset":20672,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":4},{"imageOffset":153492,"symbol":"log_file_thread","symbolLocation":120,"imageIndex":14},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]},{"id":7162266,"name":"mpv\/lua script (ytdl_hook)","frames":[{"imageOffset":20672,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":4},{"imageOffset":464496,"symbol":"wait_wakeup","symbolLocation":88,"imageIndex":14},{"imageOffset":466924,"symbol":"mpv_wait_event","symbolLocation":392,"imageIndex":14},{"imageOffset":577288,"symbol":"script_raw_wait_event","symbolLocation":108,"imageIndex":14},{"imageOffset":12568,"symbol":"lj_BC_FUNCC","symbolLocation":44,"imageIndex":15},{"imageOffset":108700,"sourceLine":1145,"sourceFile":"lj_api.c","symbol":"lua_pcall","imageIndex":15,"symbolLocation":148},{"imageOffset":12568,"symbol":"lj_BC_FUNCC","symbolLocation":44,"imageIndex":15},{"imageOffset":576016,"symbol":"load_scripts","symbolLocation":376,"imageIndex":14},{"imageOffset":12568,"symbol":"lj_BC_FUNCC","symbolLocation":44,"imageIndex":15},{"imageOffset":108700,"sourceLine":1145,"sourceFile":"lj_api.c","symbol":"lua_pcall","imageIndex":15,"symbolLocation":148},{"imageOffset":12568,"symbol":"lj_BC_FUNCC","symbolLocation":44,"imageIndex":15},{"imageOffset":108764,"sourceLine":1173,"sourceFile":"lj_api.c","symbol":"lua_cpcall","imageIndex":15,"symbolLocation":28},{"imageOffset":617468,"symbol":"run_script","symbolLocation":100,"imageIndex":14},{"imageOffset":617600,"symbol":"script_thread","symbolLocation":32,"imageIndex":14},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]},{"id":7162267,"name":"mpv\/lua script (stats)","frames":[{"imageOffset":20672,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":4},{"imageOffset":464496,"symbol":"wait_wakeup","symbolLocation":88,"imageIndex":14},{"imageOffset":466924,"symbol":"mpv_wait_event","symbolLocation":392,"imageIndex":14},{"imageOffset":577288,"symbol":"script_raw_wait_event","symbolLocation":108,"imageIndex":14},{"imageOffset":12568,"symbol":"lj_BC_FUNCC","symbolLocation":44,"imageIndex":15},{"imageOffset":108700,"sourceLine":1145,"sourceFile":"lj_api.c","symbol":"lua_pcall","imageIndex":15,"symbolLocation":148},{"imageOffset":12568,"symbol":"lj_BC_FUNCC","symbolLocation":44,"imageIndex":15},{"imageOffset":576016,"symbol":"load_scripts","symbolLocation":376,"imageIndex":14},{"imageOffset":12568,"symbol":"lj_BC_FUNCC","symbolLocation":44,"imageIndex":15},{"imageOffset":108700,"sourceLine":1145,"sourceFile":"lj_api.c","symbol":"lua_pcall","imageIndex":15,"symbolLocation":148},{"imageOffset":12568,"symbol":"lj_BC_FUNCC","symbolLocation":44,"imageIndex":15},{"imageOffset":108764,"sourceLine":1173,"sourceFile":"lj_api.c","symbol":"lua_cpcall","imageIndex":15,"symbolLocation":28},{"imageOffset":617468,"symbol":"run_script","symbolLocation":100,"imageIndex":14},{"imageOffset":617600,"symbol":"script_thread","symbolLocation":32,"imageIndex":14},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]},{"id":7162268,"name":"mpv\/lua script (console)","frames":[{"imageOffset":20672,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":4},{"imageOffset":464496,"symbol":"wait_wakeup","symbolLocation":88,"imageIndex":14},{"imageOffset":466924,"symbol":"mpv_wait_event","symbolLocation":392,"imageIndex":14},{"imageOffset":577288,"symbol":"script_raw_wait_event","symbolLocation":108,"imageIndex":14},{"imageOffset":12568,"symbol":"lj_BC_FUNCC","symbolLocation":44,"imageIndex":15},{"imageOffset":108700,"sourceLine":1145,"sourceFile":"lj_api.c","symbol":"lua_pcall","imageIndex":15,"symbolLocation":148},{"imageOffset":12568,"symbol":"lj_BC_FUNCC","symbolLocation":44,"imageIndex":15},{"imageOffset":576016,"symbol":"load_scripts","symbolLocation":376,"imageIndex":14},{"imageOffset":12568,"symbol":"lj_BC_FUNCC","symbolLocation":44,"imageIndex":15},{"imageOffset":108700,"sourceLine":1145,"sourceFile":"lj_api.c","symbol":"lua_pcall","imageIndex":15,"symbolLocation":148},{"imageOffset":12568,"symbol":"lj_BC_FUNCC","symbolLocation":44,"imageIndex":15},{"imageOffset":108764,"sourceLine":1173,"sourceFile":"lj_api.c","symbol":"lua_cpcall","imageIndex":15,"symbolLocation":28},{"imageOffset":617468,"symbol":"run_script","symbolLocation":100,"imageIndex":14},{"imageOffset":617600,"symbol":"script_thread","symbolLocation":32,"imageIndex":14},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]},{"id":7162270,"name":"AMCP Logging Spool","frames":[{"imageOffset":6544,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":129196,"symbol":"caulk::mach::semaphore::wait_or_error()","symbolLocation":28,"imageIndex":16},{"imageOffset":9820,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":56,"imageIndex":16},{"imageOffset":8828,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*)","symbolLocation":96,"imageIndex":16},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]},{"id":7162272,"name":"CVDisplayLink","frames":[{"imageOffset":20672,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":31456,"symbol":"_pthread_cond_wait","symbolLocation":1272,"imageIndex":4},{"imageOffset":10916,"symbol":"CVDisplayLink::waitUntil(unsigned long long)","symbolLocation":276,"imageIndex":17},{"imageOffset":8008,"symbol":"CVDisplayLink::runIOThread()","symbolLocation":488,"imageIndex":17},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]},{"id":7162274,"name":"mpv\/demux","frames":[{"imageOffset":20672,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":4},{"imageOffset":175096,"symbol":"demux_thread","symbolLocation":236,"imageIndex":14},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]},{"id":7162275,"name":"mpv\/worker","frames":[{"imageOffset":20672,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":4},{"imageOffset":383212,"symbol":"worker_thread","symbolLocation":88,"imageIndex":14},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]},{"id":7162276,"name":"mpv\/vo","frames":[{"imageOffset":20672,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":5},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":4},{"imageOffset":889184,"symbol":"vo_thread","symbolLocation":1028,"imageIndex":14},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]},{"id":7162277,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6484,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":7424,"symbol":"mach_msg","symbolLocation":76,"imageIndex":5},{"imageOffset":544312,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":8},{"imageOffset":537328,"symbol":"__CFRunLoopRun","symbolLocation":1212,"imageIndex":8},{"imageOffset":534164,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":8},{"imageOffset":1764388,"symbol":"_NSEventThread","symbolLocation":196,"imageIndex":1},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]},{"id":7162278,"name":"com.apple.coremedia.rootQueue.47","frames":[{"imageOffset":6568,"symbol":"semaphore_timedwait_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":16824,"symbol":"_dispatch_sema4_timedwait","symbolLocation":64,"imageIndex":6},{"imageOffset":18364,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":76,"imageIndex":6},{"imageOffset":86256,"symbol":"_dispatch_worker_thread","symbolLocation":312,"imageIndex":6},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]},{"id":7162289,"name":"com.apple.coremedia.rootQueue.47","frames":[{"imageOffset":6568,"symbol":"semaphore_timedwait_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":16824,"symbol":"_dispatch_sema4_timedwait","symbolLocation":64,"imageIndex":6},{"imageOffset":18364,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":76,"imageIndex":6},{"imageOffset":86256,"symbol":"_dispatch_worker_thread","symbolLocation":312,"imageIndex":6},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64e",
"base" : 6970343424,
"CFBundleShortVersionString" : "1141.1",
"CFBundleIdentifier" : "com.apple.LaunchServices",
"size" : 2494464,
"uuid" : "69f720dc-0686-3aa0-87d3-dedf9449dadb",
"path" : "\/System\/Library\/Frameworks\/CoreServices.framework\/Versions\/A\/Frameworks\/LaunchServices.framework\/Versions\/A\/LaunchServices",
"name" : "LaunchServices",
"CFBundleVersion" : "1141.1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7010525184,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.AppKit",
"size" : 15409152,
"uuid" : "518f4e68-c324-320f-9d7f-85c224eae972",
"path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
"name" : "AppKit",
"CFBundleVersion" : "2113"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4304551936,
"CFBundleShortVersionString" : "1.2.0",
"CFBundleIdentifier" : "com.colliderli.iina",
"size" : 4898816,
"uuid" : "c3c7d5f5-d7ef-3a3e-a31e-f4374022fa6e",
"path" : "\/Users\/USER\/Library\/Developer\/Xcode\/DerivedData\/iina-echacgeisxgbwucwumppkhklmnkd\/Build\/Products\/Debug\/IINA.app\/Contents\/MacOS\/IINA",
"name" : "IINA",
"CFBundleVersion" : "129"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4318969856,
"size" : 393216,
"uuid" : "86a8ba48-8bb4-3b30-9cda-051f73c74f44",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6964502528,
"size" : 53248,
"uuid" : "4786e19a-9312-38e6-80ef-9c1394548118",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6964281344,
"size" : 221184,
"uuid" : "c8524c02-b14f-30bd-a228-c44b4a448e68",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6962688000,
"size" : 290816,
"uuid" : "3d7a56a3-23bf-3077-b5c6-9ce65ce7333e",
"path" : "\/usr\/lib\/system\/libdispatch.dylib",
"name" : "libdispatch.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6961668096,
"size" : 237568,
"uuid" : "a35762da-b9c1-3897-bc39-d88bc78fad1c",
"path" : "\/usr\/lib\/system\/libxpc.dylib",
"name" : "libxpc.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6964822016,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5521408,
"uuid" : "b2ff96d0-ae99-31ef-9014-fc9964b4f3e0",
"path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1855.105"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6963236864,
"size" : 528384,
"uuid" : "002a39ae-6431-3b2e-85e7-c45fc2f95ad0",
"path" : "\/usr\/lib\/system\/libsystem_c.dylib",
"name" : "libsystem_c.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6964174848,
"size" : 106496,
"uuid" : "6baf3d90-c332-373d-8f33-2a6744916698",
"path" : "\/usr\/lib\/libc++abi.dylib",
"name" : "libc++abi.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6962978816,
"size" : 245760,
"uuid" : "2eabed7f-1e81-3a1b-bb4b-985b8dd3b77f",
"path" : "\/usr\/lib\/libobjc.A.dylib",
"name" : "libobjc.A.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7171338240,
"size" : 204800,
"uuid" : "7d48a6a5-f13e-3aff-8d3c-3cbc5d5651f7",
"path" : "\/usr\/lib\/libAudioToolboxUtility.dylib",
"name" : "libAudioToolboxUtility.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6986878976,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.audio.AudioToolboxCore",
"size" : 2764800,
"uuid" : "f7668d34-acc0-3ad6-bfc3-11a46f598dae",
"path" : "\/System\/Library\/PrivateFrameworks\/AudioToolboxCore.framework\/Versions\/A\/AudioToolboxCore",
"name" : "AudioToolboxCore"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4362452992,
"size" : 2965504,
"uuid" : "a484fb47-91da-3294-9c91-82bcc566d154",
"path" : "\/Users\/USER\/Library\/Developer\/Xcode\/DerivedData\/iina-echacgeisxgbwucwumppkhklmnkd\/Build\/Products\/Debug\/IINA.app\/Contents\/Frameworks\/libmpv.1.dylib",
"name" : "libmpv.1.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4357308416,
"size" : 557056,
"uuid" : "89589a55-6000-3c51-8002-81605eee69fa",
"path" : "\/Users\/USER\/Library\/Developer\/Xcode\/DerivedData\/iina-echacgeisxgbwucwumppkhklmnkd\/Build\/Products\/Debug\/IINA.app\/Contents\/Frameworks\/liblua.5.1.dylib",
"name" : "liblua.5.1.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7108796416,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.audio.caulk",
"size" : 163840,
"uuid" : "c8b77e54-af14-37e1-8a72-6437f54c6fd1",
"path" : "\/System\/Library\/PrivateFrameworks\/caulk.framework\/Versions\/A\/caulk",
"name" : "caulk"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7088390144,
"CFBundleShortVersionString" : "1.8",
"CFBundleIdentifier" : "com.apple.CoreVideo",
"size" : 376832,
"uuid" : "0a5486b6-072c-36ad-bf48-7248e5039ecb",
"path" : "\/System\/Library\/Frameworks\/CoreVideo.framework\/Versions\/A\/CoreVideo",
"name" : "CoreVideo",
"CFBundleVersion" : "455.5"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7183048704,
"size" : 4534272,
"uuid" : "f1ea4e09-e952-3bf4-b198-075ca1378456",
"path" : "\/usr\/lib\/swift\/libswiftCore.dylib",
"name" : "libswiftCore.dylib"
}
],
"sharedCache" : {
"base" : 6961332224,
"size" : 3072180224,
"uuid" : "a6162d66-93e3-3251-93cc-b11f7c8c830e"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=1.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.8G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 256K 2 \nActivity Tracing 256K 1 \nCG backing stores 4032K 4 \nCG image 1424K 17 \nColorSync 608K 30 \nCoreAnimation 3344K 67 \nCoreGraphics 32K 2 \nCoreMedia memory pool 96K 3 \nCoreUI image data 2896K 23 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 306.8M 62 \nMALLOC guard page 192K 11 \nMALLOC_MEDIUM (reserved) 1.1G 9 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.4M 24 \nStack 20.2M 24 \nVM_ALLOCATE 1.0G 26 \n__AUTH 2519K 308 \n__AUTH_CONST 19.3M 495 \n__DATA 26.7M 550 \n__DATA_CONST 19.8M 562 \n__DATA_DIRTY 1778K 208 \n__FONT_DATA 4K 1 \n__GLSLBUILTINS 5176K 1 \n__LINKEDIT 584.8M 66 \n__OBJC_CONST 3507K 267 \n__OBJC_RO 81.8M 1 \n__OBJC_RW 3088K 1 \n__TEXT 511.8M 580 \n__UNICODE 588K 1 \ndyld private memory 1024K 1 \nmapped file 157.5M 24 \nshared memory 848K 13 \n=========== ======= ======= \nTOTAL 4.2G 3387 \nTOTAL, minus reserved VM space 2.8G 3387 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.colliderli.iina.controller"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {
},
"deploymentId" : 240000073
},
{
"rolloutId" : "601d9415f79519000ccd4b69",
"factorPackIds" : {
"SIRI_TEXT_TO_SPEECH" : "618455f04b3765609b8b78c1"
},
"deploymentId" : 240000311
},
{
"rolloutId" : "602ad4dac86151000cf27e46",
"factorPackIds" : {
"SIRI_DICTATION_ASSETS" : "6182cb1f4b3765609b8b76cb"
},
"deploymentId" : 240000254
},
{
"rolloutId" : "5fc94383418129005b4e9ae0",
"factorPackIds" : {
},
"deploymentId" : 240000153
},
{
"rolloutId" : "60da5e84ab0ca017dace9abf",
"factorPackIds" : {
},
"deploymentId" : 240000008
},
{
"rolloutId" : "607844aa04477260f58a8077",
"factorPackIds" : {
"SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
},
"deploymentId" : 240000066
}
],
"experiments" : [
]
}
}
Model: MacBookPro18,2, BootROM 7429.41.5, proc 10:8:2 processors, 64 GB, SMC
Graphics: Apple M1 Max, Apple M1 Max, Built-In
Display: Color LCD, 3456 x 2234 Retina, Main, MirrorOff, Online
Memory Module: LPDDR5
AirPort: Wi-Fi, wl0: Sep 24 2021 15:49:44 version 20.10.853.23.8.7.106 FWID 01-78e271b2
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB Receiver
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
IINA log:
21:08:14.939 [iina][d] App will launch
21:08:14.940 [iina][d] Got arguments ["--keep-running", "/Users/low-batt/Movies/20.mp4"]
21:08:14.940 [iina][d] IINA arguments: ["--keep-running"]
21:08:14.940 [iina][d] Filenames from arguments: ["/Users/low-batt/Movies/20.mp4"]
21:08:14.963 [iina][d] App launched
21:08:14.964 [iina][d] Loading key bindings
21:08:14.966 [iina][d] Set key bindings
21:08:15.024 [iina][d] Setting up MediaPlayer integration
21:08:15.026 [player0][d] Set path to /Users/low-batt/Downloads:/Users/low-batt/Library/Developer/Xcode/DerivedData/iina-echacgeisxgbwucwumppkhklmnkd/Build/Products/Debug/IINA.app/Contents/MacOS:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Little Snitch.app/Contents/Components:/Library/Apple/usr/bin:/Library/Developer/CommandLineTools/usr/bin:/opt/homebrew/bin
21:08:15.044 [iina][d] updateInfo begin <_NSMainThread: 0x6000018f8440>{number = 1, name = main}
21:08:15.044 [iina][d] updateInfo end <_NSMainThread: 0x6000018f8440>{number = 1, name = main}
21:08:15.045 [player0][d] Open URL: file:///Users/low-batt/Movies/20.mp4
21:08:15.045 [player0][d] Opening /Users/low-batt/Movies/20.mp4 in main window
21:08:15.051 [player0][d] Track list changed
21:08:15.146 [iina][d] Created OpenGL pixel format with [__C._CGLPixelFormatAttribute(rawValue: 5), __C._CGLPixelFormatAttribute(rawValue: 96), __C._CGLPixelFormatAttribute(rawValue: 99), __C._CGLPixelFormatAttribute(rawValue: 12800), __C._CGLPixelFormatAttribute(rawValue: 73), __C._CGLPixelFormatAttribute(rawValue: 101), __C._CGLPixelFormatAttribute(rawValue: 0)]
21:08:15.154 [iina][d] Falling back to nominal display refresh rate: 120.00120001200013 from 0.0
21:08:15.169 [player0][d] File started
21:08:15.171 [iina][d] updateInfo begin <NSThread: 0x6000018f8380>{number = 2, name = (null)}
21:08:15.199 [iina][d] ### became main
21:08:15.199 [iina][d] updateInfo begin <_NSMainThread: 0x6000018f8440>{number = 1, name = main}
21:08:15.286 [iina][d] updateInfo end <_NSMainThread: 0x6000018f8440>{number = 1, name = main}
Steps to reproduce:
Run IINA over and over and over again on a short movie until it crashes.
- MPV does not have this problem.
I didn't test mpv, but this is an IINA problem.
How often does this happen?
Rarely. It is a thread race condition, likely sensitive to the timing of the Mac hardware. I reproduced it on a MacBook Pro with the M1 Max chip running a native IINA build.
In an effort to reproduce rare timing related problems I have been using a bash script to have IINA play a short movie over and over again. About 1 out of every 20 or so runs has triggered some sort of failure in the method NowPlayingInfoManager.updateInfo
.
The IINA log above is from a run with an IINA debug build that has logging added to the updateInfo
method that shows the problem, namely two threads executing that method at the same time. That method stores the information it passes to MPNowPlayingInfoCenter
in this property:
static private var info = [String: Any]()
Two threads executing that method at the same time results in two threads trying to modify the same mutable dictionary at the same time. The Apple Threading Programming Guide lists thread safe and thread unsafe classes:
Thread-Unsafe Classes
The following classes and functions are generally not thread-safe. In most cases, you can use these classes from any thread as long as you use them from only one thread at a time.
...
NSMutableDictionary
Explaining the crashes.
I will code up a fix for this issue.