Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection sendSynchronousRequest crash



: 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 <email@hidden> 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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSURLConnection sendSynchronousRequest crash (From: Colin Cornaby <email@hidden>)
 >Re: NSURLConnection sendSynchronousRequest crash (From: Jens Alfke <email@hidden>)
 >Re: NSURLConnection sendSynchronousRequest crash (From: Colin Cornaby <email@hidden>)
 >Re: NSURLConnection sendSynchronousRequest crash (From: "Shawn Erickson" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.