Index: trunk/ippTasks/detrend.stack.pro
===================================================================
--- trunk/ippTasks/detrend.stack.pro	(revision 19465)
+++ trunk/ippTasks/detrend.stack.pro	(revision 23230)
@@ -101,4 +101,8 @@
   end
 
+  task.exit    crash
+    showcommand crash
+  end
+
   # operation times out?
   task.exit    timeout
@@ -163,4 +167,11 @@
   task.exit    default
     process_exit detPendingStackedImfile $options:0 $JOB_STATUS
+  end
+
+  # locked list
+  task.exit    crash
+    showcommand crash
+    echo "hostname: $JOB_HOSTNAME"
+    book setword detPendingStackedImfile $options:0 pantaskState CRASH
   end
 
@@ -217,4 +228,8 @@
   end
 
+  task.exit    crash
+    showcommand crash
+  end
+
   # operation times out?
   task.exit    timeout
@@ -272,4 +287,11 @@
   end
 
+  # locked list
+  task.exit    crash
+    showcommand crash
+    echo "hostname: $JOB_HOSTNAME"
+    book setword detCleanupStackedImfile $options:0 pantaskState CRASH
+  end
+
   # operation timed out?
   task.exit    timeout
