崩溃信息如下:
objc[64931]: +[xxx initialize] may have been in progress in another thread when fork() was called.
+[xxx initialize] may have been in progress in another thread when fork() was called.
We cannot safely call it or ignore it in the fork() child process.
Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
crashed on child side of fork pre-exec
Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x103e01940 ???
1 <translation info unavailable> 0x104cce75c ???
2 libsystem_kernel.dylib 0x115199843 abort_with_reason + 19
3 libobjc.A.dylib 0x10e7fb903 _objc_fatalv(unsigned long long, unsigned long long, char const*, __va_list_tag*) + 108
4 libobjc.A.dylib 0x10e7fb897 _objc_fatal(char const*, ...) + 111
5 libobjc.A.dylib 0x10e7e2299 performForkChildInitialize(objc_class*, objc_class*) + 270
6 libobjc.A.dylib 0x10e7e2e0d initializeNonMetaClass + 577
7 libobjc.A.dylib 0x10e7e3f0a initializeAndMaybeRelock(objc_class*, objc_object*, mutex_tt<false>&, bool) + 173
8 libobjc.A.dylib 0x10e7efec7 lookUpImpOrForward + 634
9 libobjc.A.dylib 0x10e7dde5b _objc_msgSend_uncached + 75
网友评论