title: iOS crasher: CFNetwork HTTPReadFilter::doPlainRead(StreamReader*, unsigned char*, long, CFStreamError*, unsigned char*)
body: <p>I have this crasher which happens a lot in our production app but we are not able to reproduce it. It happened only on iOS8 using iOS8 SDK.</p>
  
  <pre><code>HTTPReadFilter::doPlainRead(StreamReader*, unsigned char*, long, CFStreamError*, unsigned char*) inside CFNetwork. Crashed: com.apple.NSURLConnectionLoader EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x00000000
  
  StackTrace:
  
          libsystem_platform.dylib    
      _platform_memmove + 185
  
      CFNetwork   
      HTTPReadFilter::doPlainRead(StreamReader*, unsigned char*, long, CFStreamError*, unsigned char*) + 178
  
      CFNetwork   
      HTTPReadFilter::_streamImpl_Read(unsigned char*, long, CFStreamError*, unsigned char*) + 394
  
      CFNetwork   
      CoreStreamBase::_streamInterface_Read(unsigned char*, long) + 98
  
      CFNetwork   
      HTTPNetStreamInfo::_streamImpl_Read(__CFReadStream*, unsigned char*, long, CFStreamError*, unsigned char*) + 306
  
      CFNetwork   
      CFNetworkReadStream::httpStreamRead(__CFReadStream*, unsigned char*, long, CFStreamError*, unsigned char*, void*) + 44
  
      CoreFoundation  
      CFReadStreamRead + 328
  
      CFNetwork   
      HTTPNetStreamInfo::_readStreamClientCallBack(__CFReadStream*, unsigned long) + 128
  
      CFNetwork   
      CFNetworkReadStream::_readStreamClientCallBackCallBack(__CFReadStream*, unsigned long, void*) + 38
  
      CoreFoundation  
      _signalEventSync + 146
  
      CoreFoundation  
      _cfstream_shared_signalEventSync + 342
          CoreFoundation  
      __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
          CoreFoundation  
      CFRunLoopRunInMode + 106
  
      CFNetwork   
      +[NSURLConnection(Loader) _resourceLoadLoop:] + 486
          Foundation  
      __NSThread__main__ + 1118
          libsystem_pthread.dylib 
      _pthread_start + 118
  </code></pre>
  
  <p>Any help is greatly appreciated!!</p>