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

LLD Worker Crash when {#LLDMACROS} value contains backslash

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 5.4.3
    • Server (S)
    • None
    • CentOS 8
      Zabbix 5.4.3

      Create some host with agent interface and allowed system.run[] checks

      Link template, configurate the datafile on agent side with content (do not modify master item type to script)

      fs,type
      c:\,ntfs
      d:\,ntfs

      Define filepath for macros {$FILEPATH}

      Result

      Zabbix server crash

      zabbix_server [54309]: ERROR [file and function: <lld_trigger.c,lld_expression_create>, revision:68dc2b05cb, line:2518] Something impossible has just happened.
       54309:20210806:090850.081 === Backtrace: ===
       54309:20210806:090850.082 12: /usr/sbin/zabbix_server: lld worker #1 started(zbx_backtrace+0x3f) [0x555cd86a6195]
       54309:20210806:090850.082 11: /usr/sbin/zabbix_server: lld worker #1 started(+0x167579) [0x555cd85fa579]
       54309:20210806:090850.082 10: /usr/sbin/zabbix_server: lld worker #1 started(+0x168087) [0x555cd85fb087]
       54309:20210806:090850.082 9: /usr/sbin/zabbix_server: lld worker #1 started(lld_update_triggers+0x2c2) [0x555cd85fd91e]
       54309:20210806:090850.082 8: /usr/sbin/zabbix_server: lld worker #1 started(lld_process_discovery_rule+0x4f8) [0x555cd85d6d8b]
       54309:20210806:090850.082 7: /usr/sbin/zabbix_server: lld worker #1 started(+0x140ac0) [0x555cd85d3ac0]
       54309:20210806:090850.082 6: /usr/sbin/zabbix_server: lld worker #1 started(lld_worker_thread+0x2f6) [0x555cd85d4120]
       54309:20210806:090850.082 5: /usr/sbin/zabbix_server: lld worker #1 started(zbx_thread_start+0x37) [0x555cd86b60e6]
       54309:20210806:090850.083 4: /usr/sbin/zabbix_server: lld worker #1 started(MAIN_ZABBIX_ENTRY+0x10de) [0x555cd84e8182]
       54309:20210806:090850.083 3: /usr/sbin/zabbix_server: lld worker #1 started(daemon_start+0x2ff) [0x555cd86a5dbf]
       54309:20210806:090850.083 2: /usr/sbin/zabbix_server: lld worker #1 started(main+0x2f6) [0x555cd84e6fd0]
       54309:20210806:090850.083 1: /lib64/libc.so.6(__libc_start_main+0xf3) [0x7f55a5fcf493]
       54309:20210806:090850.083 0: /usr/sbin/zabbix_server: lld worker #1 started(_start+0x2e) [0x555cd84e5ece]
      zabbix_server [54309]: ERROR [file and function: <lld_trigger.c,lld_expression_create>, revision:68dc2b05cb, line:2518] Something impossible has just happened.
       54309:20210806:090850.087 === Backtrace: ===
       54309:20210806:090850.087 12: /usr/sbin/zabbix_server: lld worker #1 started(zbx_backtrace+0x3f) [0x555cd86a6195]
       54309:20210806:090850.087 11: /usr/sbin/zabbix_server: lld worker #1 started(+0x167579) [0x555cd85fa579]
       54309:20210806:090850.087 10: /usr/sbin/zabbix_server: lld worker #1 started(+0x168087) [0x555cd85fb087]
       54309:20210806:090850.088 9: /usr/sbin/zabbix_server: lld worker #1 started(lld_update_triggers+0x2c2) [0x555cd85fd91e]
       54309:20210806:090850.088 8: /usr/sbin/zabbix_server: lld worker #1 started(lld_process_discovery_rule+0x4f8) [0x555cd85d6d8b]
       54309:20210806:090850.088 7: /usr/sbin/zabbix_server: lld worker #1 started(+0x140ac0) [0x555cd85d3ac0]
       54309:20210806:090850.088 6: /usr/sbin/zabbix_server: lld worker #1 started(lld_worker_thread+0x2f6) [0x555cd85d4120]
       54309:20210806:090850.088 5: /usr/sbin/zabbix_server: lld worker #1 started(zbx_thread_start+0x37) [0x555cd86b60e6]
       54309:20210806:090850.088 4: /usr/sbin/zabbix_server: lld worker #1 started(MAIN_ZABBIX_ENTRY+0x10de) [0x555cd84e8182]
       54309:20210806:090850.088 3: /usr/sbin/zabbix_server: lld worker #1 started(daemon_start+0x2ff) [0x555cd86a5dbf]
       54309:20210806:090850.088 2: /usr/sbin/zabbix_server: lld worker #1 started(main+0x2f6) [0x555cd84e6fd0]
       54309:20210806:090850.088 1: /lib64/libc.so.6(__libc_start_main+0xf3) [0x7f55a5fcf493]
       54309:20210806:090850.088 0: /usr/sbin/zabbix_server: lld worker #1 started(_start+0x2e) [0x555cd84e5ece]
       54309:20210806:090850.088 ERROR: rollback without transaction. Please report it to Zabbix Team.
      zabbix_server: lld worker #1 started: db.c:1101: zbx_db_rollback: Assertion `0' failed.
       54298:20210806:090850.089 One child process died (PID:54309,exitcode/signal:6). Exiting ...
      zabbix_server [54298]: Error waiting for process with PID 54309: [10] No child processes
       54298:20210806:090850.101 syncing history data...
       54298:20210806:090850.109 syncing history data... 100.000000%
       54298:20210806:090850.109 syncing history data done
       54298:20210806:090850.109 syncing trend data...
       54298:20210806:090850.137 syncing trend data done
       54298:20210806:090850.137 Zabbix Server stopped. Zabbix 5.4.3 (revision 68dc2b05cb).

       

            zabbix.dev Zabbix Development Team
            igorbach Igor Gorbach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: