Hi Guys,
I am using snmp version 5.1 and its been cross compiled for octeon.
When I try to start the snmpd daemon, it crashes while initializing
agent. I am not sure what is wrong, I attached gdb and it seemed to have
crashed in container.c file. The back trace of the snmpd is given below:
Any help/pointers will be really helpful. Thank you for your time.
Program received signal SIGSEGV, Segmentation fault.
0x0000005557255714 in netsnmp_compare_cstring (lhs=0x100000000,
rhs=0xffffeeb9f8)
at container.c:336
336 return strcmp(((const container_type*)lhs)->name,
(gdb) bt
#0 0x0000005557255714 in netsnmp_compare_cstring (lhs=0x100000000,
rhs=0xffffeeb9f8)
at container.c:336
#1 0x0000005557255d20 in binary_search (val=0xffffeeb9f8,
c=0x120109b00, exact=1)
at container_binary_array.c:120
#2 0x00000055572560f8 in netsnmp_binary_array_get (c=0x120109b00,
key=0xffffeeb9f8, exact=1)
at container_binary_array.c:217
#3 0x0000005557256f2c in _ba_find (container=0x120109b00,
data=0xffffeeb9f8)
at container_binary_array.c:579
#4 0x0000005557255094 in netsnmp_container_register (name=0x5557260f50
"table_container",
f=0x5557361d10) at container.c:94
#5 0x0000005557254e14 in netsnmp_container_init_list () at
container.c:61
#6 0x0000005556daaae4 in init_agent (app=0x120005940 "snmpd") at
snmp_vars.c:268
#7 0x0000000120003ad4 in main (argc=4, argv=0xffffeecd38) at
snmpd.c:845
Thanks in advance,
Farooq
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users