mac filebeat 执行时报错 bsdthread_register ()
apple@AppledeMacBook-Pro filebeat-5.6.3-darwin-x86_64 % head -n 2 nginx_logs|./filebeat -e -c nginx.yml
fatal error: runtime: bsdthread_register error
runtime stack:
runtime.throw(0x60bd4b, 0x21)
/usr/local/go/src/runtime/panic.go:566 +0x95 fp=0x7ff7bfeff8e0 sp=0x7ff7bfeff8c0
runtime.goenvs()
/usr/local/go/src/runtime/os_darwin.go:88 +0xa0 fp=0x7ff7bfeff910 sp=0x7ff7bfeff8e0
runtime.schedinit()
/usr/local/go/src/runtime/proc.go:450 +0x9c fp=0x7ff7bfeff950 sp=0x7ff7bfeff910
runtime.rt0_go(0x7ff7bfeff980, 0x4, 0x7ff7bfeff980, 0x1000, 0x4, 0x7ff7bfeffad8, 0x7ff7bfeffae3, 0x7ff7bfeffae6, 0x7ff7bfeffae9, 0x0, ...)
/usr/local/go/src/runtime/asm_amd64.s:145 +0x14f fp=0x7ff7bfeff958 sp=0x7ff7bfeff950
-------
apple@AppledeMacBook-Pro filebeat-5.6.3-darwin-x86_64 % go version
go version go1.18 darwin/amd64