On 2006-02-01 17:25:04 +0000, Dave Shield wrote:
> Hmmmm... 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 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.
i will look into it. thanks for the fast reply.
> Just out of interest, why is it not possible to
> run this under gdb? It would make tracking down
> the problem *much* easier!
[[[
Starting program: /usr/sbin/snmpd -f -d -r -U -p
/tmp/snmp-test-1-15097/snmpd.pid -Lf /tmp/snmp-test-1-15097/snmpd.log -C -c
/tmp/snmp-test-1-15097/snmpd.conf udp:8780
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: Breakpoint address adjusted from 0x10019318 to 0x100038cc.
[Thread debugging using libthread_db enabled]
[New Thread 549770349056 (LWP 7212)]
Warning:
Cannot insert breakpoint -2.
Error accessing memory address 0x99d0: Input/output error.
Cannot insert breakpoint -3.
Error accessing memory address 0x99e0: Input/output error.
]]]
will report back in a bit
marcus
--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders