On 7/4/98 5:35 PM, Chuck Reed (master@I-55.COM) stated:
>I'm getting a wierd crash that lags a good while before it crashes, so I'm
>assuming there's a infinite loop getting caught somewhere. Just wondering
>if this gdb input might help out in my finding of the prob
Yes - checkpointing() is the VTAlarm signal handler to catch infinite
loops.
>Program terminated with signal 6, Abort trap.
>#0 0xb39f5 in __svfprintf ()
>(gdb) bt
>#0 0xb39f5 in __svfprintf ()
>#1 0x4a9b in checkpointing () at comm.c:1688
>#2 <signal handler called>
>#3 0x5819 in act (str=0xbf0c00 "\013\003", hide_invisible=13450240, ch=0x10,
> obj=0xefbfaea4, vict_obj=0xefbfaea4, type=13450240) at comm.c:2004
>#4 0x5d25c in Crash_clean_file (name=0xbf0c00 "\013\003") at objsave.c:203
>#5 0x5d7de in auto_equip (ch=0xbf0c00, obj=0xbc9800, locate=13074432)
> at objsave.c:396
>#6 0x4eb4d in nanny (d=0xbc9800, arg=0xefbfd790 "1") at interpreter.c:1984
>#7 0x2022 in game_loop (mother_desc=3) at comm.c:603
>#8 0x15fe in init_game (port=4000) at comm.c:247
>#9 0x1500 in main (argc=2, argv=0xefbfdb8c) at comm.c:217
IMHO, chances are the loop is in #4 - Crash_clean_file() - or #5 -
auto_equip().
- Chris Jacobson
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST