version 1.78 | | version 1.79 |
---|
| | |
/* | | /* |
* static char *rcsid_main_c = | | * static char *rcsid_main_c = |
* "$Id: main.c,v 1.78 2004/04/03 08:05:25 mwedel Exp $"; | | * "$Id: main.c,v 1.79 2004/05/09 08:03:57 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
continue; | | continue; |
} | | } |
| | |
| | /* I've seen occasional crashes due to this - the object is removed, |
| | * and thus the map it points to (last map it was on) may be bogus |
| | * The real bug is to try to find out the cause of this - someone |
| | * is probably calling remove_ob without either an insert_ob or |
| | * free_object afterwards, leaving an object dangling. But I'd |
| | * rather log this and continue on instead of crashing. |
| | */ |
| | if (QUERY_FLAG (op, FLAG_REMOVED)) { |
| | LOG (llevError, "BUG: process_events(): Removed object on list\n"); |
| | dump_object(op); |
| | free_object(op); |
| | continue; |
| | } |
| | |
if ( ! op->speed) { | | if ( ! op->speed) { |
LOG (llevError, "BUG: process_events(): Object %s has no speed, " | | LOG (llevError, "BUG: process_events(): Object %s has no speed, " |
"but is on active list\n", op->arch->name); | | "but is on active list\n", op->arch->name); |