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

Memory leak in SNMP walk to JSON

XMLWordPrintable

    • Sprint 104 (Sep 2023), Sprint 105 (Oct 2023)
    • 0.5

      ==305984== 950 bytes in 5 blocks are definitely lost in loss record 517 of 530
      ==305984==    at 0x48850E8: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-arm64-linux.so)
      ==305984==    by 0x5DF551F: strdup (strdup.c:42)
      ==305984==    by 0x56BDE3: zbx_strdup2 (misc.c:197)
      ==305984==    by 0x3FC1BB: snmp_walk_serialize_json (preproc_snmp.c:786)
      ==305984==    by 0x3FC983: item_preproc_snmp_walk_to_json (preproc_snmp.c:964)
      ==305984==    by 0x3FEBD3: pp_execute_snmp_to_json (pp_execute.c:997)
      ==305984==    by 0x3FF03F: pp_execute_step (pp_execute.c:1129)
      ==305984==    by 0x3FF38F: pp_execute (pp_execute.c:1215)
      ==305984==    by 0x3F336B: pp_task_process_value (pp_worker.c:57)
      ==305984==    by 0x3F376B: pp_worker_entry (pp_worker.c:159)
      ==305984==    by 0x5DDE813: start_thread (pthread_create.c:444)
      ==305984==    by 0x5E47D5B: thread_start (clone.S:79)
      

            dgoloscapov Dmitrijs Goloscapovs
            vso Vladislavs Sokurenko
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: