karosLi/KKJSBridge

crash:NSOperationQueue 0x282bedca0 (QOS: UNSPECIFIED)

RayFor24 opened this issue · 1 comments

KKJSBridgeMessageDispatcher.m - 第 154 行
__62-[KKJSBridgeMessageDispatcher dispatchCallbackMessageInQueue:]_block_invoke.94 + 154

KKJSBridgeModuleCookie.m - 第 125 行
-[KKJSBridgeModuleCookie cookie:params:responseCallback:] + 125

以上是两步调用堆栈。最后崩溃在了这句代码这里
NSArray<NSHTTPCookie *> *availableCookie = [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:[NSURL URLWithString:url]];

Crashed: NSOperationQueue 0x282bedca0 (QOS: UNSPECIFIED)
0 CoreFoundation 0xecde8 CFURLCopyAbsoluteURL + 92
1 CFNetwork 0x19785c HTTPCookieStorage::copyCookiesForURL(HTTPCookieStoragePolicy, unsigned char) + 104
2 CFNetwork 0x19317c CFHTTPCookieStorageCopyCookiesForURL + 132
3 CFNetwork 0x2768 -[NSHTTPCookieStorage cookiesForURL:] + 108
4 TeraBox 0x1b091bc -[KKJSBridgeModuleCookie cookie:params:responseCallback:] + 125 (KKJSBridgeModuleCookie.m:125)
5 TeraBox 0x1b08540 __62-[KKJSBridgeMessageDispatcher dispatchCallbackMessageInQueue:]_block_invoke.94 + 154 (KKJSBridgeMessageDispatcher.m:154)
6 Foundation 0x112cf4 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 16
7 Foundation 0x1ed90 -[NSBlockOperation main] + 72
8 Foundation 0x1e278 -[__NSOperationInternal _start:] + 740
9 Foundation 0x114a78 __NSOQSchedule_f + 272
10 libdispatch.dylib 0x5fa38 _dispatch_call_block_and_release + 24