崩溃发生在以下代码中:
void CocoaCommRequest::launchSync()
{
launchAsync();
while (![_delegate finished])
{
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]];
}
}
崩溃堆栈是(部分):
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x8
Crashed Thread: 0
Thread 0 Crashed:
0 0x3aa9b5d0 objc_msgSend + 15
1 0x32d7a8f7 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
2 0x32d7a15d __CFRunLoopDoSources0 + 213
3 0x32d78f2f __CFRunLoopRun + 647
4 0x32cec23d CFRunLoopRunSpecific + 356
5 0x32cec0c9 CFRunLoopRunInMode + 104
6 0x336105c3 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 255
7 0x000978f9 CocoaCommRequest::launchSync() (CocoaCommRequest.mm:46)
我无法在本地复制它,而只能在生产中复制它。什么会使这段代码崩溃?会不会是某种内存问题?