demangling_terminate_handler 崩溃。如何找到原因?

时间:2021-07-28 07:48:37

标签: swift macos crash

崩溃是从用户那里收到的,我无法重现它 =(

Report Version:        12
Bridge OS Version:     3.0 (14Y908)

Time Awake Since Boot: 25000 seconds
Time Since Wake:       3900 seconds

System Integrity Protection: enabled

Crashed Thread:        9

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called
terminating with uncaught exception of type NSException

//Four threads perform operations(remove files). and I did not find anything that can cause "locks" or something wrong.

Thread 9 Crashed:
0   libsystem_kernel.dylib          0x00007fff204bf936 0x7fff204b8000 + 31030
1   libsystem_c.dylib               0x00007fff20443411 abort + 120
2   libc++abi.dylib                 0x00007fff204b1ef2 abort_message + 241
3   libc++abi.dylib                 0x00007fff204a35fd demangling_terminate_handler() + 266
4   libobjc.A.dylib                 0x00007fff2039c58d _objc_terminate() + 96
5   libc++abi.dylib                 0x00007fff204b1307 std::__terminate(void (*)()) + 8
6   libc++abi.dylib                 0x00007fff204b12a9 std::terminate() + 41
7   libdispatch.dylib               0x00007fff203447fa 0x7fff20341000 + 14330
8   libdispatch.dylib               0x00007fff2034a5ca 0x7fff20341000 + 38346
9   libdispatch.dylib               0x00007fff2034b08d 0x7fff20341000 + 41101
10  libdispatch.dylib               0x00007fff20354bed 0x7fff20341000 + 80877
11  libsystem_pthread.dylib         0x00007fff204eb4c0 0x7fff204e8000 + 13504
12  libsystem_pthread.dylib         0x00007fff204ea493 0x7fff204e8000 + 9363

Thread 9 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007000022d1000  rcx: 0x00007000022d02e8  rdx: 0x0000000000000000
  rdi: 0x000000000004d327  rsi: 0x0000000000000006  rbp: 0x00007000022d0310  rsp: 0x00007000022d02e8
   r8: 0x00007000022d01b0   r9: 0x0000000000000000  r10: 0x00007000022d1000  r11: 0x0000000000000246
  r12: 0x000000000004d327  r13: 0x0000003000000008  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007fff204bf936  rfl: 0x0000000000000246  cr2: 0x00007fff8081d400
  
Logical CPU:     0
Error Code:      0x020000dc
Trap Number:     133

Thread 9 instruction stream not available.

Thread 9 last branch register state not available.


Binary Images:
0x7fff20341000 -     0x7fff20385fff  libdispatch.dylib (1271.100.5) <91C02276-B0B7-3391-BDB2-F0CAAEF0CA11> /usr/lib/system/libdispatch.dylib
0x7fff204a2000 -     0x7fff204b7fff  libc++abi.dylib (905.6) <0E137B9A-B841-3360-B183-539C7306C4DC> /usr/lib/libc++abi.dylib
0x7fff20386000 -     0x7fff203bffff  libobjc.A.dylib (824) <B96EE933-7F66-3766-BA8C-A0460F9549CF> /usr/lib/libobjc.A.dylib
0x7fff203c3000 -     0x7fff2044bfff  libsystem_c.dylib (1439.100.3) <9ACE66E2-F984-3185-8814-47C659740AD2> /usr/lib/system/libsystem_c.dylib
0x7fff204b8000 -     0x7fff204e7fff  libsystem_kernel.dylib (7195.100.354.131.1) <BC055178-6A8A-3063-8C18-6EC135657827> /usr/lib/system/libsystem_kernel.dylib
0x7fff204e8000 -     0x7fff204f3fff  libsystem_pthread.dylib (454.100.8) <F33FF9C7-08A4-3EBA-A3E7-042288C3644D> /usr/lib/system/libsystem_pthread.dylib

我发现了一个类似的崩溃 https://developer.apple.com/forums/thread/124855。 但是我的崩溃日志中没有“上次异常回溯”或任何类似内容。仅有的: “最后一个分支寄存器状态不可用。”和“最后一个分支寄存器状态不可用。”。

我唯一可以执行的活动是使用“Standard Memory Debugging Tools”。目前我什至不知道我的案例是否与这个“内存问题”有关。

0 个答案:

没有答案