NSURLConnection crash on POST
Fritz Anderson
fritza at manoverboard.org
Tue Sep 4 13:26:35 PDT 2007
When you "get" your NSURLConnection (you don't show this), do you set
the delegate? Do you take care that the delegate does not get released/
autoreleased while the connection is still pending?
The -[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] method,
followed immediately by a crasher in objc_msgSend (which is a strong
indicator of a message sent to a released object) is very suggestive.
— F
On Sep 4, 2007, at 1:48 PM, Mark Christian wrote:
> In the case where it's not nil, I get an NSURLConnection.
...
> Here's the crash log:
> #0 0x90a594c7 in objc_msgSend ()
> #1 0xbfffe9e8 in ?? ()
> #2 0x92859ee4 in -[NSURLConnection(NSURLConnectionInternal)
> _sendCallbacks] ()
More information about the MacOSX-dev
mailing list