Re: DiskArbitration crash after DADiskMountApprovalCallback exits
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FMrxrjfdwYpmJyMUIT4FEu0e2PiePRFdxWGIUiLzTJn/0YTuOhiVMoZBAi0rJa+yF0N+CVIrX7xYLV1ep/YrJ0D/bZWQah3AZIWwl3KwDCdh10e6ui5XvE/1NYa+ndTpSDp158F35Rvv+4lGOD+5ENyNzusDFfqNxJgF4oS4/Ho= #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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 2006/12/1, Jeff Johnson <publicposting@lapcatsoftware.com>: This email sent to site_archiver@lists.apple.com
participants (1)
-
stephen joseph butler