Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-16915

Memory leak when vmware.eventlog is called with invalid type of information

XMLWordPrintable

    • Sprint 58 (Nov 2019), Sprint 59 (Dec 2019)
    • 0.125

      Change vmware.eventlog item type of information to numeric

      Result:

      Leaks detected:
      ==191691== HEAP SUMMARY:
      ==191691==     in use at exit: 1,460,119 bytes in 24,853 blocks
      ==191691==   total heap usage: 132,643 allocs, 107,790 frees, 11,952,000 bytes allocated
      ==191691== 
      ==191691== 64 bytes in 1 blocks are definitely lost in loss record 1,288 of 1,624
      ==191691==    at 0x483880B: malloc (vg_replace_malloc.c:309)
      ==191691==    by 0x50992C: zbx_malloc2 (misc.c:518)
      ==191691==    by 0x43C879: vmware_get_events (checks_simple_vmware.c:682)
      ==191691==    by 0x43CBD0: check_vcenter_eventlog (checks_simple_vmware.c:753)
      ==191691==    by 0x43AD3A: get_value_simple (checks_simple.c:200)
      ==191691==    by 0x43345D: get_value (poller.c:359)
      ==191691==    by 0x4359C6: get_values (poller.c:732)
      ==191691==    by 0x436BC6: poller_thread (poller.c:924)
      ==191691==    by 0x502859: zbx_thread_start (threads.c:136)
      ==191691==    by 0x41F319: MAIN_ZABBIX_ENTRY (server.c:1124)
      ==191691==    by 0x4F34BE: daemon_start (daemon.c:387)
      ==191691==    by 0x41E8E9: main (server.c:872)
      ==191691== 
      ==191691== LEAK SUMMARY:
      ==191691==    definitely lost: 64 bytes in 1 blocks
      ==191691==    indirectly lost: 0 bytes in 0 blocks
      ==191691==      possibly lost: 0 bytes in 0 blocks
      ==191691==    still reachable: 796,170 bytes in 15,043 blocks
      ==191691==         suppressed: 663,885 bytes in 9,809 blocks
      ==191691== Reachable blocks (those to which a pointer was found) are not shown.
      ==191691== To see them, rerun with: --leak-check=full --show-leak-kinds=all
      ==191691== 
      ==191691== For lists of detected and suppressed errors, rerun with: -s
      ==191691== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 179 from 179)
      

            mabele Martins Abele
            vso Vladislavs Sokurenko
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: