Kevin R. Bulgrien wrote: > Program received signal SIGSEGV, Segmentation fault. > 0x00000000 in ?? () > (gdb) where > #0 0x00000000 in ?? () > #1 0x08052134 in attack_ob_simple (op=0x8a68b90, hitter=0x8121ed0, > base_dam=16, base_wc=6) at attack.c:627 > #2 0x0805254b in attack_ob (op=0x8a68b90, hitter=0x8121ed0) at attack.c:768 > #3 0x0807bb84 in do_skill_attack (tmp=0x8a68b90, op=0x8121ed0, string=0x0) > at skill_util.c:1476 > #4 0x08070554 in move_player_attack (op=0x8121ed0, dir=3) at player.c:1762 > #5 0x080706b9 in move_player (op=0x8121ed0, dir=3) at player.c:1798 > #6 0x08059739 in move_internal (op=0x8121ed0, params=0x0, dir=3) > at c_move.c:48 > #7 0x08059765 in command_east (op=0x8121ed0, params=0x0) at c_move.c:54 > #8 0x08059aaa in execute_newserver_command (pl=0x8121ed0, > command=0xbffff530 "east") at c_new.c:112 > #9 0x080c2881 in NewPlayerCmd (buf=0x8698af7 "", len=10, pl=0x40241008) > at request.c:347 > #10 0x080c0d50 in HandleClient (ns=0x4024100c, pl=0x40241008) at loop.c:361 > #11 0x080c1461 in doeric_server () at loop.c:611 > #12 0x08068ebf in main (argc=1, argv=0xbffff954) at main.c:1156 > #13 0x400a4280 in __libc_start_main () from /lib/libc.so.6 > (gdb) Line 627 in attack.c is: (PlugList[findPlugin(hitter->current_weapon->event_plugin[k])].eventfunc) (&CFP); So my guess is that event_plugin is set for the weapon, but there is no plugin by that name. Might be useful to do a : print *hitter->current_weapon My guess is that the event pointers for the weapon are bogus, so it is trying to execute a null function.