This is a multi-part message in MIME format.

--===============1877160350==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C89B6C.B3271596"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C89B6C.B3271596
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Guys,

=20

I am using snmp version 5.1 and its been cross compiled for octeon.

=20

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.

=20

Program received signal SIGSEGV, Segmentation fault.

0x0000005557255714 in netsnmp_compare_cstring (lhs=3D0x100000000,
rhs=3D0xffffeeb9f8)

at container.c:336

336 return strcmp(((const container_type*)lhs)->name,

(gdb) bt

#0 0x0000005557255714 in netsnmp_compare_cstring (lhs=3D0x100000000,
rhs=3D0xffffeeb9f8)

at container.c:336

#1 0x0000005557255d20 in binary_search (val=3D0xffffeeb9f8,
c=3D0x120109b00, exact=3D1)

at container_binary_array.c:120

#2 0x00000055572560f8 in netsnmp_binary_array_get (c=3D0x120109b00,
key=3D0xffffeeb9f8, exact=3D1)

at container_binary_array.c:217

#3 0x0000005557256f2c in _ba_find (container=3D0x120109b00,
data=3D0xffffeeb9f8)

at container_binary_array.c:579

#4 0x0000005557255094 in netsnmp_container_register =
(name=3D0x5557260f50
"table_container",

f=3D0x5557361d10) at container.c:94

#5 0x0000005557254e14 in netsnmp_container_init_list () at
container.c:61

#6 0x0000005556daaae4 in init_agent (app=3D0x120005940 "snmpd") at
snmp_vars.c:268

#7 0x0000000120003ad4 in main (argc=3D4, argv=3D0xffffeecd38) at
snmpd.c:845

=20

Thanks in advance,

Farooq


------_=_NextPart_001_01C89B6C.B3271596
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

=3D"urn:schemas-microsoft-comfficeffice" =
xmlns:w=3D"urn:schemas-microsoft-comffice:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









style=3D'font-size:10.0pt;
font-family:Arial'>Hi Guys,>>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>I am using snmp version 5.1 and its been cross =
compiled for
octeon.>>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>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:>>



style=3D'font-size:10.0pt;
font-family:Arial'>Any help/pointers will be really helpful. Thank you =
for your
time.>>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>Program received signal SIGSEGV, Segmentation =
fault.>>



style=3D'font-size:10.0pt;
font-family:Arial'>0x0000005557255714 in netsnmp_compare_cstring
(lhs=3D0x100000000, rhs=3D0xffffeeb9f8)>>



style=3D'font-size:10.0pt;
font-family:Arial'>    at =
container.c:336>>



style=3D'font-size:10.0pt;
font-family:Arial'>336         =
return
strcmp(((const =
container_type*)lhs)->name,>>



style=3D'font-size:10.0pt;
font-family:Arial'>(gdb) bt>>



style=3D'font-size:10.0pt;
font-family:Arial'>#0  0x0000005557255714 in =
netsnmp_compare_cstring
(lhs=3D0x100000000, rhs=3D0xffffeeb9f8)>>



style=3D'font-size:10.0pt;
font-family:Arial'>    at =
container.c:336>>



style=3D'font-size:10.0pt;
font-family:Arial'>#1  0x0000005557255d20 in binary_search
(val=3D0xffffeeb9f8, c=3D0x120109b00, =
exact=3D1)>>



style=3D'font-size:10.0pt;
font-family:Arial'>    at =
container_binary_array.c:120>>



style=3D'font-size:10.0pt;
font-family:Arial'>#2  0x00000055572560f8 in =
netsnmp_binary_array_get
(c=3D0x120109b00, key=3D0xffffeeb9f8, =
exact=3D1)>>



style=3D'font-size:10.0pt;
font-family:Arial'>    at =
container_binary_array.c:217>>



style=3D'font-size:10.0pt;
font-family:Arial'>#3  0x0000005557256f2c in _ba_find
(container=3D0x120109b00, =
data=3D0xffffeeb9f8)>>



style=3D'font-size:10.0pt;
font-family:Arial'>    at =
container_binary_array.c:579>>



style=3D'font-size:10.0pt;
font-family:Arial'>#4  0x0000005557255094 in =
netsnmp_container_register
(name=3D0x5557260f50 =
"table_container",>>



style=3D'font-size:10.0pt;
font-family:Arial'>    f=3D0x5557361d10) at =
container.c:94>>



style=3D'font-size:10.0pt;
font-family:Arial'>#5  0x0000005557254e14 in =
netsnmp_container_init_list
() at container.c:61>>



style=3D'font-size:10.0pt;
font-family:Arial'>#6  0x0000005556daaae4 in init_agent =
(app=3D0x120005940
"snmpd") at snmp_vars.c:268>>



style=3D'font-size:10.0pt;
font-family:Arial'>#7  0x0000000120003ad4 in main (argc=3D4,
argv=3D0xffffeecd38) at snmpd.c:845>>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>Thanks in advance,>>



style=3D'font-size:10.0pt;
font-family:Arial'>Farooq>>









------_=_NextPart_001_01C89B6C.B3271596--


--===============1877160350==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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;198757...un.com/javaone
--===============1877160350==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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/...net-snmp-users

--===============1877160350==--