我使用SCNetworkReachabilityGetFlags獲得網絡標誌,我曾經工作得很好。 但有時(不正常),它在新的iPad上崩潰。 這裏是通話崩潰日誌:SCNetworkReachabilityGetFlags導致崩潰?
CrashReporter始終重點:33f4ab575102aa60283b0dea73af84fbf45cb760硬件 型號:iPad3,3
代碼類型:ARM(母語)父進程:launchd的[1]
日期/時間: 2012-08-31 15:38:09.338 0800 OS版本:iPhone OS 5.1.1(9B206)報告版本:104
異常類型:00000020異常代碼:0x8badf00d突出 Ť hread:0
特定應用信息:com.oohla.HuaShangNews未能 發射時刻
經過的總CPU時間(秒):2.120(2.120用戶,系統0.000), 14%的CPU經過的應用CPU時間(秒):0.024,0%CPU
線程0名:調度隊列:com.apple.main線程線程0:0
libsystem_kernel.dylib 0x350ca054 semaphore_wait_trap + 8 1
libdispatch.dylib 0x3132f1c0 _dispatch_semaphore_wait_slow + 184 2 libdispatch.dylib 0x3132f1f4 dispatch_semaphore_wait $ $ VARIANT MP + 32 3 libxpc.dylib
0x3058f89a xpc_connection_send_message_with_reply_sync + 206 4
SystemConfiguration 0x36d18be6 _reach_server_target_status + 938 5 SystemConfiguration 0x36d19d56 SCNetworkReachabilityServer_targetStatus + 14個6 SystemConfiguration 0x36d02aee __SCNetworkReachabilityGetFlags + 198個7 SystemConfiguration 0x36d03f7a SCNetworkReachabilityGetFlags + 190 8 HuaShangQ_iPhone
0x0005ed14 - [可達currentReachabilityStatus] + 152 9
HuaShangQ_iPhone 0x000f39b4 - [HSStatManager getCurrntNet] + 52 10 HuaShangQ_iPhone 0x000的f2b6e - [HSStatManager startSystem] + 322 11 HuaShangQ_iPhone 0x000f2068 - [HSStatManager條目] + 216 12 HuaShangQ_iPhone
0x0000dc6a - [AppDelegate中的application:didFinishLaunchingWithOptions:] (AppDelegate中。(UIApplication handleEvent:withNewEvent:]:[UIApplication handleEvent:withNewEvent:]; // UIApplication handleEvent:withNewEvent:]; // UIApplication handleEvent:withNewEvent:[UIApplication handleEvent: + 1004 16的UIKit
0x3510a560 - [UIApplication的的SendEvent:] + 48 17的UIKit
0x35109f34 _UIApplicationHandleEvent + 5820個18 GraphicsServices
0x32ca7224 PurpleEventCallback + 876 19的CoreFoundation
0x32bd751c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 32 20的CoreFoundation 0x32bd74be __CFRunLoopDoSource1 + 134 21的CoreFoundation 0x32bd630c __CFRunLo opRun + 1364 22的CoreFoundation
0x32b5949e CFRunLoopRunSpecific + 294 23的CoreFoundation
0x32b59366 CFRunLoopRunInMode + 98 24的UIKit
0x3513b864 - [UIApplication的_run] + 544 25的UIKit
0x35138cce UIApplicationMain + 1074 26 HuaShangQ_iPhone
0x0000e520主(的main.m: 17)27 HuaShangQ_iPhone
0x00003310啓動+ 32
如何避免 幫助PLZ。