urbanairship/ios-library — Issue #18: Crash in -[UA_ASIHTTPRequest handleNetworkEvent:]
Author: humblehacker
Created: 2012-02-12 17:52:54+00:00
State: open

I haven't seen this crash personally, but we've got crash logs from the field. This is with library version 1.1.1. We've just upgraded to 1.1.4, but that release won't be out until next week.

Crash occurred here:

UA_ASIHTTPRequest.m line 2950
-[UA_ASIHTTPRequest handleNetworkEvent:]

Stack trace.

libobjc.A.dylib objc_msgSend + 15
App UA_ASIHTTPRequest.m line 2950
-[UA_ASIHTTPRequest handleNetworkEvent:]
App UA_ASIHTTPRequest.m line 52
ReadStreamClientCallBack
CoreFoundation _signalEventSync + 76
CoreFoundation _cfstream_solo_signalEventSync + 64
CoreFoundation _CFStreamSignalEvent + 332
CoreFoundation CFReadStreamSignalEvent + 10
CFNetwork HTTPReadStream: :streamEvent(unsigned long) + 100
CFNetwork HTTPReadStream: :_streamCB(__CFReadStream*, unsigned long, void*) + 30
CoreFoundation _signalEventSync + 76
CoreFoundation _cfstream_shared_signalEventSync + 204
CoreFoundation	__CFRunLoopDoSources0 + 382
CoreFoundation	__CFRunLoopRun + 230
CoreFoundation	CFRunLoopRunSpecific + 230
CoreFoundation	CFRunLoopRun + 48
CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
CoreFoundation CFRunLoopRun + 48
App UA_ASIHTTPRequest.m line 4280
+[UA_ASIHTTPRequest runRequests]
Foundation -[NSThread main] + 44
Foundation __NSThread__main__ + 972
libsystem_c.dylib _pthread_start + 248