Error in Portal Spell

From: Bobby L. Russ (russ@eng.usf.edu)
Date: 08/18/00


        I have gotten this to work on my home version of the MUD, but when I tried to use it on a similarly
configured machine it crashes the MUD.  Any suggestions on how to fix this problem would be appreciated.

Bobby

This GDB was configured as "i386-redhat-linux"...
Core was generated by `bin/circle -q 4000'.
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.2...done.
#0  0x80a4e0f in spell_portal (level=34, ch=0x830b728, victim=0x829e430,
    obj=0x0) at spells.c:445
445       GET_OBJ_VAL(portal, 0) = victim->in_room;
(gdb) bt
#0  0x80a4e0f in spell_portal (level=34, ch=0x830b728, victim=0x829e430,
    obj=0x0) at spells.c:445
#1  0x80a2522 in call_magic (caster=0x830b728, cvict=0x829e430, ovict=0x0,
    spellnum=57, level=34, casttype=0) at spell_parser.c:297
#2  0x80a2b40 in cast_spell (ch=0x830b728, tch=0x829e430, tobj=0x0,
    spellnum=57) at spell_parser.c:515
#3  0x80a3282 in do_cast (ch=0x830b728, argument=0xbfffd8dc " ", cmd=38,
    subcmd=0) at spell_parser.c:686
#4  0x808a9ba in command_interpreter (ch=0x830b728,
    argument=0xbfffd8d8 "cast ") at interpreter.c:765
#5  0x8073f5b in game_loop (mother_desc=3) at comm.c:727
#6  0x8073608 in init_game (port=4000) at comm.c:357
#7  0x8073585 in main (argc=3, argv=0xbffffb64) at comm.c:321


     +------------------------------------------------------------+
     | 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 : 04/11/01 PDT