deadlock when create AVAudioSession

there are some crash in my app.

WatchdogVisibility: Foreground
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 3.670 (user 2.300, system 1.370), 3% CPU",
"Elapsed application CPU time (seconds): 0.404, 0% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>}

Thread 0 Crashed:
0   681B06A0-7F6B-3FA3-A2CE-063DC1DA7B1B0x27e00             __ulock_wait
1   5D16936B-4E4C-3276-BA7A-69C9BC760ABA0xa0ff4             _dlock_wait
2   5D16936B-4E4C-3276-BA7A-69C9BC760ABA0xa0f24             _dispatch_once_wait
3   BFBF140A-DB1B-3B5B-ACE4-1C990763332A0x6e7c8             +[AVAudioSession sharedInstance]

And i found another [AVAudioSession sharedInstance] symbol in other thread

ProcessVisibility: Foreground
ProcessState: Running
WatchdogEvent: scene-create
WatchdogVisibility: Foreground
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 3.670 (user 2.300, system 1.370), 3% CPU",
"Elapsed application CPU time (seconds): 0.404, 0% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>}
0   681B06A0-7F6B-3FA3-A2CE-063DC1DA7B1B0x272c8             mach_msg2_trap
1   681B06A0-7F6B-3FA3-A2CE-063DC1DA7B1B0x3a194             mach_msg2_internal
2   681B06A0-7F6B-3FA3-A2CE-063DC1DA7B1B0x3a46c             mach_msg_overwrite
3   681B06A0-7F6B-3FA3-A2CE-063DC1DA7B1B0x27808             mach_msg
4   5D16936B-4E4C-3276-BA7A-69C9BC760ABA0xbb964             _dispatch_mach_send_and_wait_for_reply
5   5D16936B-4E4C-3276-BA7A-69C9BC760ABA0xbbcf4             dispatch_mach_send_with_result_and_wait_for_reply
6   A0D322A3-D772-3260-9690-71F28737C43C0x8ea8c             xpc_connection_send_message_with_reply_sync
7   1715DE5D-0893-3AF0-B0C0-550BB14F91EC0x4dc3b4            __NSXPCCONNECTION_IS_WAITING_FOR_A_SYNCHRONOUS_REPLY__
8   1715DE5D-0893-3AF0-B0C0-550BB14F91EC0x46f760            -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]
9   A900B459-0127-379E-9CBA-0EAB9C5D559F0x1214a0            ___forwarding___
10  A900B459-0127-379E-9CBA-0EAB9C5D559F0x187ef8            __forwarding_prep_0___
11  BFBF140A-DB1B-3B5B-ACE4-1C990763332A0x7d700             -[AVAudioSession privateCreateSessionInServerUsingXPC]
12  BFBF140A-DB1B-3B5B-ACE4-1C990763332A0x7e874             -[AVAudioSession initWithSpecification:]
13  BFBF140A-DB1B-3B5B-ACE4-1C990763332A0x6e1b8             -[AVAudioSession initWithSessionType:]
14  BFBF140A-DB1B-3B5B-ACE4-1C990763332A0x6e158             __32+[AVAudioSession sharedInstance]_block_invoke
15  5D16936B-4E4C-3276-BA7A-69C9BC760ABA0xa0604             _dispatch_client_callout
16  5D16936B-4E4C-3276-BA7A-69C9BC760ABA0xa1e44             _dispatch_once_callout
17  BFBF140A-DB1B-3B5B-ACE4-1C990763332A0x6e7c8             +[AVAudioSession sharedInstance]

why deadlock happend to [AVAudioSession sharedInstance]?

i try get volume of [AVAudioSession sharedInstance] in my didFinishLaunchingWithOptions

deadlock when create AVAudioSession
 
 
Q