wb-rules
wb-rules copied to clipboard
wb-rules crashing
From time to time (1 day to 3-4 weeks) the daemon dies with a kind of the following error:
Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: panic: runtime error: index out of range [1040] with length 0 Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: goroutine 18 [running]: Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo.(*score).ypJemniLEGrfgyZL(0x247e800, 0x119b9, 0x88dfdb60, 0x42f19b93, 0x886bd8) Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo/support.go:414 +0x238 Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo.(*score).yaUuPNkWxJUyONHN(...) Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo/support.go:122 Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo.(*score).voegCeEARQwieFen(0x247e800, 0x10a3a800, 0x1b1, 0xd2f1a9fc, 0x3f70624d, 0x0, 0x40408000, 0x0) Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo/support.go:113 +0x1ac Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo.(*score).wxAGqfzGjpsueSYO(0x247e800) Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo/support.go:141 +0x154 Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo.(*score).hLsHfiUFnFVzvsLu(0x247e800, 0x47ae147b, 0x3f747ae1, 0x0) Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo/support.go:177 +0x1c Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo.(*PahoMQTTClient).subscribe.func1(0x948d3d78, 0x24886e0, 0x948d3958, 0x2725260) Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo/mqtt.go:284 +0x1fc Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/eclipse/paho%2emqtt%2egolang.(*router).matchAndDispatch.func2(0x2449780, 0x2452c30, 0x24497c0, 0x24886e0, 0x242f601, 0x241d220, 0x24497c Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/eclipse/[email protected]/router.go:210 +0x32c Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: created by github.com/eclipse/paho%2emqtt%2egolang.(*router).matchAndDispatch Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/eclipse/[email protected]/router.go:169 +0x128 Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: panic: runtime error: index out of range [1040] with length 0 Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: goroutine 18 [running]: Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo.(*score).ypJemniLEGrfgyZL(0x247e800, 0x119b9, 0x88dfdb60, 0x42f19b93, 0x886bd8) Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo/support.go:414 +0x238 Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo.(*score).yaUuPNkWxJUyONHN(...) Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo/support.go:122 Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo.(*score).voegCeEARQwieFen(0x247e800, 0x10a3a800, 0x1b1, 0xd2f1a9fc, 0x3f70624d, 0x0, 0x40408000, 0x0) Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo/support.go:113 +0x1ac Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo.(*score).wxAGqfzGjpsueSYO(0x247e800) Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo/support.go:141 +0x154 Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo.(*score).hLsHfiUFnFVzvsLu(0x247e800, 0x47ae147b, 0x3f747ae1, 0x0) Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo/support.go:177 +0x1c Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo.(*PahoMQTTClient).subscribe.func1(0x948d3d78, 0x24886e0, 0x948d3958, 0x2725260) Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/evgeny-boger/wbgo/mqtt.go:284 +0x1fc Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/eclipse/paho%2emqtt%2egolang.(*router)
.matchAndDispatch.func2(0x2449780, 0x2452c30, 0x24497c0, 0x24886e0, 0x242f601, 0x241d220, 0x24497c Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/eclipse/[email protected]/router.go:210 +0x32c Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: created by github.com/eclipse/paho%2emqtt%2egolang.(*router).matchAndDispatch Sep 29 01:06:09 wirenboard-AGPLM2T7 wb-rules[21500]: github.com/eclipse/[email protected]/router.go:169 +0x128 Sep 29 01:06:10 wirenboard-AGPLM2T7 systemd[1]: wb-rules.service: Main process exited, code=exited, status=2/INVALIDARGUMENT