exec plugin panic has been spotted in collectd logs. Functionality seems to be not affected but should be investigated and fixed. Here is the panic: ------------------ [2023-03-18 12:14:42] exec plugin: exec_read_one: error = panic: runtime error: invalid memory address or nil pointer dereference [2023-03-18 12:14:42] exec plugin: exec_read_one: error = [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5a8f53] [2023-03-18 12:14:42] exec plugin: exec_read_one: error = [2023-03-18 12:14:42] exec plugin: exec_read_one: error = goroutine 23 [running]: [2023-03-18 12:14:42] exec plugin: exec_read_one: error = github.com/infrawatch/apputils/connector/amqp10.(*AMQP10Connector).Start.func2(0xc0001101e0) [2023-03-18 12:14:42] exec plugin: exec_read_one: error = /usr/share/gocode/src/github.com/infrawatch/apputils/connector/amqp10/amqp10.go:545 +0x4d3 [2023-03-18 12:14:42] exec plugin: exec_read_one: error = created by github.com/infrawatch/apputils/connector/amqp10.(*AMQP10Connector).Start [2023-03-18 12:14:42] exec plugin: exec_read_one: error = /usr/share/gocode/src/github.com/infrawatch/apputils/connector/amqp10/amqp10.go:509 +0x28a
Please evaluate if this needs to be backported to 16.2 as well. If so, please clone this issue.
This needs to reproduced first