Open loretoparisi opened 10 years ago
It crashes when setting
// // Enable stream redirection // if (CFReadStreamSetProperty( stream, kCFStreamPropertyHTTPShouldAutoredirect, kCFBooleanTrue) == false) {
Device: iPad4 OS: iOS7.1
Stacktrace:
Thread : Crashed: com.apple.root.default-overcommit-priority 0 CoreFoundation 0x2ea50c48 *CFTypeCollectionRetain + 103 1 CoreFoundation 0x2e9b5a4d _CFArrayReplaceValues + 260 2 CoreFoundation 0x2e9b5a4d _CFArrayReplaceValues + 260 3 CoreFoundation 0x2e9b592b CFArrayAppendValue + 106 4 CFNetwork 0x2e694997 HTTPReadStream::_streamImpl_SetProperty(CFString const, void const) + 682 5 CFNetwork 0x2e6ce27f non-virtual thunk to HTTPReadStream::_streamImpl_SetProperty(CFString const, void const) + 10 6 CFNetwork 0x2e66e155 CoreStreamBase::_streamInterface_SetProperty(CFString const, void const) + 20 7 CFNetwork 0x2e66e13f CoreStreamCFStreamSupport<CFReadStream_, CoreReadStream>::_stream_setProperty(_CFReadStream, _CFString const, void const_, void) + 10 8 CoreFoundation 0x2ea57433 CFReadStreamSetProperty + 118 9 musiXmatch 0x000dee0b -AudioStreamer openReadStream 10 musiXmatch 0x000df299 -AudioStreamer startInternal 11 Foundation 0x2f46da0f NSThreadmain** + 1062 12 libsystem_pthread.dylib 0x39c8a959 _pthread_body + 140 13 libsystem_pthread.dylib 0x39c8a8cb _pthread_start + 102
Check stream URL is not nil.
It crashes when setting
Device: iPad4 OS: iOS7.1
Stacktrace:
Thread : Crashed: com.apple.root.default-overcommit-priority 0 CoreFoundation 0x2ea50c48 *CFTypeCollectionRetain + 103 1 CoreFoundation 0x2e9b5a4d _CFArrayReplaceValues + 260 2 CoreFoundation 0x2e9b5a4d _CFArrayReplaceValues + 260 3 CoreFoundation 0x2e9b592b CFArrayAppendValue + 106 4 CFNetwork 0x2e694997 HTTPReadStream::_streamImpl_SetProperty(CFString const, void const) + 682 5 CFNetwork 0x2e6ce27f non-virtual thunk to HTTPReadStream::_streamImpl_SetProperty(CFString const, void const) + 10 6 CFNetwork 0x2e66e155 CoreStreamBase::_streamInterface_SetProperty(CFString const, void const) + 20 7 CFNetwork 0x2e66e13f CoreStreamCFStreamSupport<CFReadStream_, CoreReadStream>::_stream_setProperty(_CFReadStream, _CFString const, void const_, void) + 10 8 CoreFoundation 0x2ea57433 CFReadStreamSetProperty + 118 9 musiXmatch 0x000dee0b -AudioStreamer openReadStream 10 musiXmatch 0x000df299 -AudioStreamer startInternal 11 Foundation 0x2f46da0f NSThreadmain** + 1062 12 libsystem_pthread.dylib 0x39c8a959 _pthread_body + 140 13 libsystem_pthread.dylib 0x39c8a8cb _pthread_start + 102