• Sprint 63 (Apr 2020)
    • 0.25

      steps:
      zabbix_get -k vfs.fs.inode["/sys"] -s 127.0.0.1

      Result:

       33214:20200325:111329.862 Starting Zabbix Agent [Zabbix server]. Zabbix 5.0.0beta1 (revision {ZABBIX_REVISION}).
       33214:20200325:111329.888 **** Enabled features ****
       33214:20200325:111329.889 IPv6 support:          YES
       33214:20200325:111329.889 TLS support:           YES
       33214:20200325:111329.889 **************************
       33214:20200325:111329.890 using configuration file: /etc/zabbix/zabbix_agentd.conf
       33214:20200325:111329.934 agent #0 started [main process]
       33215:20200325:111329.945 agent #1 started [collector]
       33216:20200325:111329.950 agent #2 started [listener #1]
       33217:20200325:111329.952 agent #3 started [listener #2]
       33218:20200325:111329.955 agent #4 started [listener #3]
       33219:20200325:111329.961 agent #5 started [active checks #1]
       33219:20200325:111330.310 active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[127.0.0.1]:10051]: [111] Connection refused)
      ==33222== Invalid read of size 1
      ==33222==    at 0x483CB74: strcmp (vg_replace_strmem.c:849)
      ==33222==    by 0x436C35: get_fs_inode_stat (inodes.c:80)
      ==33222==    by 0x436DCC: vfs_fs_inode (inodes.c:110)
      ==33222==    by 0x426B33: zbx_execute_threaded_metric (sysinfo.c:1738)
      ==33222==    by 0x436FB6: VFS_FS_INODE (inodes.c:147)
      ==33222==    by 0x4255E2: process (sysinfo.c:1107)
      ==33222==    by 0x415C9F: process_listener (listener.c:57)
      ==33222==    by 0x416127: listener_thread (listener.c:145)
      ==33222==    by 0x44AB3C: zbx_thread_start (threads.c:136)
      ==33222==    by 0x411B87: MAIN_ZABBIX_ENTRY (zabbix_agentd.c:1077)
      ==33222==    by 0x44C2F0: daemon_start (daemon.c:394)
      ==33222==    by 0x411FF1: main (zabbix_agentd.c:1328)
      ==33222==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
      ==33222== 
       33222:20200325:111333.116 Got signal [signal:11(SIGSEGV),reason:1,refaddr:(nil)]. Crashing ...
       33222:20200325:111333.118 ====== Fatal information: ======
       33222:20200325:111333.118 Program counter: 0x483cb74
       33222:20200325:111333.120 === Registers: ===
       33222:20200325:111333.121 r8      =       1ffeffc368 =         137422160744 =         137422160744
       33222:20200325:111333.123 r9      =       1ffeffc370 =         137422160752 =         137422160752
       33222:20200325:111333.123 r10     =           40890a =              4229386 =              4229386
       33222:20200325:111333.123 r11     =          4fd9bf0 =             83729392 =             83729392
       33222:20200325:111333.124 r12     =           4887b0 =              4753328 =              4753328
       33222:20200325:111333.124 r13     =                3 =                    3 =                    3
       33222:20200325:111333.125 r14     =                0 =                    0 =                    0
       33222:20200325:111333.125 r15     =                0 =                    0 =                    0
       33222:20200325:111333.125 rdi     =                0 =                    0 =                    0
       33222:20200325:111333.125 rsi     =           481cab =              4725931 =              4725931
       33222:20200325:111333.126 rbp     =       1ffeffc310 =         137422160656 =         137422160656
       33222:20200325:111333.126 rbx     =                4 =                    4 =                    4
       33222:20200325:111333.126 rdx     =                0 =                    0 =                    0
       33222:20200325:111333.127 rax     =                0 =                    0 =                    0
       33222:20200325:111333.127 rcx     =               ff =                  255 =                  255
       33222:20200325:111333.127 rsp     =       1ffeffc238 =         137422160440 =         137422160440
       33222:20200325:111333.127 rip     =          483cb74 =             75746164 =             75746164
       33222:20200325:111333.128 efl     =               44 =                   68 =                   68
       33222:20200325:111333.128 csgsfs  =                0 =                    0 =                    0
       33222:20200325:111333.128 err     =                4 =                    4 =                    4
       33222:20200325:111333.129 trapno  =                e =                   14 =                   14
       33222:20200325:111333.129 oldmask =                0 =                    0 =                    0
       33222:20200325:111333.129 cr2     =                0 =                    0 =                    0
       33222:20200325:111333.130 === Backtrace: ===
       33222:20200325:111333.178 17: ./sbin/zabbix_agentd: listener #3 [processing request](zbx_backtrace+0x5a) [0x44ce4a]
       33222:20200325:111333.178 16: ./sbin/zabbix_agentd: listener #3 [processing request](zbx_log_fatal_info+0x181) [0x44d13b]
       33222:20200325:111333.178 15: ./sbin/zabbix_agentd: listener #3 [processing request]() [0x44dbd9]
       33222:20200325:111333.179 14: /lib64/libpthread.so.0(+0x12c70) [0x4897c70]
       33222:20200325:111333.179 13: /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so(_vgr20160ZU_libcZdsoZa_strcmp+0x4) [0x483cb74]
       33222:20200325:111333.179 12: ./sbin/zabbix_agentd: listener #3 [processing request](get_fs_inode_stat+0x2f1) [0x436c36]
       33222:20200325:111333.179 11: ./sbin/zabbix_agentd: listener #3 [processing request]() [0x436dcd]
       33222:20200325:111333.179 10: ./sbin/zabbix_agentd: listener #3 [processing request](zbx_execute_threaded_metric+0x214) [0x426b34]
       33222:20200325:111333.180 9: ./sbin/zabbix_agentd: listener #3 [processing request](VFS_FS_INODE+0x36) [0x436fb7]
       33222:20200325:111333.180 8: ./sbin/zabbix_agentd: listener #3 [processing request](process+0x4d5) [0x4255e3]
       33222:20200325:111333.180 7: ./sbin/zabbix_agentd: listener #3 [processing request]() [0x415ca0]
       33222:20200325:111333.180 6: ./sbin/zabbix_agentd: listener #3 [processing request](listener_thread+0x257) [0x416128]
       33222:20200325:111333.180 5: ./sbin/zabbix_agentd: listener #3 [processing request](zbx_thread_start+0x48) [0x44ab3d]
       33222:20200325:111333.181 4: ./sbin/zabbix_agentd: listener #3 [processing request](MAIN_ZABBIX_ENTRY+0x527) [0x411b88]
       33222:20200325:111333.181 3: ./sbin/zabbix_agentd: listener #3 [processing request](daemon_start+0x2f3) [0x44c2f1]
       33222:20200325:111333.181 2: ./sbin/zabbix_agentd: listener #3 [processing request](main+0x20a) [0x411ff2]
       33222:20200325:111333.181 1: /lib64/libc.so.6(__libc_start_main+0xf3) [0x4f10f43]
       33222:20200325:111333.181 0: ./sbin/zabbix_agentd: listener #3 [processing request](_start+0x2e) [0x4100ee]
       33222:20200325:111333.182 ================================
       33222:20200325:111333.182 Please consider attaching a disassembly listing to your bug report.
       33222:20200325:111333.183 This listing can be produced with, e.g., objdump -DSswx zabbix_agentd.
       33222:20200325:111333.183 ================================
      ==33222== 
      ==33222== HEAP SUMMARY:
      ==33222==     in use at exit: 126,090 bytes in 3,975 blocks
      ==33222==   total heap usage: 5,057 allocs, 1,082 frees, 341,584 bytes allocated
      ==33222== 
      ==33222== LEAK SUMMARY:
      ==33222==    definitely lost: 0 bytes in 0 blocks
      ==33222==    indirectly lost: 0 bytes in 0 blocks
      ==33222==      possibly lost: 0 bytes in 0 blocks
      ==33222==    still reachable: 126,090 bytes in 3,975 blocks
      ==33222==         suppressed: 0 bytes in 0 blocks
      ==33222== Reachable blocks (those to which a pointer was found) are not shown.
      ==33222== To see them, rerun with: --leak-check=full --show-leak-kinds=all
      ==33222== 
      ==33222== For lists of detected and suppressed errors, rerun with: -s
      ==33222== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
      

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

              Created:
              Updated:
              Resolved: