Prior to my logon issue I was having some trouble where I would logon successfully to the MUD (local version) and, after a whilee the MUD would crash. Now that my logon issue appears to be resolved the random crashing issue persists. I've pasted some details from the gdb output below. I'll include the backtrace later. Anyhow, it appears to have something to do with the DG Script.
Sorry I'm doing this between my phone and my server. I don't have constant access to the internet ATM.
Code:
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.8"...
Core was generated by `circle'.
Program terminated with signal 10, Bus error.
Loaded symbols for <snipped>/bin/circle
Reading symbols from /usr/lib/libc.so.79.0...done.
Loaded symbols for /usr/lib/libc.so.79.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
#0 0x00001f27e9c51220 in timer_otrigger (obj=0x0) at dg_triggers.c:659
659 if (TRIGGER_CHECK(t, OTRIG_TIMER)) {
(gdb)
When I list the code around the deepest level of the crash:
Code:
#0 0x00001f27e9c51220 in timer_otrigger (obj=0x0) at dg_triggers.c:659
659 if (TRIGGER_CHECK(t, OTRIG_TIMER)) {
(gdb) list
654
655 if (!SCRIPT_CHECK(obj, OTRIG_TIMER))
656 return;
657
658 for (t = TRIGGERS(SCRIPT(obj)); t; t = t->next) {
659 if (TRIGGER_CHECK(t, OTRIG_TIMER)) {
660 script_driver(&obj, t, OBJ_TRIGGER, TRIG_NEW);
661 }
662 }
663
The aforepromised backtrace.
Code:
(gdb) bt
#0 0x00001f27e9c51220 in timer_otrigger (obj=0x0) at dg_triggers.c:659
#1 0x00001f27e9d29707 in point_update () at limits.c:456
#2 0x00001f27e9d9030c in heartbeat (heart_pulse=750) at comm.c:1006
#3 0x00001f27e9d900a2 in game_loop (local_mother_desc=3) at comm.c:946
#4 0x00001f27e9d8f0b2 in init_game (local_port=4000) at comm.c:534
#5 0x00001f27e9d8e83f in main (argc=3, argv=0x7f7ffffe50f8) at comm.c:354
(gdb)