-
Notifications
You must be signed in to change notification settings - Fork 979
Open
Labels
bugmoreinfoThis ticket does not include enough information to be reproducible.This ticket does not include enough information to be reproducible.
Description
Using fluentd-kubernetes-daemonset:v1.15-debian-cloudwatch-amd64-1
and sometimes getting a segmentation fault in the k8s metadata filter. Any idea why this is?
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluent-plugin-kubernetes_metadata_filter-2.13.0/lib/fluent/plugin/filter_kubernetes_metadata.rb:371: [BUG] Segmentation fault at 0x0000000000000030
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0030 p:---- s:0169 e:000168 CFUNC :dump
c:0029 p:0143 s:0164 e:000162 METHOD /fluentd/vendor/bundle/ruby/3.1.0/gems/fluent-plugin-kubernetes_metadata_filter-2.13.0/lib/fluent/plugin/filter_kubernetes_meta
c:0028 p:0010 s:0148 e:000147 BLOCK /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/filter.rb:96
c:0027 p:0022 s:0141 e:000140 BLOCK /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event.rb:196 [FINISH]
c:0026 p:---- s:0137 e:000136 CFUNC :each
c:0025 p:0023 s:0133 e:000132 METHOD /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event.rb:195
c:0024 p:0031 s:0123 e:000122 METHOD /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/filter.rb:94
c:0023 p:0008 s:0116 e:000115 BLOCK /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event_router.rb:218 [FINISH]
c:0022 p:---- s:0110 e:000109 IFUNC
c:0021 p:---- s:0107 e:000106 CFUNC :each
c:0020 p:---- s:0104 e:000103 CFUNC :reduce
c:0019 p:0021 s:0099 e:000098 METHOD /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event_router.rb:217
c:0018 p:0009 s:0093 e:000092 METHOD /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event_router.rb:193
c:0017 p:0011 s:0085 e:000084 METHOD /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event_router.rb:115
c:0016 p:0064 s:0077 e:000076 METHOD /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:615 [FINISH]
c:0015 p:---- s:0069 e:000068 IFUNC
c:0014 p:0257 s:0066 e:000063 BLOCK /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:1104
c:0013 p:0047 s:0056 e:000055 METHOD /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:1140
c:0012 p:0026 s:0050 e:000049 METHOD /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:1064
c:0011 p:0003 s:0046 e:000045 BLOCK /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:1006 [FINISH]
c:0010 p:---- s:0043 e:000042 CFUNC :synchronize
c:0009 p:0006 s:0039 e:000038 METHOD /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:1006
c:0008 p:0058 s:0035 e:000034 METHOD /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:817
c:0007 p:0004 s:0030 e:000029 BLOCK /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:394
c:0006 p:0005 s:0027 e:000026 METHOD /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:749 [FINISH]
c:0005 p:---- s:0022 e:000021 CFUNC :run_once
c:0004 p:0041 s:0017 e:000016 METHOD /fluentd/vendor/bundle/ruby/3.1.0/gems/cool.io-1.7.1/lib/cool.io/loop.rb:88
c:0003 p:0033 s:0012 e:000011 BLOCK /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin_helper/event_loop.rb:93
c:0002 p:0080 s:0008 e:000007 BLOCK /fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin_helper/thread.rb:78 [FINISH]
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin_helper/event_loop.rb:93:in `block in start'
/fluentd/vendor/bundle/ruby/3.1.0/gems/cool.io-1.7.1/lib/cool.io/loop.rb:88:in `run'
/fluentd/vendor/bundle/ruby/3.1.0/gems/cool.io-1.7.1/lib/cool.io/loop.rb:88:in `run_once'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:749:in `on_timer'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:394:in `block in setup_watcher'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:817:in `on_notify'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:1006:in `on_notify'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:1006:in `synchronize'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:1006:in `block in on_notify'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:1064:in `handle_notify'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:1140:in `with_io'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:1104:in `block in handle_notify'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/in_tail.rb:615:in `receive_lines'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event_router.rb:115:in `emit_stream'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event_router.rb:193:in `emit_events'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event_router.rb:217:in `filter_stream'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event_router.rb:217:in `reduce'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event_router.rb:217:in `each'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event_router.rb:218:in `block in filter_stream'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/filter.rb:94:in `filter_stream'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event.rb:195:in `each'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event.rb:195:in `each'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/event.rb:196:in `block in each'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluentd-1.15.3/lib/fluent/plugin/filter.rb:96:in `block in filter_stream'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluent-plugin-kubernetes_metadata_filter-2.13.0/lib/fluent/plugin/filter_kubernetes_metadata.rb:371:in `filter'
/fluentd/vendor/bundle/ruby/3.1.0/gems/fluent-plugin-kubernetes_metadata_filter-2.13.0/lib/fluent/plugin/filter_kubernetes_metadata.rb:371:in `dump'
-- Machine register context ------------------------------------------------
RIP: 0x00007f61e7da0b24 RBP: 0x00007f61da821928 RSP: 0x00007f61dacfb828
RAX: 0x00007f61da805460 RBX: 0x0000000000000000 RCX: 0x000000000000000d
RDX: 0x0000000000000000 RDI: 0x00007f61da803bf8 RSI: 0x00007f61da821900
R8: 0x000000000000000c R9: 0x00000000000019c8 R10: 0x0000000000000000
R11: 0x00007f61da821900 R12: 0x000000000000d000 R13: 0x000000000000000a
R14: 0x0000000000000000 R15: 0x000000000000000a EFL: 0x0000000000010246
-- C level backtrace information -------------------------------------------
Metadata
Metadata
Assignees
Labels
bugmoreinfoThis ticket does not include enough information to be reproducible.This ticket does not include enough information to be reproducible.