[LONG]Track Crash

From: Mark Vanness Jr. (junior57@worldnet.att.net)
Date: 06/28/99


User types track qzaydas
MUD Crashes
--------------------------------------

I have looked at the code and see no obvious reason why this would
cause a crash.  Anyone have any ideas?  GDB information follows.

GNU gdb 4.17.0.4 with Linux/x86 hardware watchpoint and FPU support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `circle -C3 4747'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.1...done.
Reading symbols from /lib/libnss_nis.so.1...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /lib/libnss_dns.so.1...done.
Reading symbols from /lib/libresolv.so.2...done.
#0  0x8097601 in VALID_EDGE (x=551, y=4) at graph.c:61
61        valid &= (ROOM_FLAGGED(TOROOM(x, y), ROOM_NOTRACK) ||
IS_MARKED(TOROOM(x, y)));
(gdb) list
56      {
57        int valid = TRUE;
58
59        valid &= (world[x].dir_option[y] == NULL || TOROOM(x, y) ==
NOWHERE);
60        valid &= (track_through_doors == FALSE && IS_CLOSED(x, y));
61        valid &= (ROOM_FLAGGED(TOROOM(x, y), ROOM_NOTRACK) ||
IS_MARKED(TOROOM(x, y)));
62
63        return (valid);
64      }
65
(gdb) print buf
$1 = "\000ord of recall        (superb)\r\n\000maining.\r\nYou know of the
following skills:\r\n\000", '-' <repeats 22 times>, "\r\n\e[0m Name:
\e[36mThaniton is in &Rlove&n...\r\n\e[0m Clan: \e[36m\r\n\e[0m Rank:
\e[36mUninitiated\r\n\e[37m", '-' <repeats 73 times>, "\r\n\e"...
(gdb) print buf2
$2 = "$n leaves south.\000ell u the truth I dont give a rats fat ass to be
beeped all the time\r\n\000", ' ' <repeats 12 times>, "(superb)\r\nbash", '
' <repeats 18 times>, "(superb)\r\nbearhug", ' ' <repeats 15 times>,
"(superb)\r\nbless", ' ' <repeats 17 times>, "(superb)\r\nblindness", ' '
<repeats 13 times>...
(gdb) print buf3
$3 = "(GC) Dreamer used the 'WhoIS' on Thaniton", '\000' <repeats 8150
times>
(gdb) where
#0  0x8097601 in VALID_EDGE (x=551, y=4) at graph.c:61
#1  0x8097785 in find_first_step (src=551, target=2007) at graph.c:129
#2  0x80979bf in do_track (ch=0x833aea8, argument=0xbffffacd " qzaydas",
cmd=316, subcmd=0) at graph.c:197
#3  0x809d021 in command_interpreter (ch=0x833aea8, argument=0xbffffac8
"track qzaydas") at interpreter.c:784
#4  0x8082d18 in game_loop (mother_desc=3) at comm.c:851
#5  0x808255a in init_game (port=4747) at comm.c:482
#6  0x80824af in main (argc=3, argv=0xbffffe24) at comm.c:442
(gdb)

-----------------------------------------------------------------------
Mark W. Vanness Jr.
Funcity - Technical Support
Junior57 Productions - President
-----------------------------------------------------------------------

Funcity - http://www.funcity.org
J57Prod - http://none.yet.net


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



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