Re: Autorun Segmentation Fault [LONG]

From: Josh Harris (jharris2@ACSU.BUFFALO.EDU)
Date: 08/22/02


is what I get when I do frame 2 then list

 0x0807bd23 in fread_string (fl=0x80e74c8, error=0x80da360 "room #0") at
db.c:2271
2271        CREATE(rslt, char, length + 2);
(gdb) l
2266        }
2267      } while (!done);
2268
2269      /* allocate space for the new string and copy it */
2270      if (strlen(buf) > 0) {
2271        CREATE(rslt, char, length + 2);
2272        strcpy(rslt, buf);
2273      }  else
2274        rslt = NULL;
2275

no it's not stock code.  I've changed db.c, and others a lot.  I was
running the mud on my home computer (Win98 system w/ cygwin) and it
compiled and ran.  Then I got a webserver(Linux) and uploaded it there.

Thanks for your help

--
   +---------------------------------------------------------------+
   | 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