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

Calculated items seems to cause zabbix to die (fault exception)

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • Server (S)
    • None
    • Linux localhost 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 GNU/Linux

      Zabbix 1.8.2 (i put version 1.8.7 cause 1.8.2 is not available in the combo box)

      Calculated items seems to cause zabbix to die.

      Repro 100% on startup.

          • Calculated expression (should be bad due to several ".." presents, but should not cause server to die)
            last("java.jmx.sh[31206,"com.dummy.management","dummy","dummy","MainPoolCurrentThreads"]")/last("java.jmx.rw.sh[31206,"com.dummy.management","dummy","dummy","MainPoolMaxSize"]")
          • System logs
            ==> syslog <==
            Nov 24 12:54:15 localhost kernel: [4337507.287486] zabbix_server[20607]: segfault at 0 ip 000000000043bc33 sp 00007fff89021b50 error 4 in zabbix_server[400000+7e000]

      ==> kern.log <==
      Nov 24 12:54:15 localhost kernel: [4337507.287486] zabbix_server[20607]: segfault at 0 ip 000000000043bc33 sp 00007fff89021b50 error 4 in zabbix_server[400000+7e000]

      ==> messages <==
      Nov 24 12:54:15 localhost kernel: [4337507.287486] zabbix_server[20607]: segfault at 0 ip 000000000043bc33 sp 00007fff89021b50 error 4 in zabbix_server[400000+7e000]

          • Zabbix log (level 4)
            20600:20111124:125410.672 Starting Zabbix Server. Zabbix 1.8.2 (revision 11211).
            ....
            20607:20111124:125415.892 In substitute_simple_macros (data:'Jvm.31206.dummy.General.MainPoolThreadPerCentUsed')
            20607:20111124:125415.892 In get_value() key:'Jvm.31206.dummy.General.MainPoolThreadPerCentUsed'
            20607:20111124:125415.892 In get_value_calculated() key:'Jvm.31206.dummy.General.MainPoolThreadPerCentUsed' expression:'last("java.jmx.sh[31206,"com.dummy.management","dummy","dummy","MainPoolCurrentThreads"]")/last("java.jmx.rw.sh[31206,"com.dummy.management","dummy","dummy","MainPoolMaxSize"]")'
            20607:20111124:125415.892 In calcitem_parse_expression() expression:'last("java.jmx.sh[31206,"com.dummy.management","dummy","dummy","MainPoolCurrentThreads"]")/last("java.jmx.rw.sh[31206,"com.dummy.management","dummy","dummy","MainPoolMaxSize"]")'
            20607:20111124:125415.892 calcitem_parse_expression() functionid:1 function:'last("java.jmx.sh[31206,"com.dummy.management","dummy","dummy","MainPoolCurrentThreads"]")'
            20607:20111124:125415.892 calcitem_parse_expression() functionid:2 function:'last("java.jmx.rw.sh[31206,"com.dummy.management","dummy","dummy","MainPoolMaxSize"]")'
            20607:20111124:125415.892 calcitem_parse_expression() expression:' {1}/{2}'
            20607:20111124:125415.892 In substitute_simple_macros (data:'{1}

            /

            {2}')
            20607:20111124:125415.892 End substitute_simple_macros (result:'{1}/{2}

            ')
            20607:20111124:125415.892 End of calcitem_parse_expression():SUCCEED
            20607:20111124:125415.892 In calcitem_evaluate_expression() expression:'

            {1}

            /

            {2}

            '
            20600:20111124:125415.893 One child process died (PID:20607). Exiting ...
            close failed in file object destructor:
            Error in sys.excepthook:

      Original exception was:
      20600:20111124:125417.893 Connect to the database
      20600:20111124:125417.894 Query [txnlev:0] [SET NAMES utf8]
      20600:20111124:125417.894 Query [txnlev:0] [SET CHARACTER SET utf8]
      20600:20111124:125417.894 In free_database_cache()
      20600:20111124:125417.894 In DCsync_all()
      20600:20111124:125417.894 In DCsync_history(history_first:0 history_num:0)
      20600:20111124:125417.894 Syncing history data...
      20600:20111124:125417.894 In DCsync_trends() trends_num:0
      20600:20111124:125417.894 Syncing trends data...
      20600:20111124:125417.894 Syncing trends data...done.
      20600:20111124:125417.894 End of DCsync_trends()
      20600:20111124:125417.894 End of DCsync_all()
      20600:20111124:125417.894 End of free_database_cache()
      20600:20111124:125417.894 In free_configuration_cache()
      20600:20111124:125417.894 End of free_configuration_cache()
      20600:20111124:125417.895 In free_ipmi_handler()
      20600:20111124:125417.895 Zabbix Server stopped. Zabbix 1.8.2 (revision 11211).

            Unassigned Unassigned
            gerard Gerard
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: