[GDB] [Debuging] Mud crashing on char loading.

From: Jason Ragsdale (jrags@yahoo.com)
Date: 01/25/03

   I am looking for a bit of GDB help, my mud is
crashing on character loading (upon entering the game)
and i cannot seem to figure out why, i have included
the GDB info from a crash, it stays the same every
time and with different chars. Any clue on how i can
get a start on tracking down this issue? Thanks in

P.S. the errors point to save_char_vars for
dg_scripts.c, there have been no changes to dg_scripts
in atleast 2 months.

GDB of bin/circle:

Program received signal SIGSEGV, Segmentation fault.
0x080c8cf5 in save_char_vars (ch=0x84157d0) at
3127      if (ch->script->global_vars == NULL) return;

(gdb) bt
#0  0x080c8cf5 in save_char_vars (ch=0x84157d0) at
#1  0x08086bea in save_char (ch=0x84157d0,
load_room=-1) at db.c:2250
#2  0x08099a4c in nanny (d=0x84120b0, arg=0xbffff760
"1") at interpreter.c:1805
#3  0x0807e022 in game_loop (mother_desc=5) at
#4  0x0807d75e in init_game (port=4400) at comm.c:370
#5  0x0807d6b4 in main (argc=3, argv=0xbffffb34) at
#6  0x42017589 in __libc_start_main () from

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |

This archive was generated by hypermail 2b30 : 06/26/03 PDT