• 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: incorrect checksum for freed object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: incorrect checksum for freed object


  • Subject: Re: incorrect checksum for freed object
  • From: Alastair Houghton <email@hidden>
  • Date: Sun, 2 Aug 2009 12:01:39 +0100

On 1 Aug 2009, at 20:21, email@hidden wrote:

At 12:09 PM -0600 8/1/09, Scott Ribe wrote:

Still though, Shawn's basic point is right: Ken is confused about memory
management *somewhere* in his code.

well... i'm not sure i'd use the word confused, as i do understand memory management, both in general and in cocoa. but i do have a bug somewhere that causes crashes sometimes when i quit by app and attempt to release IOKit/USB "resources".

I don't think this problem is down to confusion over memory management necessarily. It could easily be the result of an accidental overrun when writing to a heap-based buffer.


I would try enabling some of the malloc debugging features that you can find in the "Environment" section of the malloc() man page. You could also use Instruments to watch where that block is allocated and released and work at it from that angle.

Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

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


  • Follow-Ups:
    • Re: incorrect checksum for freed object
      • From: Scott Ribe <email@hidden>
References: 
 >Re: incorrect checksum for freed object (From: Scott Ribe <email@hidden>)
 >Re: incorrect checksum for freed object (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: How to change focus ring color?
  • Next by Date: IB TextField Bindings and dragging text
  • Previous by thread: Re: incorrect checksum for freed object
  • Next by thread: Re: incorrect checksum for freed object
  • Index(es):
    • Date
    • Thread