Re: Autorun Segmentation Fault [LONG]

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


Sorry I didn't include those, that was my first time using gdb abd I was
trying to figure it out.

But here's the output of everything I can come up with. .


COMMAND:  ./autorun

./autorun: line 166:  2887 Segmentation fault      bin/circle $FLAGS $PORT
>>syslog 2>&1


COMMAND:  gdb on bin/circle


Using file descriptor for logging.
Aug 22 11:33:00 :: CircleMUD, version 3.00 beta patchlevel 17
Aug 22 11:33:00 :: Using lib as data directory.
Aug 22 11:33:00 :: Running game on port 4000.
Aug 22 11:33:00 :: Finding player limit.
Aug 22 11:33:00 ::    Setting player limit to 300 using rlimit.
Aug 22 11:33:00 :: Opening mother connection.
Aug 22 11:33:00 :: Binding to all IP interfaces on this host.
Aug 22 11:33:00 :: Boot db -- BEGIN.
Aug 22 11:33:00 :: Resetting the game time:
Aug 22 11:33:00 ::    Current Gametime: 22H 22D 8M 354Y.
Aug 22 11:33:00 :: Reading news, credits, help, bground, info & motds.
Aug 22 11:33:00 :: Loading spell definitions.
Aug 22 11:33:00 :: Loading zone table.
Aug 22 11:33:00 ::    31 zones, 868 bytes.
Aug 22 11:33:00 :: Loading rooms.
Aug 22 11:33:00 ::    1881 rooms, 120384 bytes.

Program received signal SIGSEGV, Segmentation fault.
chunk_alloc (ar_ptr=0x40189620, nb=17) at malloc.c:2990
2990    malloc.c: No such file or directory.
        in malloc.c


COMMAND:   bt on bin/circle

#0  chunk_alloc (ar_ptr=0x40189620, nb=17) at malloc.c:2990
#1  0x400d6b47 in __libc_calloc (n=9, elem_size=1) at malloc.c:3844
#2  0x0807bd5f in fread_string (fl=0x80e8228, error=0x80db0c0 "room #0")
    at db.c:2272
#3  0x08078481 in parse_room (fl=0x80e8228, virtual_nr=0) at db.c:785
#4  0x08078270 in discrete_load (fl=0x80e8228, mode=0,
    filename=0x80db0c0 "room #0") at db.c:723
#5  0x0807805d in index_boot (mode=0) at db.c:651
#6  0x080772a8 in boot_world () at db.c:250
#7  0x08077462 in boot_db () at db.c:303
#8  0x08072a87 in init_game (port=4000) at comm.c:440
#9  0x0807275a in main (argc=1, argv=0xbffffb14) at comm.c:328
#10 0x40071507 in __libc_start_main (main=0x8072458 <main>, argc=1,
    ubp_av=0xbffffb14, init=0x8049004 <_init>, fini=0x80a7a90 <_fini>,
    rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffffb0c)
    at ../sysdeps/generic/libc-start.c:129

COMMAND: l 20 on bin/circle

15      in malloc.c


That's all the messages I've gotten all all those commands.  Thanks.

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