This is completely baffling me, and a couple people I
know, so here I go. Lately, I've been having alot of
problems with players signing on and off and such,
anyone that hasn't been on in 5/10 minutes seems to
crash it (but not always) I narrowed it down to
descriptor_data, then to obj_data and it seems to
really be the same problem. I think that somehow the
line *obj = obj_zero isn't working all the time.
heres a gdb of a 'faulty time'
Breakpoint 1, new_obj () at recycle.c:677
677 if (obj_free == NULL)
(gdb) next
681 obj = obj_free;
(gdb)
682 obj_free = obj_free->next;
(gdb)
684 *obj = obj_zero;
(gdb)
685 VALIDATE(obj);
(gdb) p *obj
$17 = {next = 0x20656874, next_content = 0x74736574,
contains = 0x20200a2e,
in_obj = 0x69646e65, on = 0x6e650a66, carried_by =
0xa666964,
extra_descr = 0x20626f6d, affected = 0x67726f66,
pIndexData = 0x24207465,
in_room = 0xb000a6e, in_wild = 0x64401e8e,
event_first = 0x79616c65,
remembered = 0x690a3220, oprog_target = 0x6c702066,
book = 0x72657961,
valid = 115 's', enchanted = 32 ' ', coord =
{538970672, 1836019570},
owner = 0x68636520 <Address 0x68636520 out of
bounds>,
name = 0x6d7b206f <Address 0x6d7b206f out of
bounds>,
short_descr = 0x696b2041 <Address 0x696b2041 out of
bounds>,
description = 0x202c646e <Address 0x202c646e out of
bounds>, wear_msg = {
0x70656564 <Address 0x70656564 out of bounds>,
0x696f7620 <Address 0x696f7620 out of bounds>,
0x65206563 <Address 0x65206563 out of bounds>,
0x656f6863 <Address 0x656f6863 out of bounds>},
item_type = 8307,
item_flags = 1735749490, protect_flags = 1752440936,
wear_loc = 1869881445,
worn = 544367991, armor_side = 1229814562, weight =
8294, size = 28537,
cost = 1701980021, condition = 26656, material =
30305, timer = 28265,
value = {1970238068, 744844386, 1937074720,
2037653620, 2065720688,
1497453383, 1818585120, 541948784, 543452769,
543516788}}
(gdb) next
Now that leads to a crash... Now most of the time,
when i print *obj after that line its great everything
is 0s and NULLs like they should be. I have no idea
why it would do this, and I'll gladly post anything
else anyone could use to help out with this.
Thanks in advance.
Josh
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com