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

Memory leak in preprocessing manager when processing first value of item with 'change' preprocessing step

    XMLWordPrintable

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 21
    • Story Points:
      0.125

      Description

      After server start (or when item is created) the first value of item with 'change' preprocessing step is ignored. However only the agent result flags were cleared, the data itself was not freed.

      ==11340== For counts of detected and suppressed errors, rerun with: -v
      ==11340== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
      ==11357== 20 bytes in 2 blocks are definitely lost in loss record 10 of 58
      ==11357==    at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
      ==11357==    by 0x488DC7: zbx_malloc2 (misc.c:491)
      ==11357==    by 0x4413A6: zbx_preprocessor_unpack_value (preprocessing.c:400)
      ==11357==    by 0x43F5CF: preprocessor_add_request (preproc_manager.c:709)
      ==11357==    by 0x43F5CF: preprocessing_manager_thread (preproc_manager.c:1083)
      ==11357==    by 0x485AD9: zbx_thread_start (threads.c:128)
      ==11357==    by 0x41FBEC: MAIN_ZABBIX_ENTRY (server.c:1096)
      ==11357==    by 0x47C712: daemon_start (daemon.c:392)
      ==11357==    by 0x41766E: main (server.c:819)
      

        Attachments

          Activity

            People

            Assignee:
            wiper Andris Zeila
            Reporter:
            wiper Andris Zeila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: