• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Malloc Error: pointer being freed was not allocated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Malloc Error: pointer being freed was not allocated (From: Richard Somers <email@hidden>)
 >Re: Malloc Error: pointer being freed was not allocated (From: Jens Alfke <email@hidden>)
 >Re: Malloc Error: pointer being freed was not allocated (From: Richard Somers <email@hidden>)

  • Prev by Date: Re: Formatting elapsed time
  • Next by Date: Code Comments
  • Previous by thread: Re: Malloc Error: pointer being freed was not allocated
  • Next by thread: Code Comments
  • Index(es):
    • Date
    • Thread