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

Crash on CFReadStreamSetProperty #89

Open
loretoparisi opened this issue Apr 13, 2014 · 1 comment
Open

Crash on CFReadStreamSetProperty #89

loretoparisi opened this issue Apr 13, 2014 · 1 comment

Comments

@loretoparisi
Copy link

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 __NSThread__main
* + 1062
12 libsystem_pthread.dylib 0x39c8a959 _pthread_body + 140
13 libsystem_pthread.dylib 0x39c8a8cb _pthread_start + 102

@hovkaren
Copy link

Check stream URL is not nil.

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