Re: Mystery crashes

From: Angus Mezick (angus@EDGIL.CCMAIL.COMPUSERVE.COM)
Date: 06/05/98

1) Yup, a UNIX command,(which shell are you using) try:
Unix> limit
and then for each entry (eg coredumpsize)
Unix> limit coredumpsize unlimited

3) I could almost be you or overwriting memory in some nasty way for this error
to occur.

4) gcc --version

______________________________ Reply Separator _________________________________
Subject: Re:  Mystery crashes
Date:    6/5/98 8:38 AM

>1) make sure you type unlimit before you run the mud.
  Err... forgive my ignorance, but is that a UNIX command?
  It doesn't recognize it as a command... do I type it at the prompt?

>2) You did make clean and then rebuilt after you moved, right? (kinda like
>asking if it is plugged in)
  Yes, I did...

>3) This happens when the mud run? and is it always crashing in this exact
  Yes, it happens when the mud is running. In different places all the
  time, but they all seem to be in objsave.c, having to do with saving
  information... I never touched any of those functions, though...
  Here's what gdb came up with for the latest crash:

Core was generated by `circle'.
Program terminated with signal 11, Segmentation fault.
Cannot access memory at address 0x20086080.
#0  House_save_all () at house.c:570
570     {
(gdb) where
#0  House_save_all () at house.c:570
#1  0x291d in game_loop (mother_desc=3) at comm.c:723
#2  0x1bcc in init_game (port=2345) at comm.c:279
#3  0x1a32 in main (argc=3, argv=0xefbfdd54) at comm.c:249
(gdb) list
565     /* Misc. administrative functions */
568     /* crash-save all the houses */
569     void House_save_all(void)
570     {
571       int i;
572       sh_int real_house;
574       for (i = 0; i < num_of_houses; i++)

>No one rebuilt the mud while you weren't looking and you are now running
gdb on
>new source and old core?
  No, running gdb on the current source and current core...

>4) what compilier/version are you using?
  I'm using gcc (comes with the shell I have)... not sure what version,
  can't find it anywhere...

I really hope this helps you help me, because I have no idea what's going on.

Havoc of Dagmarck (Mark Gerritsen)

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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