Re: Well, loadroom I think

From: Mike Stilson (mike@velgarian.sytes.net)
Date: 11/29/02


On Thu, Nov 28, 2002 at 09:44:23PM -0500, Kevin Dethlefs wrote:
>I get this in GDB every time the MUD crashes it seems to deal with Loadroom.
>
>
>#0  0x8079ede in save_char (ch=0x8191c38, load_room=10000) at db.c:2637
>#1  0x8059d4e in do_save (ch=0x8191c38, argument=0xbffff670 "", cmd=437,
>    subcmd=0) at act.other.c:135
>#2  0x809c58d in command_interpreter (ch=0x8191c38, argument=0xbffff66c
>"save")
>    at interpreter.c:635
>#3  0x806398d in do_force (ch=0x8192710, argument=0xbffffa15 " kaileia save",
>    cmd=175, subcmd=0) at act.wizard.c:1670
>#4  0x809c58d in command_interpreter (ch=0x8192710,
>    argument=0xbffffa10 "force kaileia save") at interpreter.c:635
>#5  0x806f291 in game_loop (mother_desc=3) at comm.c:857
>#6  0x806ea54 in init_game (port=3625) at comm.c:479
>#7  0x806e6d5 in main (argc=3, argv=0xbffffd64) at comm.c:336

Yeah, the error is definitely in save_char().
to be specific it's at line 2637 in db.c which is in your save_char().

>ANyhow, could anyone please tell me whats going on? I really should learn
>coding beyond my current skills.

That went without saying...


Don't thank us yet.
It'd help to see the code that's crashing too.
try "l" from gdb at LEAST for a start.

-me

--
   +---------------------------------------------------------------+
   | 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/25/03 PDT