Re: [REQADM-Users-L] REQADM on NetBSD
Brought to you by:
rcopeland101,
slw
|
From: Tom I. H. <ti...@eu...> - 2003-12-20 19:06:50
|
Steve Willoughby <st...@al...> writes:
> Okay, now that's strange then. Let me see if I can figure out how
> this could have happened.
Looks like corruption of the malloc arena:
#0 0x08061bdb in ConfigItemTable::findItem(unsigned long) (this=0x824fc20,
id=1095258964) at config.cc:87
87 if (n->ID == id) return n;
(gdb) print n
$1 = (ConfigItemNode *) 0x1
(gdb) print id
$2 = 1095258964
(gdb) print ConfigHashSize
$42 = 32
(gdb) print id % ConfigHashSize
$44 = 20
(gdb) print table[20]
$45 = (ConfigItemNode *) 0x852d330
(gdb) print *table[20]
$46 = {ID = 139026144, value = {number = 139584136,
string = 0x851e288 "\002"}, next = 0x1}
Since 'next' can, from inspection of the code, not be set to 1,
something seems to have stomped on parts of the memory involved.
I'll do some more digging.
-tih
--
Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway
www.eunet.no T: +47-22092958 M: +47-93013940 F: +47-22092901
|