Over-release caused by Instruments?
Over-release caused by Instruments?
- Subject: Over-release caused by Instruments?
- From: Dave Keck <email@hidden>
- Date: Mon, 1 Nov 2010 17:40:19 -0400
Hey list,
I'm testing some highly multi-threaded code and am encountering an
over-release bug, but I'm unable to reproduce it except when running
the program via the 'Allocations' instrument. What's more troubling is
that within Instruments, the retain/release history for the object is
incoherent. Specifically, the history reports that a single CFRelease
reduced the retain count of the object by 2 rather than 1; had it only
reduced the retain count by 1, the object wouldn't be over-released.
Here's a screenshot of the object's history:
http://imgur.com/1WRTa.png
After many attempts I've been unable to reproduce the problem outside
of Instruments, and I've tried various combinations of
NSZombieEnabled, CFZombieLevel, and Guard Malloc. I'm not sure how to
explain the incoherent object history in the screenshot; is it
possible that Instruments is responsible for the over-release?
Thanks!
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden