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

Poller process crash on HTTP checks (type:19)

XMLWordPrintable

    • S25-W8/9, S25-W10/11
    • 1

      Steps to reproduce:

      1. Create HTTP agent item which do the same:
        curl -X PUT "http://1.2.3.4:8080/commerce-api/store' " \
             -H "Content-Type: application/json" \
             -d '{"storeCode": "ALLYOURS"}'
        

      Result:

      781206:20250226:185132.833 zbx_setproctitle() title:'poller #5 [got 4 values in 0.046641 sec, getting values]'
      781206:20250226:185132.833 In get_values()
      781206:20250226:185132.833 In DCconfig_get_poller_items() poller_type:0
      781206:20250226:185132.835 End of DCconfig_get_poller_items():1
      781206:20250226:185132.835 In substitute_key_macros_impl() data:'<redacted>'
      781206:20250226:185132.835 End of substitute_key_macros_impl():SUCCEED data:'<redacted>'
      781206:20250226:185132.835 In substitute_simple_macros_impl() data:'30s'
      781206:20250226:185132.835 In substitute_simple_macros_impl() data:'http://<redacted>:8080/commerce-api/store'
      781206:20250226:185132.835 In substitute_simple_macros_impl() data:'{"storeCode": "ALLYOURS"}'
      781206:20250226:185132.835 In substitute_simple_macros_impl() data:EMPTY
      781206:20250226:185132.835 In substitute_simple_macros_impl() data:'204'
      781206:20250226:185132.835 In substitute_simple_macros_impl() data:EMPTY
      781206:20250226:185132.835 In substitute_simple_macros_impl() data:EMPTY
      781206:20250226:185132.835 In substitute_simple_macros_impl() data:EMPTY
      781206:20250226:185132.835 In substitute_simple_macros_impl() data:EMPTY
      781206:20250226:185132.835 In substitute_simple_macros_impl() data:EMPTY
      781206:20250226:185132.835 In substitute_simple_macros_impl() data:EMPTY
      781206:20250226:185132.835 In get_value() key:'<redacted>'
      781206:20250226:185132.835 In get_value_http() request method 'PUT' URL 'http://<redacted>:8080/commerce-api/store' headers '' message body '{"storeCode": "ALLYOURS"}'
      781206:20250226:185132.837 In int_in_list() list:'204' value:204
      781206:20250226:185132.837 End of int_in_list():SUCCEED
      781206:20250226:185132.837 cannot get content type: No error
      781206:20250226:185132.838 End of get_value_http():SUCCEED
      781206:20250226:185132.838 End of get_value():SUCCEED
      781206:20250226:185132.838 In zbx_activate_item_interface() interfaceid:18378 itemid:6404732 type:19
      781206:20250226:185132.838 End of zbx_activate_item_interface()
      781206:20250226:185132.838 In zbx_preprocess_item_value()
      781206:20250226:185132.838 Got signal [signal:11(SIGSEGV),reason:1,refaddr:(nil)]. Crashing ...
      781206:20250226:185132.838 ====== Fatal information: ======
      781206:20250226:185132.838 Program counter: 0x7f33e7bf285c
      781206:20250226:185132.838 === Registers: ===
      781206:20250226:185132.838 r8      =                0 =                    0 =                    0
      781206:20250226:185132.838 r9      =     5592477e204a =       94086753034314 =       94086753034314
      781206:20250226:185132.838 r10     =                8 =                    8 =                    8
      781206:20250226:185132.838 r11     =              246 =                  582 =                  582
      781206:20250226:185132.839 r12     =                0 =                    0 =                    0
      781206:20250226:185132.839 r13     =                8 =                    8 =                    8
      781206:20250226:185132.839 r14     =     7ffc2de4b160 =      140721078448480 =      140721078448480
      781206:20250226:185132.839 r15     =     7ffc2de4b390 =      140721078449040 =      140721078449040
      781206:20250226:185132.839 rdi     =                0 =                    0 =                    0
      781206:20250226:185132.839 rsi     =     559247597ba0 =       94086750632864 =       94086750632864
      781206:20250226:185132.839 rbp     =                0 =                    0 =                    0
      781206:20250226:185132.839 rbx     =     7ffc2de4b390 =      140721078449040 =      140721078449040
      781206:20250226:185132.839 rdx     =                0 =                    0 =                    0
      781206:20250226:185132.839 rax     =                0 =                    0 =                    0
      781206:20250226:185132.839 rcx     =     7f33e7b847f1 =      139860907673585 =      139860907673585
      781206:20250226:185132.839 rsp     =     7ffc2de4b058 =      140721078448216 =      140721078448216
      781206:20250226:185132.839 rip     =     7f33e7bf285c =      139860908124252 =      139860908124252
      781206:20250226:185132.839 efl     =            10283 =                66179 =                66179
      781206:20250226:185132.839 csgsfs  =   2b000000000033 =    12103423998558259 =    12103423998558259
      781206:20250226:185132.839 err     =                4 =                    4 =                    4
      781206:20250226:185132.839 trapno  =                e =                   14 =                   14
      781206:20250226:185132.839 oldmask =                0 =                    0 =                    0
      781206:20250226:185132.839 cr2     =                0 =                    0 =                    0
      781206:20250226:185132.839 === Backtrace: ===
      781206:20250226:185132.840 13: /usr/sbin/zabbix_proxy: poller #5 [got 4 values in 0.046641 sec, getting values](zbx_backtrace+0x3c) [0x55924710760c]
      781206:20250226:185132.840 12: /usr/sbin/zabbix_proxy: poller #5 [got 4 values in 0.046641 sec, getting values](zbx_log_fatal_info+0x475) [0x559247108e15]
      781206:20250226:185132.840 11: /usr/sbin/zabbix_proxy: poller #5 [got 4 values in 0.046641 sec, getting values](+0x109f76) [0x55924710df76]
      781206:20250226:185132.840 10: /lib64/libpthread.so.0(+0x12d10) [0x7f33e9a07d10]
      781206:20250226:185132.840 9: /lib64/libc.so.6(+0xbc85c) [0x7f33e7bf285c]
      781206:20250226:185132.840 8: /usr/sbin/zabbix_proxy: poller #5 [got 4 values in 0.046641 sec, getting values](zbx_preprocess_item_value+0x1ab) [0x5592471de08b]
      781206:20250226:185132.840 7: /usr/sbin/zabbix_proxy: poller #5 [got 4 values in 0.046641 sec, getting values](+0x203f12) [0x559247207f12]
      781206:20250226:185132.840 6: /usr/sbin/zabbix_proxy: poller #5 [got 4 values in 0.046641 sec, getting values](poller_thread+0x14a) [0x5592472083ca]
      781206:20250226:185132.840 5: /usr/sbin/zabbix_proxy: poller #5 [got 4 values in 0.046641 sec, getting values](zbx_thread_start+0x27) [0x559247108927]
      781206:20250226:185132.840 4: /usr/sbin/zabbix_proxy: poller #5 [got 4 values in 0.046641 sec, getting values](MAIN_ZABBIX_ENTRY+0x888) [0x5592472107a8]
      781206:20250226:185132.840 3: /usr/sbin/zabbix_proxy: poller #5 [got 4 values in 0.046641 sec, getting values](daemon_start+0x207) [0x55924710e337]
      781206:20250226:185132.840 2: /usr/sbin/zabbix_proxy: poller #5 [got 4 values in 0.046641 sec, getting values](main+0x471) [0x5592470606b1]
      781206:20250226:185132.840 1: /lib64/libc.so.6(__libc_start_main+0xe5) [0x7f33e7b707e5]
      781206:20250226:185132.840 0: /usr/sbin/zabbix_proxy: poller #5 [got 4 values in 0.046641 sec, getting values](_start+0x2e) [0x5592470676ae]
      781206:20250226:185132.840 === Memory map: ===
      

      Expected:
      No crash.

            sboidenko Sergejs Boidenko
            edgar.akhmetshin Edgar Akhmetshin
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: