Index: trunk/ippTasks/detrend.resid.pro
===================================================================
--- trunk/ippTasks/detrend.resid.pro	(revision 19621)
+++ trunk/ippTasks/detrend.resid.pro	(revision 23230)
@@ -129,4 +129,8 @@
   task.exit    default
     showcommand failure
+  end
+
+  task.exit    crash
+    showcommand crash
   end
 
@@ -203,4 +207,11 @@
   end
 
+  # locked list
+  task.exit    crash
+    showcommand crash
+    echo "hostname: $JOB_HOSTNAME"
+    book setword detPendingResidImfile $options:0 pantaskState CRASH
+  end
+
   # operation times out?
   task.exit    timeout
@@ -254,4 +265,8 @@
   task.exit    default
     showcommand failure
+  end
+
+  task.exit    crash
+    showcommand crash
   end
 
@@ -320,4 +335,11 @@
   end
 
+  # locked list
+  task.exit    crash
+    showcommand crash
+    echo "hostname: $JOB_HOSTNAME"
+    book setword detPendingResidExp $options:0 pantaskState CRASH
+  end
+
   # operation times out?
   task.exit    timeout
@@ -372,4 +394,8 @@
   end
 
+  task.exit    crash
+    showcommand crash
+  end
+
   # operation times out?
   task.exit    timeout
@@ -426,4 +452,11 @@
   task.exit    default
     process_exit detCleanupResidImfile $options:0 $JOB_STATUS
+  end
+
+  # locked list
+  task.exit    crash
+    showcommand crash
+    echo "hostname: $JOB_HOSTNAME"
+    book setword detCleanupResidImfile $options:0 pantaskState CRASH
   end
 
@@ -481,4 +514,8 @@
   end
 
+  task.exit    crash
+    showcommand crash
+  end
+
   # operation times out?
   task.exit    timeout
@@ -536,4 +573,11 @@
   end
 
+  # locked list
+  task.exit    crash
+    showcommand crash
+    echo "hostname: $JOB_HOSTNAME"
+    book setword detCleanupResidExp $options:0 pantaskState CRASH
+  end
+
   # operation timed out?
   task.exit    timeout
