So far I was able to reproduce it with only the operation doing the deconvolution, but by the nature of the script I cannot just extract that part, as it exercise quite a few operations (driver script below). It may not be related to deconvolution, but for example to the use of preview in that test. The script is creating two full image previews to operate the deconvolution twice with different values and then check the result and delete the previews.
If I comment the script just after the two deconvolutions, it does not crash during the first execution. But it crashes immediately if I launch the script a second time, not doing even the preliminary operations.
It behaves like if something is corrupted and creates and error later. I checked that it worked correctly in 1.8RC7.
// Test process generating a preview from the main view
testDeconvolution: function () {
vPtest_focusOnLinearWindow();
var environment = vP_makeEnvironment();
var guiParameters = new Vp_GUIParameters(environment);
var targetView = guiParameters.sourceView;
vP_assertEquals(0,targetView.window.previews.length);
guiParameters.processInstanceName = "aDeconvolution";
guiParameters.parameterToVary="psfSigma";
// Generate two previews
guiParameters.parameterValuesText="1.5,2.5";
guiParameters.operateOn=VP_OPERATE_MODIFYING_SOURCE;
guiParameters.resultDestination=VP_RESULT_IN_PREVIEWS;
var processEngineOrError = vP_makeProcessEngine(environment, guiParameters);
vP_assertEquals("object", typeof processEngineOrError);
vP_assertFalse(processEngineOrError.engineCreationError);
vP_assertFalse(vP_executeForAllValues(processEngineOrError));
var newViews = environment.getAdditionalMainViews();
/* vP_assertEquals(0, newViews.length);
vP_assertEquals(2, targetView.window.previews.length);
vP_assertEquals(2, processEngineOrError.generatedResults.length);
targetView.window.deletePreviews();
*/
},
I will try to refine further this weekend with your latest release.
-- bitli