[GDB] Help Required

From: Julian Buckley (s348266@student.uq.edu.au)
Date: 04/19/99


Hello:

I got this output from gdb when it crashed today, but I've really got no
idea exactly what's crashing it...I haven't changed anything relating to
any of the logging functions...

#0  0xef663f30 in strcmp ()
(gdb) bt
#0  0xef663f30 in strcmp ()
#1  0xef6924c8 in _tzload ()
#2  0xef691264 in _ltzset_u ()
#3  0xef6906ac in localtime_u ()
#4  0x68298 in basic_mud_log (str=0xeffff4d8 "nusage: 2   sockets connected, 2   sockets playing")
    at utils.c:133
#5  0x20aec in record_usage () at comm.c:922
#6  0x20940 in heartbeat (pulse=45000) at comm.c:848
#7  0x2061c in game_loop (mother_desc=3) at comm.c:759
#8  0x1f9b8 in init_game (port=1500) at comm.c:317
#9  0x1f93c in main (argc=3, argv=0xeffffd64) at comm.c:256


At and around #4 is:
#4  0x68298 in basic_mud_log (str=0xeffff4d8 "nusage: 2   sockets connected, 2   sockets playing")
    at utils.c:133
133       tmstr = asctime(localtime(&ct));
(gdb) list
128     {
129       time_t ct;
130       char *tmstr;
131
132       ct = time(0);
133       tmstr = asctime(localtime(&ct));
134       *(tmstr + strlen(tmstr) - 1) = '\0';
135       fprintf(stderr, "%-19.19s :: %s\n", tmstr, str);
136     }
137


Any ideas?


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST