snmp continues the waiting state.

Solution Verified - Updated -

Issue

  • The problem that snmp continued the waiting state occurred in our customer's system.
  • Backtrace:
#0  pthread_once () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S:95
#1  0x00007fb23a09f6f4 in __backtrace (array=<value optimized out>, size=64) at ../sysdeps/ia64/backtrace.c:85
#2  0x00007fb23a011a4b in __libc_message (do_abort=2, fmt=0x7fb23a0f8d20 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:178
#3  0x00007fb23a017366 in malloc_printerr (action=3, str=0x7fb23a0f90f8 "malloc(): smallbin double linked list corrupted", ptr=<value optimized out>)
    at malloc.c:6311
#4  0x00007fb23a01b11f in _int_malloc (av=0x7fb23a32fe80, bytes=<value optimized out>) at malloc.c:4319
#5  0x00007fb23a01bb91 in __libc_malloc (bytes=56) at malloc.c:3664
#6  0x00007fb23be79b8d in _dl_map_object_deps (map=0x7fb23c0445e0, preloads=<value optimized out>, npreloads=<value optimized out>, trace_mode=0,
    open_mode=-2147483648) at dl-deps.c:507
#7  0x00007fb23be7fa11 in dl_open_worker (a=0x7fffca1c0bf0) at dl-open.c:264
#8  0x00007fb23be7b196 in _dl_catch_error (objname=0x7fffca1c0c40, errstring=0x7fffca1c0c38, mallocedp=0x7fffca1c0c4f,
    operate=0x7fb23be7f890 <dl_open_worker>, args=0x7fffca1c0bf0) at dl-error.c:178
#9  0x00007fb23be7f46a in _dl_open (file=0x7fb23a0f5b9e "libgcc_s.so.1", mode=-2147483647, caller_dlopen=0x0, nsid=-2, argc=6, argv=<value optimized out>,
    env=0x7fffca1c1d90) at dl-open.c:569
#10 0x00007fb23a0c70a0 in do_dlopen (ptr=0x7fffca1c0de0) at dl-libc.c:86
#11 0x00007fb23be7b196 in _dl_catch_error (objname=0x7fffca1c0e00, errstring=0x7fffca1c0df8, mallocedp=0x7fffca1c0e0f, operate=0x7fb23a0c7060 <do_dlopen>,
    args=0x7fffca1c0de0) at dl-error.c:178
#12 0x00007fb23a0c71f7 in dlerror_run (name=<value optimized out>, mode=<value optimized out>) at dl-libc.c:47
#13 __libc_dlopen_mode (name=<value optimized out>, mode=<value optimized out>) at dl-libc.c:160
#14 0x00007fb23a09f5f5 in init () at ../sysdeps/ia64/backtrace.c:41
#15 0x00007fb23a340b23 in pthread_once () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S:104
#16 0x00007fb23a09f6f4 in __backtrace (array=<value optimized out>, size=64) at ../sysdeps/ia64/backtrace.c:85
#17 0x00007fb23a011a4b in __libc_message (do_abort=2, fmt=0x7fb23a0f8d20 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:178
#18 0x00007fb23a017366 in malloc_printerr (action=3, str=0x7fb23a0f9080 "double free or corruption (!prev)", ptr=<value optimized out>) at malloc.c:6311
#19 0x00007fb23a019e93 in _int_free (av=0x7fb23a32fe80, p=0x7fb23e3038c0, have_lock=0) at malloc.c:4811
#20 0x00007fb23bc41549 in agentx_got_response (operation=1, session=0x7fb23e2ba200, reqid=<value optimized out>, pdu=0x7fb23e2bc450, magic=0x7fb23e3038d0)
    at mibgroup/agentx/master.c:222
#21 0x00007fb239d09ace in _sess_process_packet (sessp=0x7fb23e2ba160, sp=0x7fb23e2ba200, isp=0x7fb23e2ba190, transport=<value optimized out>,
    opaque=<value optimized out>, olength=<value optimized out>, packetptr=0x7fb23e3043f0 "\001\022", length=80) at snmp_api.c:5524
#22 0x00007fb239d0a7d2 in _sess_read (sessp=0x7fb23e2ba160, fdset=<value optimized out>) at snmp_api.c:5968
#23 0x00007fb239d0b079 in snmp_sess_read2 (sessp=0x7fb23e2ba160, fdset=<value optimized out>) at snmp_api.c:6080
#24 0x00007fb239d0b13b in snmp_read2 (fdset=0x7fffca1c1af0) at snmp_api.c:5672
#25 0x00007fb23c093ffe in receive (argc=<value optimized out>, argv=<value optimized out>) at snmpd.c:1225
#26 main (argc=<value optimized out>, argv=<value optimized out>) at snmpd.c:1060
(gdb)

Environment

  • Red Hat Enterprise Linux 6.3
  • net-snmp-5.5-41.el6

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