libBacktraceRecording.dylib`__gcd_queue_item_enqueue_hook_block_invoke:


libBacktraceRecording.dylib`__gcd_queue_item_enqueue_hook_block_invoke:
0x110407e32 <+0>: pushq %rbp
0x110407e33 <+1>: movq %rsp, %rbp
-> 0x110407e36 <+4>: movq 0x20(%rsi), %rax
0x110407e3a <+8>: movq 0x20(%rdi), %rcx
0x110407e3e <+12>: cmpq 0x8(%rcx), %rax
0x110407e42 <+16>: sete %al
0x110407e45 <+19>: popq %rbp
0x110407e46 <+20>: retq

崩溃原因:

在Xcode调试时,用了一个错误的libbacktracerecording.dylib库

这个库在真机上不存在,所以不会再真机上崩溃,只会发生在模拟器上

解决方案:

模拟器上的不再崩溃解决方法:

command+shift+< ------> Run ------> Options ------> Queue Debugging 不要勾选 Enable backtrace recording,如下图:

APP在模拟器崩溃,提示__gcd_queue_item_enqueue_hook_block_invoke-LMLPHP

资料参考来源:

http://stackoverflow.com/questions/40371536/nsurlsession-causing-exc-bad-access

http://stackoverflow.com/questions/34336920/memory-leak-with-libbacktracerecording-dylib-in-React-native-iOS-application

http://blog.csdn.net/u011876968/article/details/70168392

05-11 22:33