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

Zabbix Agent crashing with double free or corruption

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Major Major
    • 6.0.33
    • Agent (G)
    • None
    • UnionTech OS Server 20
      4.19.90-2106.3.0.0095.up2.uel20.x86_64 GNU/Linux
    • Prev.Sprint

      Crash:

      2964249:20240808:180458.386 Executing command '/home/patrol/zabbix/scripts/monistudio/dfPermission.sh PermissionfilesystemName'
      2964249:20240808:190458.758 Executing command '/home/patrol/zabbix/scripts/monistudio/dfPermission.sh PermissionNum'
      2964249:20240808:190458.771 Executing command '/home/patrol/zabbix/scripts/monistudio/dfPermission.sh PermissionfilesystemName'
      double free or corruption (!prev)
      2964237:20240808:191318.476 One child process died (PID:2964249,exitcode/signal:6). Exiting ...
      zabbix_agentd [2964237]: Error waiting for process with PID 2964249: [10] No child processes
      2964237:20240808:191318.478 Zabbix Agent stopped. Zabbix 6.0.9 (revision 64721203c07).
      3953906:20240808:192411.400 Starting Zabbix Agent [x.x.x.x]. Zabbix 6.0.9 (revision 64721203c07).
      3953906:20240808:192411.400 **** Enabled features ****
      3953906:20240808:192411.400 IPv6 support:           NO
      3953906:20240808:192411.400 TLS support:            NO
      3953906:20240808:192411.400 **************************
      3953906:20240808:192411.400 using configuration file: /home/patrol/zabbix/etc/zabbix_agentd.conf
      3953906:20240808:192411.401 agent #0 started [main process]
      3953908:20240808:192411.401 agent #2 started [listener #1]
      3953909:20240808:192411.401 agent #3 started [listener #2]
      3953910:20240808:192411.401 agent #4 started [listener #3]
      3953911:20240808:192411.402 agent #5 started [listener #4]
      3953912:20240808:192411.402 agent #6 started [listener #5]
      3953913:20240808:192411.402 agent #7 started [listener #6]
      3953914:20240808:192411.402 agent #8 started [listener #7]
      3953915:20240808:192411.402 agent #9 started [listener #8]
      3953917:20240808:192411.403 agent #11 started [listener #10]
      3953918:20240808:192411.403 agent #12 started [active checks #1]
      3953916:20240808:192411.403 agent #10 started [listener #9]
      3953907:20240808:192411.403 agent #1 started [collector]
      3953918:20240808:192452.042 Executing command '/home/patrol/zabbix/scripts/monistudio/dfPermission.sh PermissionNum'
      3953918:20240808:192452.050 Executing command '/home/patrol/zabbix/scripts/monistudio/dfPermission.sh PermissionfilesystemName'
      

      and

      631449:20241009:073647.340 Executing command '/home/patrol/zabbix/scripts/monistudio/dfPermission.sh PermissionfilesystemName'
      631449:20241009:083647.381 Executing command '/home/patrol/zabbix/scripts/monistudio/dfPermission.sh PermissionNum'
      631449:20241009:083647.389 Executing command '/home/patrol/zabbix/scripts/monistudio/dfPermission.sh PermissionfilesystemName'
      corrupted size vs. prev_size
      631437:20241009:092137.595 One child process died (PID:631449,exitcode/signal:6). Exiting ...
      zabbix_agentd [631437]: Error waiting for process with PID 631449: [10] No child processes
      631437:20241009:092137.596 Zabbix Agent stopped. Zabbix 6.0.33 (revision e05e6ba9dca).
      831712:20241009:093151.361 Starting Zabbix Agent [x.x.x.x]. Zabbix 6.0.33 (revision e05e6ba9dca).

      Agent config:

      PidFile=/home/patrolizabbixizabbix_agentd.pid
      LogFile=/home/patrolizabbixzabbix_agentd.log
      EnableRemoteCommands=1
      LogRemoteCommands=1
      Server=XXXX
      StartAgents=10
      ServerActive=XXXX
      Hostname=XXXX
      Hostmetadataltem=system.uname
      Timeout=30
      User=patrol
      Include=/home/patrol/zabbix/etc/zabbix_agentd.conf.d/*.conf
      UnsafeUserParameters=1
      

      Agent log attached.
      objdump available here: https://space.zabbix.com/s/d96YNyGcZ76FdpH

        1. zabbix_agentd.log
          572 kB
          Michal Kudlacz
        2. ZBX-25377-6.0-debug.diff
          3 kB
          Vladislavs Sokurenko

            zabbix.dev Zabbix Development Team
            mkudlacz Michal Kudlacz
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: