You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if err != nil {
level.Error(logger).Log("msg", "kafka producer could not be created:", "err", err)
}
level.Info(logger).Log("msg", "kafka Producer created successfully")
`
Just introducing this one line of code in https://github.com/thanos-io/thanos/blob/main/cmd/thanos/rule.go#L665 causes:
`fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xe5 pc=0x7fc3ac4c2bf3]
I am trying to create a Kafka Producer instance so I can send some of the 'Alerts' into Messagebus.
`_, err := kafka.NewProducer(&kafka.ConfigMap{"bootstrap.servers": "brokers-names-here"})
if err != nil {
level.Error(logger).Log("msg", "kafka producer could not be created:", "err", err)
}
level.Info(logger).Log("msg", "kafka Producer created successfully")
`
Just introducing this one line of code in https://github.com/thanos-io/thanos/blob/main/cmd/thanos/rule.go#L665 causes:
`fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xe5 pc=0x7fc3ac4c2bf3]
runtime stack:
runtime.throw({0x22495fb?, 0x0?})
/tmp/var/go-compiler/go/src/runtime/panic.go:992 +0x71
runtime.sigpanic()
/tmp/var/go-compiler/go/src/runtime/signal_unix.go:802 +0x389`
If I comment out this 1 line it works fine.
Thanos, Prometheus and Golang version used:
thanos, version 0.24.0-rc.2
go1.18.5
The text was updated successfully, but these errors were encountered: