Skip navigation.
 
mlRe: NSURLConnection sendSynchronousRequest crash
FROM : Colin Cornaby
DATE : Fri May 30 17:50:33 2008

: slaps forehead :

Yeah, it's thread two that crashed...

#0    0x900686ec in objc_msgSend
#1    0x901a85da in CFRelease
#2    0x970a1152 in __CFHTTPMessageDeallocate
#3    0x901a8788 in _CFRelease
#4    0x970ae4a9 in _CFHTTPReadStreamReadMark
#5    0x970ae376 in prepareReception
#6    0x970a901b in httpConnectionStateChanged
#7    0x970ae2ad in scheduleNewResponse
#8    0x970a9266 in scheduleNewRequest
#9    0x970ae127 in _CFNetConnectionRequestIsComplete
#10    0x970ad3c5 in httpConnectionRequestStreamCB
#11    0x970ad2f5 in connectionRequestCallBack
#12    0x901b85e9 in _CFStreamSignalEventSynch
#13    0x901a660e in CFRunLoopRunSpecific
#14    0x901a6cf8 in CFRunLoopRunInMode
#15    0x96380460 in +[NSURLConnection(NSURLConnectionReallyInternal) 
_resourceLoadLoop:]
#16    0x9631cf1d in -[NSThread main]
#17    0x9631cac4 in __NSThread__main__
#18    0x90e996f5 in _pthread_start
#19    0x90e995b2 in thread_start

I'll dink around with memory management, but my request looks valid...

On May 30, 2008, at 8:42 AM, Shawn Erickson wrote:

> On Fri, May 30, 2008 at 8:35 AM, Colin Cornaby 
> <colin.<email_removed>> wrote:

>> Strangely enough, I actually was already disabling the cache in my
>> NSURLRequest. I changed the disable caching flag to the newer 
>> constant
>> (NSURLRequestReloadIgnoringLocalCacheData), and now the crash has 
>> changed...
>>
>> #0      0x90e684a6 in mach_msg_trap

>
> Are you sure that that is the thread the actually crashed?
>
> -Shawn

Related mailsAuthorDate
mlNSURLConnection sendSynchronousRequest crash Colin Cornaby May 30, 09:55
mlRe: NSURLConnection sendSynchronousRequest crash Jens Alfke May 30, 17:12
mlRe: NSURLConnection sendSynchronousRequest crash Colin Cornaby May 30, 17:35
mlRe: NSURLConnection sendSynchronousRequest crash Shawn Erickson May 30, 17:42
mlRe: NSURLConnection sendSynchronousRequest crash Colin Cornaby May 30, 17:50