I tried it on a stock AFK, this is what i got
#0 0x08091720 in wear_obj (ch=0x8809298, obj=0x8809c90, fReplace=true,
wear_bit=-1) at act_obj.c:1661
1661 if( IS_OBJ_FLAG( tmpobj, ITEM_TWOHAND ) )
(gdb) bt
#0 0x08091720 in wear_obj (ch=0x8809298, obj=0x8809c90, fReplace=true,
wear_bit=-1) at act_obj.c:1661
#1 0x08091907 in do_wear (ch=0x8809298, argument=Variable "argument" is not available.
) at act_obj.c:2181
#2 0x08117e68 in interpret (ch=0x8809298, argument=0xbff88e75 "camp"
at interp.c:967
#3 0x080e0c81 in game_loop () at comm.c:4251
#4 0x080e0fbc in main (argc=2, argv=0xbff89734) at comm.c:4758
Current language: auto; currently c++