bad odb errors when starting run

Issue #9 resolved
dd1 created an issue

When running S1249, we periodically see errors from bad odb contents, as attached below. I suspect they show up when the root analyzer is killed for failing to respond to run transitions. Most likely cause is race condition between client data deleted in /system and cm_transition() still holding hkey references to this deleted data. K.O.

Fri Oct 11 08:50:12 2013 [mhttpd,INFO] Run #2464 started Fri Oct 11 08:50:12 2013 [mhttpd,ERROR] [odb.c:1683:db_create_key,ERROR] key has no subkeys Fri Oct 11 08:50:12 2013 [mhttpd,ERROR] [odb.c:2171:db_find_key,ERROR] hkey 189552 invalid key type 792 Fri Oct 11 08:49:58 2013 [rootana,INFO] Program rootana on host ladd05 stopped Fri Oct 11 08:49:58 2013 [rootana,INFO] client [ladd05.triumf.ca]rootana failed watchdog test after 60 sec