agc error for object ... Deallocating a non-block
agc error for object ... Deallocating a non-block
- Subject: agc error for object ... Deallocating a non-block
- From: Michael Link <email@hidden>
- Date: Wed, 31 Dec 2008 16:57:13 -0600
When I see an error on the console that looks like this:
Test(22389,0xb0103000) malloc: *** free() called with 0x1f29ba00 with
refcount 0
Test(22389,0xb0103000) malloc: *** auto malloc[22389]: agc error for
object 0x1f29ba00: Deallocating a non-block
What exactly does 'Deallocating a non-block' mean?
I was running with malloc history on and the last 2 stack traces for
0x1f29ba00 are:
Stack - pthread: 0xa0580720 number of frames: 28
0: 0x951e482d in malloc_zone_calloc
1: 0x951e4782 in calloc
2: 0x902158cc in CGImageSourceGetTypeWithData
3: 0x90215712 in CGImageSourceGetTypeWithData
4: 0x901e61be in CGImageSourceCreateImageAtIndex
5: 0x901ebb1c in CGImageSourceGetPropertiesAtIndex
6: 0x901eba76 in CGImageSourceCopyPropertiesAtIndex
7: 0x91e6be8b in +[NSBitmapImageRep
_imagesWithData:hfsFileType:extension:zone:expandImageContentNow:includeAllReps
:]
8: 0x91e6fc71 in +[NSBitmapImageRep imageRepsWithData:]
9: 0x91e6f50e in -[NSImage initWithData:]
10: 0x7375d in -[SPCaptchaImageView connectionDidFinishLoading:]
at /Users/mlink/Code/code-cocoa/Test/trunk/Test/SPCaptchaImageView.m:259
11: 0x95739a3d in __invoking___
12: 0x95739428 in -[NSInvocation invoke]
13: 0xf0a0b in -[MLHTTPConnection _didFinishLoading] at /Users/
mlink/Code/code-cocoa/Test/trunk/Test/MLHTTPConnection.m:204
14: 0x95739a3d in __invoking___
15: 0x95739428 in -[NSInvocation invoke]
16: 0x94f3039c in __NSThreadPerformPerform
17: 0x956ba5f5 in CFRunLoopRunSpecific
18: 0x956bacd8 in CFRunLoopRunInMode
19: 0x927392c0 in RunCurrentEventLoopInMode
20: 0x927390d9 in ReceiveNextEventCommon
21: 0x92738f4d in BlockUntilNextEventMatchingListInMode
22: 0x91d80d7d in _DPSNextEvent
23: 0x91d80630 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
24: 0x91d7966b in -[NSApplication run]
25: 0x91d468a4 in NSApplicationMain
26: 0xc884 in main at /Users/mlink/Code/code-cocoa/Test/trunk/Test/
main.m:25
27: 0x2e52 in start
Stack - pthread: 0xa0580720 number of frames: 28
0: 0x951e2323 in malloc_zone_free
1: 0x951e22cd in free
2: 0x90256516 in CGImagePluginSetClipPath
3: 0x949f43c8 in CGDataProviderCreateWithFaultDataCallback
4: 0x94809f17 in CGDataProviderGetBytePtr
5: 0x901e9e70 in CGImagePluginSetBandProc
6: 0x91e6e168 in -[NSBitmapImageRep _loadData]
7: 0x91e6bf27 in +[NSBitmapImageRep
_imagesWithData:hfsFileType:extension:zone:expandImageContentNow:includeAllReps
:]
8: 0x91e6fc71 in +[NSBitmapImageRep imageRepsWithData:]
9: 0x91e6f50e in -[NSImage initWithData:]
10: 0x7375d in -[SPCaptchaImageView connectionDidFinishLoading:]
at /Users/mlink/Code/code-cocoa/Test/trunk/Test/SPCaptchaImageView.m:259
11: 0x95739a3d in __invoking___
12: 0x95739428 in -[NSInvocation invoke]
13: 0xf0a0b in -[MLHTTPConnection _didFinishLoading] at /Users/
mlink/Code/code-cocoa/Test/trunk/Test/MLHTTPConnection.m:204
14: 0x95739a3d in __invoking___
15: 0x95739428 in -[NSInvocation invoke]
16: 0x94f3039c in __NSThreadPerformPerform
17: 0x956ba5f5 in CFRunLoopRunSpecific
18: 0x956bacd8 in CFRunLoopRunInMode
19: 0x927392c0 in RunCurrentEventLoopInMode
20: 0x927390d9 in ReceiveNextEventCommon
21: 0x92738f4d in BlockUntilNextEventMatchingListInMode
22: 0x91d80d7d in _DPSNextEvent
23: 0x91d80630 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
24: 0x91d7966b in -[NSApplication run]
25: 0x91d468a4 in NSApplicationMain
26: 0xc884 in main at /Users/mlink/Code/code-cocoa/Test/trunk/Test/
main.m:25
27: 0x2e52 in start
--
Michael
_______________________________________________
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