Re: NSConnection Proxy Crash
Re: NSConnection Proxy Crash
- Subject: Re: NSConnection Proxy Crash
- From: Kevin Brock <email@hidden>
- Date: Fri, 10 Jul 2009 13:25:27 -0700
Greg Parker wrote:
On Jul 10, 2009, at 12:18 PM, Kevin Brock wrote:
look suspiciously like a Windows error code, 0xc000023,
STATUS_BUFFER_TOO_SMALL... Is there anywhere that you're getting back
that type of error code on the other end of this?
No, it looks like a malloc free list pointer. The base address was
0xc0000003 (in edx), which is NULL with the top two and bottom two
bits all inverted. malloc masks its free list pointers that way on
Leopard, and stores a free list pointer at the beginning of every
freed block. So this pointer came from some code reading from a freed
block. In objc_msgSend(), usually the receiver object has already been
freed, and the malloc pointer was stored in place of the isa pointer.
Coincidental resemblance... Just jumping at shadows :-)
So you crashed in objc_msgSend:
http://sealiesoftware.com/blog/archive/2008/09/22/objc_explain_So_you_crashed_in_objc_msgSend.html
Nice page. Very clear. Thanks for the link.
Kevin
_______________________________________________
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:
This email sent to email@hidden