Why does net-snmp5.5 crashes on RHEL6.1?

Solution Verified - Updated -

Issue

  • Snmpd is crashing on a per day basis with following backtrace.
(gdb) bt
#0  0x00007f5726398a45 in raise () from /lib64/libc.so.6
#1  0x00007f572639a225 in abort () from /lib64/libc.so.6
#2  0x00007f57263d5dfb in __libc_message () from /lib64/libc.so.6
#3  0x00007f57264666a7 in __fortify_fail () from /lib64/libc.so.6
#4  0x00007f57264645a0 in __chk_fail () from /lib64/libc.so.6
#5  0x00007f5726464b14 in __recvfrom_chk () from /lib64/libc.so.6
#6  0x00007f5727fb9176 in smux_snmp_process () from /usr/lib64/libnetsnmpagent.so.20
#7  0x00007f5727fb99ff in var_smux () from /usr/lib64/libnetsnmpagent.so.20
#8  0x00007f5727d7c261 in netsnmp_old_api_helper () from /usr/lib64/libnetsnmphelpers.so.20
#9  0x00007f5727fb14ef in netsnmp_call_handler () from /usr/lib64/libnetsnmpagent.so.20
#10 0x00007f5727d77628 in netsnmp_bulk_to_next_helper () from /usr/lib64/libnetsnmphelpers.so.20
#11 0x00007f5727fb23ef in netsnmp_call_handlers () from /usr/lib64/libnetsnmpagent.so.20
#12 0x00007f5727fa26e1 in handle_var_requests () from /usr/lib64/libnetsnmpagent.so.20
#13 0x00007f5727fa38f0 in handle_getnext_loop () from /usr/lib64/libnetsnmpagent.so.20
#14 0x00007f5727fa67c0 in netsnmp_handle_request () from /usr/lib64/libnetsnmpagent.so.20
#15 0x00007f5727fa727a in handle_snmp_packet () from /usr/lib64/libnetsnmpagent.so.20
#16 0x00007f57260ce868 in ?? () from /usr/lib64/libnetsnmp.so.20
#17 0x00007f57260cf200 in _sess_read () from /usr/lib64/libnetsnmp.so.20
#18 0x00007f57260d0049 in snmp_sess_read2 () from /usr/lib64/libnetsnmp.so.20
#19 0x00007f57260d010b in snmp_read2 () from /usr/lib64/libnetsnmp.so.20
#20 0x00007f5728404fde in main ()
(gdb)

Environment

  • Red Hat Enterprise Linux 6.1
  • net-snmp-5.5-31.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content