|
From: Hybris <hy...@gm...> - 2011-04-21 20:22:14
|
> Well, it depends. Are you passing NULL or some uninitialized variable as
> the param handle?
during fetch i am not passing anything:
OFX::Log::print("********************************before fetch scale");
rScale_ = fetchDoubleParam("scaleR");
if param "scaleR" has not been defined before (lets's say i have a
typo there), the host crashes
this is some log coming from OFX:
********************************************************************************
START mainEntry (OfxActionCreateInstance)
Retrieved string property OfxImageEffectPropContext[0], was given
OfxImageEffectContextFilter.
Set pointer property OfxPropInstanceData[0] to be 0874FE90.
Retrieved string property OfxImageEffectPropContext[0], was given
OfxImageEffectContextFilter.
********************************before fetch scale
Set pointer property OfxPropInstanceData[0] to be 00000000.
STOP mainEntry (OfxActionCreateInstance)
********************************************************************************
START mainEntry (OfxActionBeginInstanceChanged)
Retrieved pointer property OfxPropInstanceData[0], was given 00000000.
ERROR : Instance data handle in effect instance properties is NULL!
Retrieved string property OfxPropChangeReason[0], was given
OfxChangeUserEdited.
|