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

Zabbix Server crash if get value 8E310779190801357726 for item with preprocessing rule 'Discard unchanged with heartbeat'

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.2.7, 4.2.8, 4.4.0, 4.4.1
    • Component/s: Proxy (P), Server (S)
    • Labels:
    • Environment:
    • Team:
      Team A
    • Sprint:
      Sprint 58 (Nov 2019)
    • Story Points:
      3

      Description

      Steps to reproduce:

      1. Create item with type: Trapper items, Type: Character, preprocessing rule 'Discard unchanged with heartbeat' with interval 5m
      2. After 5 minutes send data to zabbix server:

       

      zabbix_sender -vv -z '127.0.0.1' -s "Zabbix server" -k test1 -o 8E310779190801357726
      
      1. Server will crash and restart

      Or**

      1. Create item with type: Trapper items, Type: Character, preprocessing rule 'Discard unchanged with heartbeat' with interval 5m
      2. Run Test item preprocessing. Value: 8E310779190801357726, Previous value: 8E310779190801357726, Prev. Time: now-1h
      3. Server will crash and restart.

      Result:

      zabbix_server [17090]: ERROR [file:variant.c,line:476] Something impossible has just happened.
      17090:20191031:114303.529 === Backtrace: ===
      17090:20191031:114303.529 10: /usr/sbin/zabbix_server: preprocessing worker #2 started(zbx_backtrace+0x4d) [0x557e7dc30c9d]
      17090:20191031:114303.529 9: /usr/sbin/zabbix_server: preprocessing worker #2 started(zbx_variant_compare+0x2e9) [0x557e7dc4b>
      17090:20191031:114303.529 8: /usr/sbin/zabbix_server: preprocessing worker #2 started(zbx_item_preproc+0x13e) [0x557e7db6fd3e]
      17090:20191031:114303.529 7: /usr/sbin/zabbix_server: preprocessing worker #2 started(zbx_item_preproc_test+0xdb) [0x557e7db7>
      17090:20191031:114303.529 6: /usr/sbin/zabbix_server: preprocessing worker #2 started(preprocessing_worker_thread+0x336) [0x5>
      17090:20191031:114303.529 5: /usr/sbin/zabbix_server: preprocessing worker #2 started(zbx_thread_start+0x27) [0x557e7dc3a787]
      17090:20191031:114303.529 4: /usr/sbin/zabbix_server: preprocessing worker #2 started(MAIN_ZABBIX_ENTRY+0x715) [0x557e7db2743>
      17090:20191031:114303.529 3: /usr/sbin/zabbix_server: preprocessing worker #2 started(daemon_start+0x16d) [0x557e7dc305cd]
      17090:20191031:114303.529 2: /usr/sbin/zabbix_server: preprocessing worker #2 started(main+0x3f7) [0x557e7db1fb27]
      17090:20191031:114303.529 1: /lib64/libc.so.6(__libc_start_main+0xeb) [0x7fc47075bedb]
      17090:20191031:114303.529 0: /usr/sbin/zabbix_server: preprocessing worker #2 started(_start+0x2a) [0x557e7db2683a]
      17052:20191031:114303.530 One child process died (PID:17090,exitcode/signal:1). Exiting ...
      zabbix_server [17052]: Error waiting for process with PID 17090: [10] No child processes
      17052:20191031:114303.533 syncing trend data...
      17052:20191031:114303.619 syncing trend data done
      17052:20191031:114303.619 Zabbix Server stopped. Zabbix 4.4.0 (revision cfac660b25).
      19223:20191031:125338.096 Starting Zabbix Server. Zabbix 4.4.0 (revision cfac660b25).
      

      In my case value 8E310779190801357726 returned by smartctl:

      smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
      Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
      
      === START OF INFORMATION SECTION ===
      Device Model:     SPCC Solid State Disk
      Serial Number:    8E310779190801357726
      Firmware Version: SAFM11.3
      User Capacity:    120 034 123 776 bytes [120 GB]
      Sector Size:      512 bytes logical/physical
      Rotation Rate:    Solid State Device
      Form Factor:      2.5 inches
      Device is:        Not in smartctl database [for details use: -P showall]
      ATA Version is:   ACS-2 (minor revision not indicated)
      SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
      Local Time is:    Thu Oct 31 13:54:51 2019 MSK
      SMART support is: Available - device has SMART capability.
      SMART support is: Enabled
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andris Andris Mednis
              Reporter:
              zveno Валентин Владимирович Чернявский
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: