Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

core dump




Also, forgot to mention that I get core dumps;

() at 0x35004
add_string(str = (nil)), line 111 in "shstr.c"
attack_ob(op = 0xbf598, hitter = 0xc4574), line 310 in "main.c"
move_monster(op = 0xc4574), line 475 in "main.c"
process_events(), line 1776 in "main.c"
main(argc = 1, argv = 0xf7fffab4, env = 0xf7fffabc), line 2018 in "main.c"

Obviously, add_string isn't prepared to deal with null pointers.  Perhaps all
this needs is an if (!str) return;.

I'll keep this corefile around.  If somebody in the know wants to ask about
the contents of various structs involved, I will be more than happy to oblige.

It's beyond me what that first line means.  Maybe the symbol table is
corrupted or something.  I guess I'll try recompiling and see if that helps.

--joe