Index: trunk/ippTasks/chip.pro
===================================================================
--- trunk/ippTasks/chip.pro	(revision 23916)
+++ trunk/ippTasks/chip.pro	(revision 23945)
@@ -202,7 +202,11 @@
   # locked list
   task.exit    crash
-    showcommand crash
-    echo "hostname: $JOB_HOSTNAME"
-    book setword chipPendingImfile $options:0 pantaskState CRASH
+    ### Getting a lot of chip crashes (no idea why), so remove verbosity for now
+    #showcommand crash
+    #echo "hostname: $JOB_HOSTNAME"
+
+    # Set a fault code in the database
+    !chiptool -addprocessedimfile -dbname $DBNAME -chip_id $CHIP_ID -class_id $CLASS_ID -fault $EXIT_CRASH_ERR
+    process_exit chipPendingImfile $options:0 $EXIT_CRASH_ERR
   end
 
Index: trunk/ippTasks/pantasks.pro
===================================================================
--- trunk/ippTasks/pantasks.pro	(revision 23916)
+++ trunk/ippTasks/pantasks.pro	(revision 23945)
@@ -24,4 +24,5 @@
 $EXIT_PROG_ERR    = 4
 $EXIT_DATA_ERR    = 5
+$EXIT_CRASH_ERR   = 256
 
 # DB lists the database names in use; the default ipprc database
@@ -377,4 +378,12 @@
   end
 
+  # failure related to pantasks
+  if ($exitCode == $EXIT_CRASH_ERR)
+    # stop
+    showcommand "crash error"
+    book setword $bookName $pageName pantaskState CRASH_ERR
+    return
+  end
+
   # any other exit status
   showcommand failure
@@ -397,4 +406,5 @@
     book delpage $1 -key pantaskState CONFIG_ERR
     book delpage $1 -key pantaskState UNKNOWN_ERR
+    book delpage $1 -key pantaskState CRASH_ERR
   end
 end
