I'm having some very odd problems. Lets say I rm *.o and compile my mud, run the mud, everything's fine as can be. Lets say I edit something totally insignificant in structs.h (I mean, even maybe adding an extra blank line or deleting a blank line) and do a make and it recompiles. If I do *anything* to structs.h (be it a functional difference or cosmetic) and recompile I get seg faults out the rear... It always happens in the same place: Program terminated with signal 11, Segmentation fault. #0 0x945a1 in cmd_otrig (obj=0x1, actor=0x5cee00, cmd=0xbf464 "l", argument=0xefbfd771 "", type=1) at dg_triggers.c:489 489 if (obj && SCRIPT_CHECK(obj, OTRIG_COMMAND)) (gdb) Remember, I'm not changing ANYTHING except changing the file size so it'll recompile. Here's the whole bt: Program terminated with signal 11, Segmentation fault. #0 0x945a1 in cmd_otrig (obj=0x1, actor=0x5cee00, cmd=0xbf464 "l", argument=0xefbfd771 "", type=1) at dg_triggers.c:489 #1 0x946ab in command_otrigger (actor=0x5cee00, cmd=0xbf464 "l", argument=0xefbfd771 "") at dg_triggers.c:513 #2 0x5fce1 in command_interpreter (ch=0x5cee00, argument=0xefbfd770 "l") at interpreter.c:856 #3 0x232d in game_loop (mother_desc=3) at comm.c:635 #4 0x1a16 in init_game (port=4020) at comm.c:324 #5 0x15a0 in main (argc=3, argv=0xefbfdb30) at comm.c:207 (gdb) (gdb) print *obj Cannot access memory at address 0x1. Odd, huh? Ok, lets go even further. Without editting ANYTHING, I rm *.o again, and do a make from scratch. Load up the mud, and it's fine. This has got me completely stumped. Remember I change NOTHING! Essentially I'm just changing the file size of structs.h by a byte or 2. Help :/ Melen Allanthya.org 4000 +------------------------------------------------------------+ | 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