NPC Classes segfault trace

From: AJ (mielikki@exilemud.com)
Date: 10/25/01


Ok, I got my gdb to work, finally, and now I cannot figure out what this
thing wants me to do. I have put this all in four times now, using the
advice given here, and it still calls these same errors.

Program received signal SIGSEGV, Segmentation fault.

0x61082d7d in _libkernel32_a_iname ()

(gdb) bt

#0 0x61082d7d in _libkernel32_a_iname ()

#1 0x0022f28c in ?? ()

#2 0x61086213 in _libkernel32_a_iname ()

#3 0x6108581b in _libkernel32_a_iname ()

#4 0x6108297f in _libkernel32_a_iname ()

#5 0x00483ef8 in medit_disp_class (d=0xa238b00) at medit.c:340

**

/*

* Display class flags menu.

*/

void medit_disp_class_flags(struct descriptor_data *d)

{

int i;


get_char_colors(d->character);

send_to_char(" [H [J", d->character);

for (i = 0; i < NUM_NPC_CLASS; i++)

{ sprintf(buf, "%s%2d%s) %s\r\n",

grn, i, nrm, npc_class_types[i]);

send_to_char(buf, d->character);

}

send_to_char("Enter class type : ", d->character);

}

#6 0x0048506b in medit_parse (d=0xa238b00, arg=0x22fc04 "n") at medit.c:680

**

case 'n':

case 'N':

OLC_MODE(d) = MEDIT_CLASS;

medit_disp_class_flags(d);

return;**

#7 0x0047ece0 in nanny (d=0xa238b00, arg=0x22fc04 "n") at interpreter.c:1438

#8 0x0043fef6 in game_loop (mother_desc=3) at comm.c:738

#9 0x0043f210 in init_game (port=4000) at comm.c:365

#10 0x0043f0a7 in main (argc=1, argv=0xa011238) at comm.c:329

#11 0x6100401e in _libkernel32_a_iname ()

#12 0x6100421d in _libkernel32_a_iname ()

#13 0x6100425c in _libkernel32_a_iname ()

#14 0x004a8a8b in cygwin_crt0 () at /cygnus/netrel/src/cygwin-1.3.3-2/winsup/cygwin/lib/cygwin_crt0.c:33



If You guys will help me with this one last step (hey I am an optimist, it has to work after all this) I promise to help by writing up all that was done and posting it to the ftp site. heheh either that or an area. Thanks guys, you are a great bunch of people to be willing to help with this tedious task.



AJ

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST