I ran the agent in GDB, and was able to fix the problem.
A very basic mistake .. declaring a string using "char 
*text" and subsequently using it without initialization. 
This was causing a stack overflow randomly.

Thanks for all your help.
Ayan

On Fri, 8 Sep 2006 20:54:39 +0100
  "Dave Shield" <[EMAIL PROTECTED]> wrote:
> On 08/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> However, I have this problem where "snmpwalk" does not
>> work correctly if embedded perl is not used. Running
>> snmpwalk several times invariably crashes the agent.
> 
> Does this happen at the same point each time?
> What's the last entry returned?
> 
> Does the agent log anything?
> 
> Try running the agent under a debugger, and walk it 
>until it crashes.
> Where does this occur?  (i.e. what does a backtrace 
>reveal?)
> 
> Dave


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to