Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wb-rules crashing #58

Open
cu6apum opened this issue Oct 18, 2021 · 0 comments
Open

wb-rules crashing #58

cu6apum opened this issue Oct 18, 2021 · 0 comments

Comments

@cu6apum
Copy link

cu6apum commented Oct 18, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant