Hiya, We're experiencing a really weird bug here in our mud. The game keeps crashing in Board_show_board...but we did not recent mods to boards.c or anything. It seems like board_type gets screwed up somehow, but looking at the code I cannot imagine that that could happen. It doesn't happen everytime somebody reads a board..so what i thought first was that its some malloc-related bug (the ones that write into memory some- where that doesnt belong to the routine anymore). But we've now had 3 crashes with the same cause and no others inbetween. Maybe some of you have an idea?? Here are the gdb logs... #0 0x3d758 in Board_show_board (board_type=-2104198380, ch=0x44ec20, arg=0x20205467 <Address 0x20205467 out of bounds>) at boards.c:296 #1 0x3d28c in gen_board (ch=0x44ec20, me=0x433d78, cmd=133, argument=0xeffff524 " board") at boards.c:200 #2 0x4e9d8 in special (ch=0x44ec20, cmd=133, arg=0xeffff524 " board") at interpreter.c:1324 #3 0x4dcfc in command_interpreter (ch=0x44ec20, argument=0xeffff520 "look board") at interpreter.c:870 #4 0x1b73c in game_loop (mother_desc=4) at comm.c:624 #5 0x1aeb8 in init_game (port=4242) at comm.c:283 #6 0x1ae34 in main (argc=2, argv=0xeffffb1c) at comm.c:248 #0 0x3d758 in Board_show_board (board_type=647103208, ch=0x56e758, arg=0x35203134 <Address 0x35203134 out of bounds>) at boards.c:297 if (MSG_HEADING(board_type, i)) #1 0x3d814 in Board_display_msg (board_type=12, ch=0x56e758, arg=0xeffff524 " board") at boards.c:321 #2 0x3d2b4 in gen_board (ch=0x56e758, me=0x445038, cmd=203, argument=0xeffff524 " board") at boards.c:203 #3 0x4e9d8 in special (ch=0x56e758, cmd=203, arg=0xeffff524 " board") at interpreter.c:1324 #4 0x4dcfc in command_interpreter (ch=0x56e758, argument=0xeffff520 "read board") at interpreter.c:870 #5 0x1b73c game_loop (motheresc=4) at comm.c:624 #6 0x1aeb8 in init_game (port=4242) at comm.c:283 #7 0x1ae34 in main (argc=2, argv=0xeffffb1c) at comm.c:248 #0 0x3d758 in Board_show_board (board_type=-2104465276, ch=0x704718, arg=0x2020201f <Address 0x2020201f out of bounds>) at boards.c:299 if (MSG_HEADING(board_type, i)) #1 0x3d814 in Board_display_msg (board_type=1, ch=0x704718, arg=0xeffff524 " board") at boards.c:323 #2 0x3d2b4 in gen_board (ch=0x704718, me=0x435f98, cmd=203, argument=0xeffff524 " board") at boards.c:205 #3 0x4e9d8 in special (ch=0x704718, cmd=203, arg=0xeffff524 " board") at interpreter.c:1324 #4 0x4dcfc in command_interpreter (ch=0x704718, argument=0xeffff520 "read board") at interpreter.c:870 #5 0x1b73c in game_loop (mother_desc=4) at co.c:624 #6 0x1aeb8 in init_game (port=4242) at comm.c:283 #7 0x1ae34 in main (argc=2, argv=0xeffffb1c) at comm.c:248 If any of you have a specific idea, i could provide parts of the code there too. Thomas
This archive was generated by hypermail 2b30 : 12/07/00 PST