Re: Malloc Error: pointer being freed was not allocated
Re: Malloc Error: pointer being freed was not allocated
- Subject: Re: Malloc Error: pointer being freed was not allocated
- From: Jens Alfke <email@hidden>
- Date: Sat, 08 Sep 2012 17:08:04 -0700
On Sep 8, 2012, at 6:44 AM, Richard Somers <email@hidden> wrote:
> I found the pointer. It appears in frame #2 free () and higher frames in one of the general purpose registers. One would think that the pointer would show up in frame #3 gfxReleaseSharedState () which calls free () but it does not.
It’s not always possible to see the values of all variables in outer stack frames if they were compiled optimized. It doesn’t seem that useful to look. The real issue seems to be that the GL context you’re destroying in frame #7 is invalid. Maybe it was already destroyed, or maybe something in it got corrupted?
—Jens
_______________________________________________
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