Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 8 incompatibility - crash in AFURLRequestSerialization.m #100

Closed
tyang100 opened this issue Oct 19, 2014 · 4 comments
Closed

iOS 8 incompatibility - crash in AFURLRequestSerialization.m #100

tyang100 opened this issue Oct 19, 2014 · 4 comments

Comments

@tyang100
Copy link

Thread : Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x31394e83 exceptionPreprocess + 130
1 libobjc.A.dylib 0x3b6f16c7 objc_exception_throw + 38
2 CoreFoundation 0x31394dc5 -[NSException initWithCoder:]
3 Foundation 0x31d6bdf3 NSRequestConcreteImplementation + 182
4 Foundation 0x31d74055 -[NSStream(NSStream) streamStatus] + 32
5 Sobrr 0x000bcdd9 -AFMultipartBodyStream open
6 CoreFoundation 0x312e96eb CFReadStreamOpen + 110
7 CFNetwork 0x30f9db2b CoreReadStreamFromCFReadStream::streamImpl_Open(CFStreamError, unsigned char_) + 38
8 CFNetwork 0x3102cd6f non-virtual thunk to CoreReadStreamFromCFReadStream::streamImpl_Open(CFStreamError, unsigned char_) + 10
9 CFNetwork 0x30f86125 CoreStreamBase::streamInterface_Open() + 44
10 CFNetwork 0x30f9d19f HTTPNetConnection::prepareTransmission(HTTPNetStreamInfo
, CoreWriteStream) + 1070
11 CFNetwork 0x30f9c72b NetConnection::enqueue(void
, unsigned char) + 426
12 CFNetwork 0x30f9c507 HTTPNetStreamInfo::streamImpl_Open(CFStreamError, unsigned char_) + 62
13 CFNetwork 0x30fe1eef non-virtual thunk to HTTPNetStreamInfo::streamImpl_Open(CFStreamError, unsigned char_) + 10
14 CFNetwork 0x30f86125 CoreStreamBase::streamInterface_Open() + 44
15 CFNetwork 0x30f9bf25 HTTPProtocol::openStream() + 160
16 CFNetwork 0x30feba1f HTTPProtocol::useNetConnectionForRequest(NetConnection
, CFHTTPMessage, unsigned char) + 1298
17 CFNetwork 0x30f9b531 HTTPConnectionCacheEntry::dispatchConnectionToProtocol(NetConnection
, HTTPProtocol_, HTTPRequestMessage_, unsigned char) + 212
18 CFNetwork 0x30f9b391 HTTPConnectionCacheEntry::notifyNextProtocolOfOpenConnection(NetConnection_, unsigned char) + 240
19 CFNetwork 0x30f99685 HTTPConnectionCacheEntry::enqueueRequestForProtocol(HTTPProtocol_, _CFHTTPMessage) + 488
20 CFNetwork 0x30f991a9 HTTPConnectionCache::onqueue_enqueueRequestForProtocol(HTTPProtocol, _CFHTTPMessage) + 108
21 CFNetwork 0x30fefeb1 ___ZN19HTTPConnectionCache25enqueueRequestForProtocolEP12HTTPProtocolP15__CFHTTPMessage_block_invoke + 16
22 CFNetwork 0x3102f337 ___ZNK17CoreSchedulingSet13_performAsyncEPKcU13block_pointerFvvE_block_invoke + 18
23 CoreFoundation 0x312c7ea1 CFArrayApplyFunction + 36
24 CFNetwork 0x30f95e05 RunloopBlockContext::perform() + 164
25 CFNetwork 0x30f95cd5 MultiplexerSource::perform() + 220
26 CFNetwork 0x30f95b65 MultiplexerSource::perform(void) + 48
27 CoreFoundation 0x3135ff1f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
+ 14
28 CoreFoundation 0x3135f3e7 CFRunLoopDoSources0 + 206
29 CoreFoundation 0x3135dbd7 __CFRunLoopRun + 630
30 CoreFoundation 0x312c8471 CFRunLoopRunSpecific + 524
31 CoreFoundation 0x312c8253 CFRunLoopRunInMode + 106
32 Foundation 0x31d034c1 +[NSURLConnection(Loader) _resourceLoadLoop:] + 320
33 Foundation 0x31d78c37 __NSThread__main
+ 1062
34 libsystem_pthread.dylib 0x3bd07c5d _pthread_body + 140
35 libsystem_pthread.dylib 0x3bd07bcf _pthread_start + 102
36 libsystem_pthread.dylib 0x3bd05cd0 thread_start + 8

@tyang100
Copy link
Author

This problem is fixed in Qiniu 7.0.
The problem is related to an outdated library AFNetworking. Update AFNetworking to the newest SDK will fix the problem too.

@tyang100
Copy link
Author

Current AFNetworking is on version 2.3.1, recommend to upgrade it to version 2.4.1

@longbai
Copy link
Contributor

longbai commented Oct 21, 2014

@tyang100 👍 thank you very much

@longbai
Copy link
Contributor

longbai commented Oct 23, 2014

closed by #86

@longbai longbai closed this as completed Oct 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants