Skip navigation.
 
mlRe: cross development problem
FROM : Thomas Bauer
DATE : Tue Jul 18 18:46:37 2006

>
> I hate to be a skeptic, but releaseExclusiveAccess sanity checks 
> itself against an internal reference count. Extraneous releases are 
> essentially just no-ops. The only way it would cause harm is if the 
> object upon which it was been invoked was invalid. Which makes me 
> wonder...
>


There was a "aquireExclusiveAccess" just before running the DRErase 
via a DREraseProgressPanel
and an immediate releaseExclusiveAccess in the notification callback 
after the erase. Maybe at this moment this causes a problem?
The code continued fine into a deviceStatusChanged callback (caused 
by DRDevice going into transition)  but crashed in some parallel 
thread (belonging to the DRFramework I guess).

> Do you ever release a DRDevice? Its unlikely you would have to, 
> since all the methods to get them from DR are get and not copy or 
> create. Releasing DRDevices out from under DR is a very common 
> mistake, and would cause this symptom.


No, I never release a DRDevice.

cheers
tom

> -Ed
>
>

Related mailsAuthorDate
mlcross development problem Thomas Bauer Jul 17, 23:22
mlRe: cross development problem Ed Wynne Jul 17, 23:53
mlRe: cross development problem Thomas Bauer Jul 17, 23:56
mlRe: cross development problem Mike Blaguszewski Jul 18, 00:08
mlRe: cross development problem Uli Kusterer Jul 18, 00:59
mlRe: cross development problem Thomas Bauer Jul 18, 16:17
mlRe: cross development problem Ed Wynne Jul 18, 17:41
mlRe: cross development problem Thomas Bauer Jul 18, 18:46
mlRe: cross development problem Thomas Bauer Jul 19, 10:11
mlRe: cross development problem Ed Wynne Jul 19, 18:17