Re: net-snmpd 5.3.0.1 crashes in disman mib

2006-02-01 Thread Robert Story
On Wed, 1 Feb 2006 15:23:25 -0500 Robert wrote: RS> MR> changing the length to size_t fixed the crashes.:) RS> RS> That makes no sense to me. The compiler ought to know the sizes of things RS> and convert. There's no blind casting to confuse things... But... table_tdata.c:49: warning: passing ar

Re: net-snmpd 5.3.0.1 crashes in disman mib

2006-02-01 Thread Robert Story
On Wed, 1 Feb 2006 20:25:35 +0100 Marcus wrote: MR> the function definition of of netsnmp_tdata_row_get_byoid got me on the MR> right track: MR> [[[ MR> /** finds a row in the 'tdata' table given the index OID */ MR> netsnmp_tdata_row * MR> netsnmp_tdata_row_get_byoid(netsnmp_tdata *table, MR>

Re: net-snmpd 5.3.0.1 crashes in disman mib

2006-02-01 Thread Marcus Rueckert
On 2006-02-01 17:25:04 +, Dave Shield wrote: > it's objecting to, and how far through it gets. > Could you perhaps try adding a debug print statement > to that loop, that would indicate the value of the > "oid_index" OID array at the point at which it fails. while figuring out the best params

Re: net-snmpd 5.3.0.1 crashes in disman mib

2006-02-01 Thread Marcus Rueckert
On 2006-02-01 17:25:04 +, Dave Shield wrote: > H... that's a pity. The stack trace is only > going to be of limited use. It would be helpful to > know which bit of > > row->oid_index.oids[row->oid_index.len]++; > > it's objecting to, and how far through it gets. > Could you perha

Re: net-snmpd 5.3.0.1 crashes in disman mib

2006-02-01 Thread Dave Shield
On Wed, 2006-02-01 at 17:25 +0100, Marcus Rueckert wrote: > after this patch i encountered a second crash in > > agent/mibgroup/disman/event/mteObjects.c:164 > > i have attached the stacktrace of thise crash to this mail. > sadly i cant run the binary in gdb for debugging it directly. H...

net-snmpd 5.3.0.1 crashes in disman mib

2006-02-01 Thread Marcus Rueckert
hi, while upgrading our rpm to net-snmp 5.3.0.1 i encountered net-snmp crashes in the test suite on ppc64 and s390x. both are bigendian. it works fine so far on ix86, x86_64, pcc, s390 and ia64. after some debugging and reading we fixed the first issue: [[[ Index: agent/agent_registry.c ===