Re: DiskArbitration crash after DADiskMountApprovalCallback exits
Re: DiskArbitration crash after DADiskMountApprovalCallback exits
- Subject: Re: DiskArbitration crash after DADiskMountApprovalCallback exits
- From: "stephen joseph butler" <email@hidden>
- Date: Fri, 1 Dec 2006 23:09:59 -0600
2006/12/1, Jeff Johnson <email@hidden>:
#0 0x90a55387 in objc_msgSend ()
#1 0x0d2358f0 in ?? ()
#2 0x9082205c in __CFDictionaryDeallocate ()
#3 0x9080b1a9 in _CFRelease ()
#4 0x913fc6f2 in _DADiskSetDescription ()
#5 0x913fc0cc in _DADispatchCallback ()
#6 0x913fbc3f in _DASessionCallback ()
[...]
The essence of my DADiskMountApprovalCallback is the following:
CFDictionaryRef description = DADiskCopyDescription(disk);
if (description) {
// Check kDADiskDescriptionVolumeNameKey and
kDADiskDescriptionVolumeUUIDKey for relevant values.
CFRelease(description);
Looking at the backtrace, the error could be coming whlie the
dictionary tries to release its keys/values. Is your code possibly
releasing something it gets from the dictionary when it shouldn't be?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden