Hi,

 

Solaris subagent (hmanicd) is dumping core during agent stress and hcts
stress, whose stack is pointing to net-snmp library functions as below. The
stack is not pointing to any of our subagent functions.  At the same time
lot of snmpd cores are also seen. 

 

bash-3.00# mdb /cores/core.hmanicd.i86pc.unknown.1514.1267175486

Loading modules: [ libc.so.1 libnvpair.so.1 libuutil.so.1 libavl.so.1
ld.so.1 ]

> $C

08046ee4 libc.so.1`t_delete+0x6b(80b27b8)

08046f00 libc.so.1`realfree+0x58(80b26d8)

08046f14 libc.so.1`cleanfree+0x44(0)

08046f2c libc.so.1`_malloc_unlocked+0xad(250, 8085ce0, 8073d08, fee03c84,
8046f84, fed5f8ee)

08046f44 libc.so.1`malloc+0x34(24c)

08046f84 libnetsnmp.so.5.0.9`_copy_varlist+0x96(80b2480, 0, 270f)

08046fac libnetsnmp.so.5.0.9`snmp_clone_varbind+0x37(80b2480)

080471d0
libnetsnmphelpers.so.5.0.9`netsnmp_check_getnext_reply+0xfc(80a7bf0,
804722c, d, 80b2480, 8047214)

08047434
libnetsnmphelpers.so.5.0.9`netsnmp_table_iterator_helper_handler+0x352(80713
f0, 8073d08, 80ac218, 80a7bf0)

08047468 libnetsnmpagent.so.5.0.9`netsnmp_call_handler+0x159(80713f0,
8073d08, 80ac218, 80a7bf0)

08047494 libnetsnmpagent.so.5.0.9`netsnmp_call_next_handler+0x94(8071410,
8073d08, 80ac218, 80a7bf0)

080474cc
libnetsnmphelpers.so.5.0.9`netsnmp_serialize_helper_handler+0xdd(8071410,
8073d08, 80ac218, 80a7bf0)

08047500 libnetsnmpagent.so.5.0.9`netsnmp_call_handler+0x159(8071410,
8073d08, 80ac218, 80a7bf0)

0804752c libnetsnmpagent.so.5.0.9`netsnmp_call_next_handler+0x94(8071430,
8073d08, 80ac218, 80a7bf0)

080475b8 libnetsnmphelpers.so.5.0.9`table_helper_handler+0x11cd(8071430,
8073d08, 80ac218, 80a7bf0)

080475ec libnetsnmpagent.so.5.0.9`netsnmp_call_handler+0x159(8071430,
8073d08, 80ac218, 80a7bf0)

08047618 libnetsnmpagent.so.5.0.9`netsnmp_call_next_handler+0x94(8071450,
8073d08, 80ac218, 80a7bf0)

08047648
libnetsnmphelpers.so.5.0.9`netsnmp_bulk_to_next_helper+0x85(8071450,
8073d08, 80ac218, 80a7bf0)

08047680 libnetsnmpagent.so.5.0.9`netsnmp_call_handlers+0x2dc(8073d08,
80ac218, 80a7bf0)

080476bc libnetsnmpagent.so.5.0.9`handle_var_requests+0xf5(8085ce0)

080476e4 libnetsnmpagent.so.5.0.9`handle_getnext_loop+0x238(8085ce0)

08047714 libnetsnmpagent.so.5.0.9`handle_pdu+0x32f(8085ce0)

08047738 libnetsnmpagent.so.5.0.9`netsnmp_handle_request+0x1e1(8085ce0, 0)

0804776c libnetsnmpagent.so.5.0.9`handle_snmp_packet+0x2bd(1, 8073628,
6705e, 80b1a28, 0)

080477c0 libnetsnmp.so.5.0.9`_sess_process_packet+0x940(8070898, 8073628,
80735f0, 80722d0, 80b0118, 4)

0804785c libnetsnmp.so.5.0.9`_sess_read+0x1235(8070898, 80478e0)

0804788c libnetsnmp.so.5.0.9`snmp_sess_read+0x34(8070898, 80478e0)

080478b0 libnetsnmp.so.5.0.9`snmp_read+0x4d(80478e0)

08047968 libnetsnmpagent.so.5.0.9`agent_check_and_process+0x15c(1, 805eb00,
2, 8)

08047ddc main+0x4ca(3, 8047e00, 8047e10)

08047df4 _start+0x80(3, 8047e9c, 8047eb4, 8047eb7, 0, 8047eba)

 

 

Snmpd core stack:

 

bash-3.00# mdb /cores/core.snmpd.i86pc.unknown.3762.1266509039 

Loading modules: [ libc.so.1 libuutil.so.1 ld.so.1 ]

> $C

08047688 libc.so.1`divmod64+0x1f(0, feea50f0, 0, 0, 0, 0)

0804772c libc.so.1`__udiv64+6(34, 0)

08047760 libnetsnmp.so.5.0.9`run_alarms+0x13f(804796f, 8054b28, feffb818, 0,
0, 0)

08047938 receive+0xcd1(8047e70, 8047e04, feffb818, 4, a, 0)

08047e1c main+0x14b0(1, 8047e48, 8047e50)

08047e3c _start+0x7a(1, 8047ed8, 0, 8047ef0, 8047f0b, 8047f23)

> 

 

 

Could any body please help me to analyze this core and resolve this?

 

Thanks in advance.

 


Information transmitted by this e-mail is proprietary to MphasiS, its 
associated companies and/ or its customers and is intended 
for use only by the individual or entity to which it is addressed, and may 
contain information that is privileged, confidential or 
exempt from disclosure under applicable law. If you are not the intended 
recipient or it appears that this mail has been forwarded 
to you without proper authority, you are notified that any use or dissemination 
of this information in any manner is strictly 
prohibited. In such cases, please notify us immediately at 
[email protected] and delete this mail from your records.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to