信号SIGABRT,运行时/ cgo:在模拟器上运行时无法获取pthread_keys

时间:2018-12-14 02:41:34

标签: ios xcode runtime-error sigabrt cgo

我正在尝试让我的应用在模拟器上运行,但在启动时遇到此错误:Error

这是什么意思,如何确定导致该错误的代码?谢谢! 这是回溯轨迹:

* thread #3, stop reason = signal SIGABRT
  * frame #0: 0x0000000107d5cb66 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x0000000107d96080 libsystem_pthread.dylib`pthread_kill + 333
    frame #2: 0x00000001012b7405 libclang_rt.tsan_iossim_dynamic.dylib`wrap_pthread_kill + 325
    frame #3: 0x0000000107b09c45 libsystem_c.dylib`abort + 127
    frame #4: 0x00000001012b669c libclang_rt.tsan_iossim_dynamic.dylib`wrap_abort + 108
    frame #5: 0x00000001008d5c0f GiFmojo`inittls + 431
    frame #6: 0x00000001008d5a32 GiFmojo`runtime.etext + 98
    frame #7: 0x00000001006fe19c GiFmojo`runtime.rt0_go + 140
    frame #8: 0x0000000107d93661 libsystem_pthread.dylib`_pthread_body + 340
    frame #9: 0x0000000107d9350d libsystem_pthread.dylib`_pthread_start + 377
    frame #10: 0x0000000107d92bf9 libsystem_pthread.dylib`thread_start + 13

0 个答案:

没有答案