Re: Loading a particular MIB causes init_snmp to crash

2010-08-13 Thread Gaurav Chaturvedi
Hi Dave, I am glad to say that I have fixed the issue of library crashing due to erroneous MIBs or any parse error in MIB and I have done it within a day. Please let me know how to submit the fix/patch now. I must say here that it is really an amazing learning experience and an ultimate proud

Re: Loading a particular MIB causes init_snmp to crash

2010-08-13 Thread Dave Shield
On 13 August 2010 19:09, Gaurav Chaturvedi gauravchaturve...@gmail.com wrote: Hi Dave, I am glad to say that I have fixed the issue of library crashing due to erroneous MIBs or any parse error in MIB and I have done it within a day. Please let me know how to submit the fix/patch now. See

Loading a particular MIB causes init_snmp to crash

2010-08-10 Thread Gaurav Chaturvedi
Hi, I am using net-snmp v5.5. On loading a particular MIB (attached with the mail), my program crashes on init_snmp API. On removing this MIB from the MIB directory, everything works fine. Please share your views on what may be the issue in this case. Thanks and Regards Gaurav Chaturvedi

Re: Loading a particular MIB causes init_snmp to crash

2010-08-10 Thread Dave Shield
On 10 August 2010 08:14, Gaurav Chaturvedi gauravchaturve...@gmail.com wrote: I am using net-snmp v5.5. On loading a particular MIB (attached with the mail), my program crashes on init_snmp API. On removing this MIB from the MIB directory, everything works fine. Please share your views on

Re: Loading a particular MIB causes init_snmp to crash

2010-08-10 Thread Gaurav Chaturvedi
Hi, Thanks for the response. I know the error in MIB file (same as specified by Dave), but should an erroneous value in MIB crash the application? I want to know some way that can report error on MIB and exit/write a log. Thanks and Regards Gaurav Chaturvedi (+91) 957-944-3976 On Tue, Aug 10,

Re: Loading a particular MIB causes init_snmp to crash

2010-08-10 Thread Dave Shield
On 10 August 2010 09:25, Gaurav Chaturvedi gauravchaturve...@gmail.com wrote: Thanks for the response. I know the error in MIB file (same as specified by Dave), but should an erroneous value in MIB crash the application? No - of course it shouldn't. The MIB parser wasn't written in the

Re: Loading a particular MIB causes init_snmp to crash

2010-08-10 Thread Gaurav Chaturvedi
Hi Dave, Sure, I am trying to fix this. Will provide the same soon. In the meantime, if anybody is able to provide a fix/work-around for this, it will be highly appreciated. Thanks and Regards Gaurav Chaturvedi On Tue, Aug 10, 2010 at 2:21 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On