see that obj=0x0 that means obj is pointing to NULL. so if you try obj->something it will crash. --Angus ______________________________ Forward Header __________________________________ Subject: Idle Author: INTERNET:darkness@gremlin.draper.net at CSERVE Date: 11/6/97 9:25 PM GDB 4.16 (i586-unknown-linux), Copyright 1996 Free Software Foundation, Inc... Core was generated by `bin/circle -q 4002'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libcrypt.so.1...done. Reading symbols from /lib/ld-linux.so.1...done. #0 Idle_eq_remove (ch=0x84bcdc8, obj=0x0, nitems=0xbffff78c) at objsave.c:1017 1017 if ((GET_OBJ_TYPE(obj) == ITEM_WEAPON) || (gdb) +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST