I have found a bug in my code whereas when someone types sedit to edit any given vnum the server crashes. I don't know why, and there is no log entry for the error. I used gdb for anyone that thinks they can figure this one out? Program terminated with signal 11, Segmentation fault. Cannot access memory at address 0x8087080. #0 0x80edd36 in ?? () (gdb) list 173 } 174 175 #endif 176 177 178 int main(int argc, char **argv) 179 { 180 int port; 181 char buf[512]; 182 int pos = 1; (gdb) bt #0 0x80edd36 in ?? () #1 0x8101060 in ?? () #2 0x80acba5 in ?? () #3 0x41f5 in send_to_charf (ch=0x39b200, messg=0x7c4b8 "-- Shop Number : [&C1020&n]\r\n&G0&n) Keeper : [&C-1&n] &YNone\r\n&G1&n) Open 1 : &C 0&n &G2&n) Close 1 : &C 28\r\n &G3&n) Open 2 : &C 0&n &G4&n) Close 2 : &C "...) at comm.c:1766 #4 0x620c9 in sedit_disp_menu (d=0x39c000) at sedit.c:878 #5 0x608cc in sedit_setup_new (d=0x39c000) at sedit.c:149 #6 0x49ae6 in do_olc (ch=0x39b200, argument=0xefbfd8cd " 1020", cmd=238, subcmd=4) at olc.c:260 #7 0x3d12d in command_interpreter (ch=0x39b200, argument=0xefbfd8c8 "sedit 1020") at interpreter.c:688 #8 0x27ad in game_loop (mother_desc=3) at comm.c:675 #9 0x1c1c in init_game (port=4000) at comm.c:285 #10 0x1a82 in main (argc=3, argv=0xefbfdcd4) at comm.c:259 (gdb) info locals No symbol table info available. (gdb) print ch No symbol "ch" in current context. (gdb) print obj No symbol "obj" in current context. (gdb) print vict No symbol "vict" in current context. +------------------------------------------------------------+ | 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/15/00 PST