title: EXC_BAD_ACCESS after converting HTTP response to string
body: <p>I have the following code, from which I am getting an EXC_BAD_ACCESS error:</p>
  
  <pre><code>- (void)connectionDidFinishLoading:(NSURLConnection *)connection {
      NSString *responseString = [[NSString alloc] initWithData:receivedData encoding:NSUTF8StringEncoding];
      NSLog(responseString);
  }
  </code></pre>
  
  <p>The weird thing is, the bad access error is actually coming from the <code>NSLog()</code> line, when it tries to access <code>responseString</code>. I've even tried adding a <code>retain</code> or <code>autorelease</code> to the first line, but I still get the error.</p>
  
  <p>Any thoughts on what might be happening? To my knowledge, there shouldn't be any issue, because I'm calling it immediately after it's defined, so <code>responseString</code> should not have been released yet, correct?</p>
  
  <p>EDIT: I should mention, <code>receivedData</code> is an <code>NSMutableData</code> object.</p>