One Quickie


Break on szone_error not working (gdb->General)
Sometimes when you have memory corruption issues, the malloc library happily informs you:
Borkdoku(11062,0xcec0600) malloc: *** error for object 0xd109010: 
   incorrect checksum for freed object - object was probably modified 
   after being freed, break at szone_error to debug
Which is fine and dandy, but it lies. I've never gotten szone_error to actually do anything. Try breaking on malloc_printf instead.



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com