RE: optimized compile causes problems

2011-01-18 Thread Judith Walker
I found the problem. It of course was a bug that just shows itself differently when you compile with different optimization. So, problem is resolved. I used a good gnu tool called valgrind to help me figure it out. Judy From: Judith Walker [mailto:[email protected]] Sent: Monday, Januar

Re: catching DEBUGMSG in my own mib module

2011-01-18 Thread Dave Shield
On 18 January 2011 15:30, Egor wrote: > When I try to start by command: >         /usr/sbin/snmpd -Lf /var/snmpdlog -p /var/run/snmp.pid -DALL What happens if you try with /usr/sbin/snmpd -Lf /var/snmpdlog -p /var/run/snmp.pid -Dtoken ? (where "token" matches the entry from your DEBUGMSG l

catching DEBUGMSG in my own mib module

2011-01-18 Thread Egor
I make my own mib module, but it craches sure when i try to receive some information from him, so I have a lot of DEBUGMSG(( token, format, ...)) in my code. I will not show code, because it doesn't matter, I have to find a way catch those debugmessages. I start a snmpd 5.4.2.1 by command: /usr/sb