Hey All We're currently looking so much at corefiles that we are blue in the face (or black/white, you decide.. :), since we're having mysterious crashes when people edit new rooms. This is a new crash and as soon as I have some more information, I might ask about this... BUT!! The other day, one of our players type 'get coins from corpse' should be pretty much straightforward, *BOOM* Mud crashes, very big ponder about this one.. So, my trusty (And wellused) gdb got fired up once again to reveal the following: (gdb) bt #0 0x804cd87 in perform_act (orig=0x81370e5 "p.", ch=0x863a8e8, obj=0x86191b8, vict_obj=0x0, to=0x863a8e8) at comm.c:2033 #1 0x804cf71 in act (str=0x81370c0 "There doesn't seem to be a coins in $p.", hide_invisible=0, ch=0x863a8e8, obj=0x86191b8, vict_obj=0x0, type=4) at comm.c:2086 #2 0x805d57e in get_from_container (ch=0x863a8e8, cont=0x86191b8, arg=0xbffff4a8 "coins", mode=8, howmany=1) at act.item.c:223 #3 0x805dc7c in do_get (ch=0x863a8e8, argument=0xbffff6ab " coins from corpse", cmd=136, subcmd=0) at act.item.c:354 #4 0x8089c3d in command_interpreter (ch=0x863a8e8, argument=0xbffff6a8 "get coins from corpse") at interpreter.c:796 --- More #5 0x804a53b in game_loop (mother_desc=4) at comm.c:689 #6 0x8049a89 in init_game (port=4000) at comm.c:296 #7 0x80499ee in main (argc=3, argv=0xbffffc64) at comm.c:263 #8 0x4005bcb3 in __libc_start_main (main=0x8049784 <main>, argc=3, argv=0xbffffc64, init=0x8048fb8 <_init>, fini=0x80d2f14 <__do_global_ctors_aux+36>, rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffc5c) at ../sysdeps/generic/libc-start.c:78 Hmm, what? perform_act is acting (pun intended) up?? Fortunately that is easily tested, so we go into the mud and type 'get coins corpse', this time no crash (Even more confusing). Back to the corefile (gdb) frame 1 #1 0x804cf71 in act (str=0x81370c0 "There doesn't seem to be a coins in $p.", hide_invisible=0, ch=0x863a8e8, obj=0x86191b8, vict_obj=0x0, type=4) at comm.c:2086 (gdb) print *obj $3 = {item_number = -1, in_room = 153, obj_flags = {value = {0, 0, 0, 1}, type_flag = 15 '\017', wear_flags = {1, 0, 0, 0}, extra_flags = {8, 0, 0, 0}, weight = 200, level = 0, cost = 0, cost_per_day = 100000, timer = 5, bitvector = {0, 0, 0, 0}, curr_slots = 0, total_slots = 0, material = 0}, affected = {{ location = 0 '\000', modifier = 0 '\000'}, {location = 0 '\000', modifier = 0 '\000'}, {location = 0 '\000', modifier = 0 '\000'}, {location = 0 '\000', modifier = 0 '\000'}, {location = 0 '\000', modifier = 0 '\000'}, {location = 0 '\000', modifier = 0 '\000'}}, name = 0x8619270 "corpse", description = 0x8619280 "The corpse of the magnificent stallion is lying here.", short_description = 0x0, action_description = 0x0, ex_description = 0x0, carried_by = 0x0, worn_by = 0x0, worn_on = 0, in_obj = 0x0, contains = 0x0, id = 406116, proto_script = 0x0, script = 0x0, next_content = 0x0, next = 0x85dafa0} Erh, So.. this .. no.. I cannot make any sense of this at all.. Any takers for clues? Any input/suggestions would be greatly appreciated.. :) /Serces "The Law of Self Sacrifice" When you starve with a tiger, the tiger starves last. +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT