• Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.2.9
    • Agent (G)
    • None

      Using the pre-compiled official agent: https://cdn.zabbix.com/zabbix/binaries/stable/6.2/6.2.9/zabbix_agent-6.2.9-linux-3.0-amd64-static.tar.gz

      I get the following crash:

      /usr/local/sbin/zabbix_agentd -f -p
      agent.hostname                                [s|storage002]
      agent.hostmetadata                            [s|Linux storage002 4.18.0-305.3.1.el8.x86_64 #1 SMP Tue Jun 1 16:14:33 UTC 2021 x86_64]
      agent.ping                                    [u|1]
      agent.variant                                 [u|1]
      agent.version                                 [s|6.2.9]
      modbus.get[tcp://127.0.0.1]                   [m|ZBX_NOTSUPPORTED]
      system.localtime[utc]                         [u|1680085798]
      system.run[echo test]                         [t|test]
      vfs.file.size[/etc/passwd]                    [u|1492]
      vfs.file.time[/etc/passwd,modify]             [u|1642002666]
      vfs.file.exists[/etc/passwd]                  [u|1]
      vfs.file.contents[/etc/passwd]                [t|root:x:0:0:root:/root:/bin/bash
      bin:x:1:1:bin:/bin:/sbin/nologin
      daemon:x:2:2:daemon:/sbin:/sbin/nologin
      adm:x:3:4:adm:/var/adm:/sbin/nologin
      lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
      sync:x:5:0:sync:/sbin:/bin/sync
      shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
      halt:x:7:0:halt:/sbin:/sbin/halt
      mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
      operator:x:11:0:operator:/root:/sbin/nologin
      games:x:12:100:games:/usr/games:/sbin/nologin
      ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
      nobody:x:65534:65534:Kernel Overflow User:/:/sbin/nologin
      dbus:x:81:81:System message bus:/:/sbin/nologin
      systemd-coredump:x:999:997:systemd Core Dumper:/:/sbin/nologin
      systemd-resolve:x:193:193:systemd Resolver:/:/sbin/nologin
      tss:x:59:59:Account used for TPM access:/dev/null:/sbin/nologin
      polkitd:x:998:996:User for polkitd:/:/sbin/nologin
      rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin
      unbound:x:997:994:Unbound DNS resolver:/etc/unbound:/sbin/nologin
      sssd:x:996:993:User for sssd:/:/sbin/nologin
      rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
      chrony:x:995:992::/var/lib/chrony:/sbin/nologin
      sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
      vfs.file.regexp[/etc/passwd,root]             [s|root:x:0:0:root:/root:/bin/bash]
      vfs.file.regmatch[/etc/passwd,root]           [u|1]
      vfs.file.md5sum[/etc/passwd]                  [s|2270abc4f93fec72906439ab74e88da1]
      vfs.file.cksum[/etc/passwd]                   [u|1365968972]
      zabbix_agentd [2766619]: ERROR: Got signal [signal:11(SIGSEGV),reason:1,refaddr:0xe5]. Crashing ...
      zabbix_agentd [2766619]: ERROR: ====== Fatal information: ======
      zabbix_agentd [2766619]: ERROR: Program counter: 0x7f481465fbd0
      zabbix_agentd [2766619]: ERROR: === Registers: ===
      zabbix_agentd [2766619]: ERROR: r8      =     7f481513e540 =      139947567998272 =      139947567998272
      zabbix_agentd [2766619]: ERROR: r9      =                0 =                    0 =                    0
      zabbix_agentd [2766619]: ERROR: r10     =                0 =                    0 =                    0
      zabbix_agentd [2766619]: ERROR: r11     =              246 =                  582 =                  582
      zabbix_agentd [2766619]: ERROR: r12     =          23f9070 =             37720176 =             37720176
      zabbix_agentd [2766619]: ERROR: r13     =     7f481513e330 =      139947567997744 =      139947567997744
      zabbix_agentd [2766619]: ERROR: r14     =     7ffe4c31e880 =      140730176759936 =      140730176759936
      zabbix_agentd [2766619]: ERROR: r15     =          23f946f =             37721199 =             37721199
      zabbix_agentd [2766619]: ERROR: rdi     =          23f9070 =             37720176 =             37720176
      zabbix_agentd [2766619]: ERROR: rsi     =     7f481513e521 =      139947567998241 =      139947567998241
      zabbix_agentd [2766619]: ERROR: rbp     =              400 =                 1024 =                 1024
      zabbix_agentd [2766619]: ERROR: rbx     =          23f9070 =             37720176 =             37720176
      zabbix_agentd [2766619]: ERROR: rdx     =               72 =                  114 =                  114
      zabbix_agentd [2766619]: ERROR: rax     =          23f47c8 =             37701576 =             37701576
      zabbix_agentd [2766619]: ERROR: rcx     =                0 =                    0 =                    0
      zabbix_agentd [2766619]: ERROR: rsp     =     7ffe4c31e830 =      140730176759856 =      140730176759856
      zabbix_agentd [2766619]: ERROR: rip     =     7f481465fbd0 =      139947556600784 =      139947556600784
      zabbix_agentd [2766619]: ERROR: efl     =            10203 =                66051 =                66051
      zabbix_agentd [2766619]: ERROR: csgsfs  =   2b000000000033 =    12103423998558259 =    12103423998558259
      zabbix_agentd [2766619]: ERROR: err     =                4 =                    4 =                    4
      zabbix_agentd [2766619]: ERROR: trapno  =                e =                   14 =                   14
      zabbix_agentd [2766619]: ERROR: oldmask =                0 =                    0 =                    0
      zabbix_agentd [2766619]: ERROR: cr2     =               e5 =                  229 =                  229
      zabbix_agentd [2766619]: ERROR: === Backtrace: ===
      zabbix_agentd [2766619]: ERROR: 16: [0x42f065]
      zabbix_agentd [2766619]: ERROR: 15: [0x42f37d]
      zabbix_agentd [2766619]: ERROR: 14: [0x42f9d6]
      zabbix_agentd [2766619]: ERROR: 13: [0x49bf20]
      zabbix_agentd [2766619]: ERROR: 12: /lib64/libnss_files.so.2(+0x8bd0) [0x7f481465fbd0]
      zabbix_agentd [2766619]: ERROR: 11: /lib64/libnss_files.so.2(+0x5c1f) [0x7f481465cc1f]
      zabbix_agentd [2766619]: ERROR: 10: /lib64/libnss_files.so.2(_nss_files_getpwuid_r+0x93) [0x7f481465cff3]
      zabbix_agentd [2766619]: ERROR: 9: [0x50a1e4]
      zabbix_agentd [2766619]: ERROR: 8: [0x509c5c]
      zabbix_agentd [2766619]: ERROR: 7: [0x428184]
      zabbix_agentd [2766619]: ERROR: 6: [0x413e7d]
      zabbix_agentd [2766619]: ERROR: 5: [0x41423f]
      zabbix_agentd [2766619]: ERROR: 4: [0x414488]
      zabbix_agentd [2766619]: ERROR: 3: [0x40232e]
      zabbix_agentd [2766619]: ERROR: 2: [0x4a2354]
      zabbix_agentd [2766619]: ERROR: 1: [0x4a25d1]
      zabbix_agentd [2766619]: ERROR: 0: [0x402636]
      zabbix_agentd [2766619]: ERROR: === Memory map: ===
      zabbix_agentd [2766619]: ERROR: 00400000-005be000 r-xp 00000000 09:7e 3221663881                         /usr/local/sbin/zabbix_agentd
      zabbix_agentd [2766619]: ERROR: 007be000-007c2000 rw-p 001be000 09:7e 3221663881                         /usr/local/sbin/zabbix_agentd
      zabbix_agentd [2766619]: ERROR: 007c2000-007cb000 rw-p 00000000 00:00 0
      zabbix_agentd [2766619]: ERROR: 023f4000-02417000 rw-p 00000000 00:00 0                                  [heap]
      zabbix_agentd [2766619]: ERROR: 7f4814657000-7f4814662000 r-xp 00000000 09:7e 1073752935                 /usr/lib64/libnss_files-2.28.so
      zabbix_agentd [2766619]: ERROR: 7f4814662000-7f4814862000 ---p 0000b000 09:7e 1073752935                 /usr/lib64/libnss_files-2.28.so
      zabbix_agentd [2766619]: ERROR: 7f4814862000-7f4814863000 r--p 0000b000 09:7e 1073752935                 /usr/lib64/libnss_files-2.28.so
      zabbix_agentd [2766619]: ERROR: 7f4814863000-7f4814864000 rw-p 0000c000 09:7e 1073752935                 /usr/lib64/libnss_files-2.28.so
      zabbix_agentd [2766619]: ERROR: 7f4814864000-7f481486a000 rw-p 00000000 00:00 0
      zabbix_agentd [2766619]: ERROR: 7f481486a000-7f481513e000 r--s 00000000 09:7e 825874                     /var/lib/sss/mc/passwd
      zabbix_agentd [2766619]: ERROR: 7f481513e000-7f481523e000 rw-p 00000000 00:00 0
      zabbix_agentd [2766619]: ERROR: 7f481523e000-7f481526a000 r-xp 00000000 09:7e 1073752916                 /usr/lib64/ld-2.28.so
      zabbix_agentd [2766619]: ERROR: 7f481526a000-7f481546a000 ---p 0002c000 09:7e 1073752916                 /usr/lib64/ld-2.28.so
      zabbix_agentd [2766619]: ERROR: 7f481546a000-7f481546b000 r--p 0002c000 09:7e 1073752916                 /usr/lib64/ld-2.28.so
      zabbix_agentd [2766619]: ERROR: 7f481546b000-7f481546d000 rw-p 0002d000 09:7e 1073752916                 /usr/lib64/ld-2.28.so
      zabbix_agentd [2766619]: ERROR: 7f481546d000-7f4815629000 r-xp 00000000 09:7e 1073752923                 /usr/lib64/libc-2.28.so
      zabbix_agentd [2766619]: ERROR: 7f4815629000-7f4815828000 ---p 001bc000 09:7e 1073752923                 /usr/lib64/libc-2.28.so
      zabbix_agentd [2766619]: ERROR: 7f4815828000-7f481582c000 r--p 001bb000 09:7e 1073752923                 /usr/lib64/libc-2.28.so
      zabbix_agentd [2766619]: ERROR: 7f481582c000-7f481582e000 rw-p 001bf000 09:7e 1073752923                 /usr/lib64/libc-2.28.so
      zabbix_agentd [2766619]: ERROR: 7f481582e000-7f4815832000 rw-p 00000000 00:00 0
      zabbix_agentd [2766619]: ERROR: 7f4815832000-7f481583c000 r-xp 00000000 09:7e 1074110072                 /usr/lib64/libnss_sss.so.2
      zabbix_agentd [2766619]: ERROR: 7f481583c000-7f4815a3b000 ---p 0000a000 09:7e 1074110072                 /usr/lib64/libnss_sss.so.2
      zabbix_agentd [2766619]: ERROR: 7f4815a3b000-7f4815a3c000 r--p 00009000 09:7e 1074110072                 /usr/lib64/libnss_sss.so.2
      zabbix_agentd [2766619]: ERROR: 7f4815a3c000-7f4815a3d000 rw-p 0000a000 09:7e 1074110072                 /usr/lib64/libnss_sss.so.2
      zabbix_agentd [2766619]: ERROR: 7f4815a41000-7f4815a43000 rw-p 00000000 00:00 0
      zabbix_agentd [2766619]: ERROR: 7ffe4c301000-7ffe4c322000 rw-p 00000000 00:00 0                          [stack]
      zabbix_agentd [2766619]: ERROR: 7ffe4c384000-7ffe4c388000 r--p 00000000 00:00 0                          [vvar]
      zabbix_agentd [2766619]: ERROR: 7ffe4c388000-7ffe4c38a000 r-xp 00000000 00:00 0                          [vdso]
      zabbix_agentd [2766619]: ERROR: ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
      zabbix_agentd [2766619]: ERROR: ================================
      zabbix_agentd [2766619]: ERROR: Please consider attaching a disassembly listing to your bug report.
      zabbix_agentd [2766619]: ERROR: This listing can be produced with, e.g., objdump -DSswx zabbix_agentd.
      zabbix_agentd [2766619]: ERROR: ================================
      

      gdb says:

      Program received signal SIGSEGV, Segmentation fault.
      0x00007ffff6c15bd0 in __nss_readline (fp=0x7ffff76f4330, buf=0x7d00b0 "root:x:0:0:root:/root:/bin/bash\n", len=<optimized out>, poffset=0x7fffffffd6e0)
          at ./nss_readline.c:68
      68            while (isspace (*p))
      (gdb) print *p
      $1 = 114 'r'
      
      /usr/local/sbin/zabbix_agentd -V
      zabbix_agentd (daemon) (Zabbix) 6.2.9
      Revision 886cdd0ada3 27 March 2023, compilation time: Mar 27 2023 17:41:12
      

      This on CentOS Linux release 8.4.2105

            zabbix.dev Zabbix Development Team
            RenHoek Ivo Palli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: