Closed joonas-fi closed 3 years ago
Panic points to here:
https://github.com/tiiuae/rclgo/blob/df8f75e57842b3130264fea2105bc2ffcbb035de/pkg/rclgo/context.go#L61
If the store is used in concurrent contexts (which the panic suggests), then it should probably be using a mutex
Full log of stack trace:
-- Logs begin at Mon 2021-09-27 13:38:30 EEST, end at Thu 2021-09-30 10:38:43 EEST. -- syys 30 10:15:06 jldrone10 systemd[1]: Started "Drone cloud communication link". syys 30 10:15:07 jldrone10 sh[2012]: 2021/09/30 10:15:07 address: ssl://mqtt.googleapis.com:8883 syys 30 10:15:07 jldrone10 sh[2012]: 2021/09/30 10:15:07 Client ID: projects/auto-fleet-mgnt/locations/europe-west1/registries/fleet-registry/devices/jldrone10 syys 30 10:15:07 jldrone10 sh[2012]: 2021/09/30 10:15:07 Connecting MQTT... syys 30 10:15:12 jldrone10 sh[2012]: 2021/09/30 10:15:12 Connection Timeout syys 30 10:15:12 jldrone10 sh[2012]: 2021/09/30 10:15:12 Connecting MQTT... syys 30 10:15:17 jldrone10 sh[2012]: 2021/09/30 10:15:17 Connection Timeout syys 30 10:15:17 jldrone10 sh[2012]: 2021/09/30 10:15:17 Connecting MQTT... syys 30 10:15:22 jldrone10 sh[2012]: 2021/09/30 10:15:22 Connection Timeout syys 30 10:15:22 jldrone10 sh[2012]: 2021/09/30 10:15:22 Connecting MQTT... syys 30 10:15:27 jldrone10 sh[2012]: 2021/09/30 10:15:27 Connection Timeout syys 30 10:15:27 jldrone10 sh[2012]: 2021/09/30 10:15:27 Connecting MQTT... syys 30 10:15:32 jldrone10 sh[2012]: 2021/09/30 10:15:32 Connection Timeout syys 30 10:15:32 jldrone10 sh[2012]: 2021/09/30 10:15:32 Connecting MQTT... syys 30 10:15:37 jldrone10 sh[2012]: 2021/09/30 10:15:37 Connection Timeout syys 30 10:15:37 jldrone10 sh[2012]: 2021/09/30 10:15:37 Connecting MQTT... syys 30 10:15:42 jldrone10 sh[2012]: 2021/09/30 10:15:42 Connection Timeout syys 30 10:15:42 jldrone10 sh[2012]: 2021/09/30 10:15:42 Connecting MQTT... syys 30 10:15:47 jldrone10 sh[2012]: 2021/09/30 10:15:47 Connection Timeout syys 30 10:15:47 jldrone10 sh[2012]: 2021/09/30 10:15:47 Connecting MQTT... syys 30 10:15:52 jldrone10 sh[2012]: 2021/09/30 10:15:52 Connection Timeout syys 30 10:15:52 jldrone10 sh[2012]: 2021/09/30 10:15:52 Connecting MQTT... syys 30 10:15:57 jldrone10 sh[2012]: 2021/09/30 10:15:57 Connection Timeout syys 30 10:15:57 jldrone10 sh[2012]: 2021/09/30 10:15:57 Connecting MQTT... syys 30 10:16:02 jldrone10 sh[2012]: 2021/09/30 10:16:02 Connection Timeout syys 30 10:16:02 jldrone10 sh[2012]: 2021/09/30 10:16:02 Connecting MQTT... syys 30 10:16:07 jldrone10 sh[2012]: 2021/09/30 10:16:07 Connection Timeout syys 30 10:16:07 jldrone10 sh[2012]: 2021/09/30 10:16:07 Connecting MQTT... syys 30 10:16:12 jldrone10 sh[2012]: 2021/09/30 10:16:12 Connection Timeout syys 30 10:16:12 jldrone10 sh[2012]: 2021/09/30 10:16:12 Connecting MQTT... syys 30 10:16:17 jldrone10 sh[2012]: 2021/09/30 10:16:17 Connection Timeout syys 30 10:16:17 jldrone10 sh[2012]: 2021/09/30 10:16:17 Connecting MQTT... syys 30 10:16:22 jldrone10 sh[2012]: 2021/09/30 10:16:22 Connection Timeout syys 30 10:16:22 jldrone10 sh[2012]: 2021/09/30 10:16:22 Connecting MQTT... syys 30 10:16:27 jldrone10 sh[2012]: 2021/09/30 10:16:27 Connection Timeout syys 30 10:16:27 jldrone10 sh[2012]: 2021/09/30 10:16:27 Connecting MQTT... syys 30 10:16:32 jldrone10 sh[2012]: 2021/09/30 10:16:32 Connection Timeout syys 30 10:16:32 jldrone10 sh[2012]: 2021/09/30 10:16:32 Connecting MQTT... syys 30 10:16:37 jldrone10 sh[2012]: 2021/09/30 10:16:37 Connection Timeout syys 30 10:16:37 jldrone10 sh[2012]: 2021/09/30 10:16:37 Connecting MQTT... syys 30 10:16:42 jldrone10 sh[2012]: 2021/09/30 10:16:42 Connection Timeout syys 30 10:16:42 jldrone10 sh[2012]: 2021/09/30 10:16:42 Connecting MQTT... syys 30 10:16:47 jldrone10 sh[2012]: 2021/09/30 10:16:47 Connection Timeout syys 30 10:16:47 jldrone10 sh[2012]: 2021/09/30 10:16:47 Connecting MQTT... syys 30 10:16:52 jldrone10 sh[2012]: 2021/09/30 10:16:52 Connection Timeout syys 30 10:16:52 jldrone10 sh[2012]: 2021/09/30 10:16:52 Connecting MQTT... syys 30 10:16:57 jldrone10 sh[2012]: 2021/09/30 10:16:57 Connection Timeout syys 30 10:16:57 jldrone10 sh[2012]: 2021/09/30 10:16:57 Connecting MQTT... syys 30 10:17:02 jldrone10 sh[2012]: 2021/09/30 10:17:02 Connection Timeout syys 30 10:17:02 jldrone10 sh[2012]: 2021/09/30 10:17:02 Connecting MQTT... syys 30 10:17:07 jldrone10 sh[2012]: 2021/09/30 10:17:07 Connection Timeout syys 30 10:17:07 jldrone10 sh[2012]: 2021/09/30 10:17:07 Connecting MQTT... syys 30 10:17:12 jldrone10 sh[2012]: 2021/09/30 10:17:12 Connection Timeout syys 30 10:17:12 jldrone10 sh[2012]: 2021/09/30 10:17:12 Connecting MQTT... syys 30 10:17:17 jldrone10 sh[2012]: 2021/09/30 10:17:17 Connection Timeout syys 30 10:17:17 jldrone10 sh[2012]: 2021/09/30 10:17:17 Connecting MQTT... syys 30 10:17:22 jldrone10 sh[2012]: 2021/09/30 10:17:22 Connection Timeout syys 30 10:17:22 jldrone10 sh[2012]: 2021/09/30 10:17:22 Connecting MQTT... syys 30 10:17:22 jldrone10 sh[2012]: 2021/09/30 10:17:22 ..Connected syys 30 10:17:22 jldrone10 sh[2012]: 2021/09/30 10:17:22 Subscribing to MQTT commands syys 30 10:17:22 jldrone10 sh[2012]: fatal error: concurrent map writes syys 30 10:17:22 jldrone10 sh[2012]: goroutine 117 [running]: syys 30 10:17:22 jldrone10 sh[2012]: runtime.throw(0x8e53fb, 0x15) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/runtime/panic.go:1117 +0x72 fp=0xc000468b98 sp=0xc000468b68 pc=0x45d532 syys 30 10:17:22 jldrone10 sh[2012]: runtime.mapassign_fast64(0x83f280, 0xc00040e1e0, 0x9, 0x7f6c7fdd80b0) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/runtime/map_fast64.go:101 +0x33e fp=0xc000468bd8 sp=0xc000468b98 pc=0x43a03e syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*rosResourceStore).addResource(0xc00028e108, 0x96d088, 0xc0000a6200) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/context.go:61 +0x73 fp=0xc000468c08 sp=0xc000468bd8 pc=0x6b9f33 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*Node).NewPublisher(0xc00028e100, 0x8e09d4, 0x9, 0x970260, 0xc77f80, 0xc000468e98, 0xc0000a6200, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:370 +0x3a7 fp=0xc000468e00 sp=0xc000468c08 pc=0x6bfba7 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/ros2app.NewPublisher(0xc00028e100, 0x8e09d4, 0x9, 0x8e1f8c, 0xd, 0x829380) syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/pub.go:19 +0x17b fp=0xc000468f10 sp=0xc000468e00 pc=0x6cbffb syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/commands.handleMissionCommands(0x96df78, 0xc00007e040, 0xc000038090, 0xc00028e100, 0xc00029e8a0) syys 30 10:17:22 jldrone10 sh[2012]: /build/commands/commands.go:289 +0xb8 fp=0xc000468fb8 sp=0xc000468f10 pc=0x73ea18 syys 30 10:17:22 jldrone10 sh[2012]: runtime.goexit() syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000468fc0 sp=0xc000468fb8 pc=0x492d01 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/communication_link/communicationlink/commands.StartCommandHandlers syys 30 10:17:22 jldrone10 sh[2012]: /build/commands/commands.go:348 +0x1de syys 30 10:17:22 jldrone10 sh[2012]: goroutine 1 [chan receive]: syys 30 10:17:22 jldrone10 sh[2012]: main.main() syys 30 10:17:22 jldrone10 sh[2012]: /build/main.go:108 +0x772 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 34 [syscall]: syys 30 10:17:22 jldrone10 sh[2012]: os/signal.signal_recv(0x0) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/runtime/sigqueue.go:168 +0xa5 syys 30 10:17:22 jldrone10 sh[2012]: os/signal.loop() syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/os/signal/signal_unix.go:23 +0x25 syys 30 10:17:22 jldrone10 sh[2012]: created by os/signal.Notify.func1.1 syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/os/signal/signal.go:151 +0x45 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 28 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho%2emqtt%2egolang.alllogic(0xc00000c1e0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/net.go:240 +0x1c9 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/eclipse/paho%2emqtt%2egolang.(*client).Connect.func1 syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/client.go:320 +0x63f syys 30 10:17:22 jldrone10 sh[2012]: goroutine 27 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho%2emqtt%2egolang.errorWatch(0xc00000c1e0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/net.go:346 +0xd1 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/eclipse/paho%2emqtt%2egolang.(*client).Connect.func1 syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/client.go:319 +0x61a syys 30 10:17:22 jldrone10 sh[2012]: goroutine 86 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho%2emqtt%2egolang.keepalive(0xc00000c1e0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/ping.go:41 +0x1c5 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/eclipse/paho%2emqtt%2egolang.(*client).Connect.func1 syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/client.go:306 +0x8d8 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 100 [syscall]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo._Cfunc_rcl_wait(0xc000688168, 0xbebc200, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: _cgo_gotypes.go:1102 +0x48 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run.func1(0xc0006880f0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x7d syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run(0xc0006880f0, 0x96df78, 0xc00007e040, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x9e syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).RunGoroutine.func1(0xc0006880f0, 0x96df78, 0xc00007e040) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:793 +0x79 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).RunGoroutine syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:791 +0x74 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 26 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho%2emqtt%2egolang.(*router).matchAndDispatch.func1(0xc000101080, 0xc00007e080, 0xc00000c1e0, 0xc000101001) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/router.go:145 +0x41b syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/eclipse/paho%2emqtt%2egolang.(*router).matchAndDispatch syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/router.go:143 +0x5c syys 30 10:17:22 jldrone10 sh[2012]: goroutine 92 [syscall]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo._Cfunc_rcl_wait(0xc00048e078, 0x12a05f200, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: _cgo_gotypes.go:1102 +0x48 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run.func1(0xc00048e000, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x7d syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run(0xc00048e000, 0x96df78, 0xc00007e040, 0xc0000b9f30, 0x1) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x9e syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*Subscription).Spin(0xc000274280, 0x96df78, 0xc00007e040, 0x12a05f200, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:601 +0x195 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe.func1(0xc000274280, 0x96df78, 0xc00007e040) syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:44 +0x52 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:43 +0x85 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 87 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho%2emqtt%2egolang.(*router).matchAndDispatch.func1(0xc0000aa060, 0xc00007e080, 0xc00000c1e0, 0xc0000aa001) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/router.go:145 +0x41b syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/eclipse/paho%2emqtt%2egolang.(*router).matchAndDispatch syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/router.go:143 +0x5c syys 30 10:17:22 jldrone10 sh[2012]: goroutine 31 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/telemetry.handleDebugValues.func1(0x96df78, 0xc00007e040, 0xc000274230, 0xc000252750, 0xc000250690, 0x975bc8, 0xc00000c1e0, 0xc00003e180, 0x26) syys 30 10:17:22 jldrone10 sh[2012]: /build/telemetry/telemetry.go:257 +0x8a syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/communication_link/communicationlink/telemetry.handleDebugValues syys 30 10:17:22 jldrone10 sh[2012]: /build/telemetry/telemetry.go:255 +0x1b3 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 25 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho%2emqtt%2egolang.keepalive(0xc00000c1e0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/ping.go:41 +0x1c5 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/eclipse/paho%2emqtt%2egolang.(*client).Connect.func1 syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/client.go:306 +0x8d8 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 88 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho%2emqtt%2egolang.errorWatch(0xc00000c1e0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/net.go:346 +0xd1 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/eclipse/paho%2emqtt%2egolang.(*client).Connect.func1 syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/client.go:319 +0x61a syys 30 10:17:22 jldrone10 sh[2012]: goroutine 89 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho%2emqtt%2egolang.alllogic(0xc00000c1e0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/net.go:240 +0x1c9 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/eclipse/paho%2emqtt%2egolang.(*client).Connect.func1 syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/client.go:320 +0x63f syys 30 10:17:22 jldrone10 sh[2012]: goroutine 90 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho%2emqtt%2egolang.outgoing(0xc00000c1e0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/net.go:171 +0x2d7 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/eclipse/paho%2emqtt%2egolang.(*client).Connect.func1 syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/client.go:321 +0x665 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 91 [semacquire]: syys 30 10:17:22 jldrone10 sh[2012]: sync.runtime_SemacquireMutex(0xc0000d015c, 0x1, 0x1) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/runtime/sema.go:71 +0x47 syys 30 10:17:22 jldrone10 sh[2012]: sync.(*Mutex).lockSlow(0xc0000d0158) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/sync/mutex.go:138 +0x105 syys 30 10:17:22 jldrone10 sh[2012]: sync.(*Mutex).Lock(...) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/sync/mutex.go:81 syys 30 10:17:22 jldrone10 sh[2012]: crypto/tls.(*Conn).Read(0xc0000d0000, 0xc0004085f6, 0x1, 0x1, 0x0, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/crypto/tls/conn.go:1272 +0x35b syys 30 10:17:22 jldrone10 sh[2012]: io.ReadAtLeast(0x7f6c581465f0, 0xc0000d0000, 0xc0004085f6, 0x1, 0x1, 0x1, 0xc00007c980, 0x0, 0xc000068c00) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/io/io.go:328 +0x87 syys 30 10:17:22 jldrone10 sh[2012]: io.ReadFull(...) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/io/io.go:347 syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho.mqtt.golang/packets.ReadPacket(0x7f6c581465f0, 0xc0000d0000, 0xc0000d0000, 0x7f6c581465f0, 0xc0000d0000, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/packets/packets.go:105 +0xa5 syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho%2emqtt%2egolang.incoming(0xc00000c1e0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/net.go:132 +0x125 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/eclipse/paho%2emqtt%2egolang.(*client).Connect.func1 syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/client.go:322 +0x68a syys 30 10:17:22 jldrone10 sh[2012]: goroutine 29 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho%2emqtt%2egolang.outgoing(0xc00000c1e0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/net.go:171 +0x2d7 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/eclipse/paho%2emqtt%2egolang.(*client).Connect.func1 syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/client.go:321 +0x665 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 30 [IO wait]: syys 30 10:17:22 jldrone10 sh[2012]: internal/poll.runtime_pollWait(0x7f6c580e9e88, 0x72, 0xffffffffffffffff) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/runtime/netpoll.go:222 +0x55 syys 30 10:17:22 jldrone10 sh[2012]: internal/poll.(*pollDesc).wait(0xc000122318, 0x72, 0x1600, 0x1664, 0xffffffffffffffff) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/internal/poll/fd_poll_runtime.go:87 +0x45 syys 30 10:17:22 jldrone10 sh[2012]: internal/poll.(*pollDesc).waitRead(...) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/internal/poll/fd_poll_runtime.go:92 syys 30 10:17:22 jldrone10 sh[2012]: internal/poll.(*FD).Read(0xc000122300, 0xc000300000, 0x1664, 0x1664, 0x0, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/internal/poll/fd_unix.go:166 +0x1d5 syys 30 10:17:22 jldrone10 sh[2012]: net.(*netFD).Read(0xc000122300, 0xc000300000, 0x1664, 0x1664, 0x0, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/net/fd_posix.go:55 +0x4f syys 30 10:17:22 jldrone10 sh[2012]: net.(*conn).Read(0xc0000b2048, 0xc000300000, 0x1664, 0x1664, 0x0, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/net/net.go:183 +0x91 syys 30 10:17:22 jldrone10 sh[2012]: crypto/tls.(*atLeastReader).Read(0xc00051e018, 0xc000300000, 0x1664, 0x1664, 0x0, 0xc000069000, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/crypto/tls/conn.go:776 +0x63 syys 30 10:17:22 jldrone10 sh[2012]: bytes.(*Buffer).ReadFrom(0xc0000d0278, 0x958060, 0xc00051e018, 0x432fc5, 0x846680, 0x8c3140) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/bytes/buffer.go:204 +0xbe syys 30 10:17:22 jldrone10 sh[2012]: crypto/tls.(*Conn).readFromUntil(0xc0000d0000, 0x958900, 0xc0000b2048, 0x5, 0xc0000b2048, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/crypto/tls/conn.go:798 +0xf3 syys 30 10:17:22 jldrone10 sh[2012]: crypto/tls.(*Conn).readRecordOrCCS(0xc0000d0000, 0x0, 0x0, 0xc000522000) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/crypto/tls/conn.go:605 +0x115 syys 30 10:17:22 jldrone10 sh[2012]: crypto/tls.(*Conn).readRecord(...) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/crypto/tls/conn.go:573 syys 30 10:17:22 jldrone10 sh[2012]: crypto/tls.(*Conn).Read(0xc0000d0000, 0xc000522000, 0x1, 0x1, 0x0, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/crypto/tls/conn.go:1276 +0x165 syys 30 10:17:22 jldrone10 sh[2012]: io.ReadAtLeast(0x7f6c581465f0, 0xc0000d0000, 0xc000522000, 0x1, 0x1, 0x1, 0xc00051c060, 0x0, 0xc000069000) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/io/io.go:328 +0x87 syys 30 10:17:22 jldrone10 sh[2012]: io.ReadFull(...) syys 30 10:17:22 jldrone10 sh[2012]: /usr/lib/go-1.16/src/io/io.go:347 syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho.mqtt.golang/packets.ReadPacket(0x7f6c581465f0, 0xc0000d0000, 0xc0000d0000, 0x7f6c581465f0, 0xc0000d0000, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/packets/packets.go:105 +0xa5 syys 30 10:17:22 jldrone10 sh[2012]: github.com/eclipse/paho%2emqtt%2egolang.incoming(0xc00000c1e0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/net.go:132 +0x125 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/eclipse/paho%2emqtt%2egolang.(*client).Connect.func1 syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.2.0/client.go:322 +0x68a syys 30 10:17:22 jldrone10 sh[2012]: goroutine 93 [syscall]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo._Cfunc_rcl_wait(0xc000602078, 0x12a05f200, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: _cgo_gotypes.go:1102 +0x48 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run.func1(0xc000602000, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x7d syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run(0xc000602000, 0x96df78, 0xc00007e040, 0xc0000bbf30, 0x1) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x9e syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*Subscription).Spin(0xc0003f63c0, 0x96df78, 0xc00007e040, 0x12a05f200, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:601 +0x195 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe.func1(0xc0003f63c0, 0x96df78, 0xc00007e040) syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:44 +0x52 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:43 +0x85 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 94 [syscall]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo._Cfunc_rcl_wait(0xc000688078, 0x12a05f200, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: _cgo_gotypes.go:1102 +0x48 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run.func1(0xc000688000, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x7d syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run(0xc000688000, 0x96df78, 0xc00007e040, 0xc00068ff30, 0x1) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x9e syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*Subscription).Spin(0xc0003f6410, 0x96df78, 0xc00007e040, 0x12a05f200, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:601 +0x195 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe.func1(0xc0003f6410, 0x96df78, 0xc00007e040) syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:44 +0x52 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:43 +0x85 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 95 [syscall]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo._Cfunc_rcl_wait(0xc000524078, 0x12a05f200, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: _cgo_gotypes.go:1102 +0x48 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run.func1(0xc000524000, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x7d syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run(0xc000524000, 0x96df78, 0xc00007e040, 0xc000074f30, 0x1) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x9e syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*Subscription).Spin(0xc0003f6460, 0x96df78, 0xc00007e040, 0x12a05f200, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:601 +0x195 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe.func1(0xc0003f6460, 0x96df78, 0xc00007e040) syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:44 +0x52 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:43 +0x85 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 96 [syscall]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo._Cfunc_rcl_wait(0xc000500078, 0x12a05f200, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: _cgo_gotypes.go:1102 +0x48 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run.func1(0xc000500000, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x7d syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run(0xc000500000, 0x96df78, 0xc00007e040, 0xc0000bef30, 0x1) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x9e syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*Subscription).Spin(0xc0003f64b0, 0x96df78, 0xc00007e040, 0x12a05f200, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:601 +0x195 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe.func1(0xc0003f64b0, 0x96df78, 0xc00007e040) syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:44 +0x52 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:43 +0x85 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 97 [syscall]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo._Cfunc_rcl_wait(0xc00048e168, 0x12a05f200, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: _cgo_gotypes.go:1102 +0x48 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run.func1(0xc00048e0f0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x7d syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run(0xc00048e0f0, 0x96df78, 0xc00007e040, 0xc00068df30, 0x1) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x9e syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*Subscription).Spin(0xc0003f6500, 0x96df78, 0xc00007e040, 0x12a05f200, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:601 +0x195 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe.func1(0xc0003f6500, 0x96df78, 0xc00007e040) syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:44 +0x52 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:43 +0x85 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 114 [syscall]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo._Cfunc_rcl_wait(0xc000500168, 0x12a05f200, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: _cgo_gotypes.go:1102 +0x48 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run.func1(0xc0005000f0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x7d syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*WaitSet).Run(0xc0005000f0, 0x96df78, 0xc00007e040, 0xc0000bdf30, 0x1) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:814 +0x9e syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*Subscription).Spin(0xc0003f6550, 0x96df78, 0xc00007e040, 0x12a05f200, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:601 +0x195 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe.func1(0xc0003f6550, 0x96df78, 0xc00007e040) syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:44 +0x52 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/communication_link/communicationlink/ros2app.(*Subscriptions).Subscribe syys 30 10:17:22 jldrone10 sh[2012]: /build/ros2app/sub.go:43 +0x85 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 115 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/telemetry.startSendingTelemetry(0x96df78, 0xc00007e040, 0x975bc8, 0xc00000c1e0, 0x7ffc8cb3d5ba, 0x9) syys 30 10:17:22 jldrone10 sh[2012]: /build/telemetry/telemetry.go:128 +0x1af syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/telemetry.Start.func1(0xc000038090, 0x96df78, 0xc00007e040, 0x975bc8, 0xc00000c1e0, 0x7ffc8cb3d5ba, 0x9) syys 30 10:17:22 jldrone10 sh[2012]: /build/telemetry/telemetry.go:40 +0x8f syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/communication_link/communicationlink/telemetry.Start syys 30 10:17:22 jldrone10 sh[2012]: /build/telemetry/telemetry.go:38 +0x9c syys 30 10:17:22 jldrone10 sh[2012]: goroutine 116 [runnable]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/rclgo/pkg/rclgo.(*Node).NewClient(0xc00028e100, 0x8e7821, 0x19, 0x96d358, 0xc77f80, 0xc00068bde8, 0xc0005200f0, 0x0, 0x0) syys 30 10:17:22 jldrone10 sh[2012]: /root/go/pkg/mod/github.com/tiiuae/rclgo@v0.0.0-20210714082909-df8f75e57842/pkg/rclgo/rcl.go:1107 +0x25c syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/commands.createTakeoffService(0x96df78, 0xc00007e040, 0xc000250510, 0xc00028e100, 0xc0002742d0) syys 30 10:17:22 jldrone10 sh[2012]: /build/commands/f4f.go:43 +0x185 syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/commands.handleControlCommands(0x96df78, 0xc00007e040, 0xc000038090, 0x975bc8, 0xc00000c1e0, 0xc000250510, 0xc00028e100, 0xc00029e840, 0x7ffc8cb3d5ba, 0x9) syys 30 10:17:22 jldrone10 sh[2012]: /build/commands/commands.go:267 +0x158 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/communication_link/communicationlink/commands.StartCommandHandlers syys 30 10:17:22 jldrone10 sh[2012]: /build/commands/commands.go:347 +0x185 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 118 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/commands.handleGstreamerCommands(0x96df78, 0xc00007e040, 0xc000038090, 0xc00028e100, 0xc00029e900) syys 30 10:17:22 jldrone10 sh[2012]: /build/commands/commands.go:307 +0x165 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/communication_link/communicationlink/commands.StartCommandHandlers syys 30 10:17:22 jldrone10 sh[2012]: /build/commands/commands.go:349 +0x237 syys 30 10:17:22 jldrone10 sh[2012]: goroutine 119 [select]: syys 30 10:17:22 jldrone10 sh[2012]: github.com/tiiuae/communication_link/communicationlink/commands.publishMissionState(0x96df78, 0xc00007e040, 0xc000038090, 0x975bc8, 0xc00000c1e0, 0x7ffc8cb3d5ba, 0x9) syys 30 10:17:22 jldrone10 sh[2012]: /build/commands/commands.go:321 +0x265 syys 30 10:17:22 jldrone10 sh[2012]: created by github.com/tiiuae/communication_link/communicationlink/commands.StartCommandHandlers syys 30 10:17:22 jldrone10 sh[2012]: /build/commands/commands.go:350 +0x2aa syys 30 10:17:22 jldrone10 systemd[1]: communication_link.service: Main process exited, code=exited, status=2/INVALIDARGUMENT syys 30 10:17:22 jldrone10 systemd[1]: communication_link.service: Failed with result 'exit-code'. syys 30 10:17:23 jldrone10 systemd[1]: communication_link.service: Scheduled restart job, restart counter is at 1. syys 30 10:17:23 jldrone10 systemd[1]: Stopped "Drone cloud communication link". syys 30 10:17:23 jldrone10 systemd[1]: Started "Drone cloud communication link". syys 30 10:17:23 jldrone10 sh[3942]: 2021/09/30 10:17:23 address: ssl://mqtt.googleapis.com:8883 syys 30 10:17:23 jldrone10 sh[3942]: 2021/09/30 10:17:23 Client ID: projects/auto-fleet-mgnt/locations/europe-west1/registries/fleet-registry/devices/jldrone10 syys 30 10:17:23 jldrone10 sh[3942]: 2021/09/30 10:17:23 Connecting MQTT... syys 30 10:17:23 jldrone10 sh[3942]: 2021/09/30 10:17:23 ..Connected syys 30 10:17:23 jldrone10 sh[3942]: 2021/09/30 10:17:23 Subscribing to MQTT commands syys 30 10:17:23 jldrone10 sh[3942]: 2021/09/30 10:17:23 Got config: syys 30 10:17:23 jldrone10 sh[3942]: initial-wifi: syys 30 10:17:23 jldrone10 sh[3942]: api_version: 1 syys 30 10:17:23 jldrone10 sh[3942]: ssid: "copper" syys 30 10:17:23 jldrone10 sh[3942]: key: "1234567890" syys 30 10:17:23 jldrone10 sh[3942]: enc: "wep" syys 30 10:17:23 jldrone10 sh[3942]: ap_mac: "00:11:22:33:44:55" syys 30 10:17:23 jldrone10 sh[3942]: country: "fi" syys 30 10:17:23 jldrone10 sh[3942]: frequency: "5220" syys 30 10:17:23 jldrone10 sh[3942]: ip: "192.168.1.10" syys 30 10:17:23 jldrone10 sh[3942]: subnet: "255.255.255.0" syys 30 10:17:23 jldrone10 sh[3942]: tx_power: "30" syys 30 10:17:23 jldrone10 sh[3942]: mode: "mesh" syys 30 10:17:23 jldrone10 sh[3942]: 2021/09/30 10:17:23 mission-data-recorder config was not included syys 30 10:17:23 jldrone10 sh[3942]: 2021/09/30 10:17:23 profile config was not included -> no OTA syys 30 10:17:23 jldrone10 sh[3942]: 2021/09/30 10:17:23 Publishing mesh parameters syys 30 10:17:28 jldrone10 sh[3942]: 2021/09/30 10:17:28 Mesh parameters published
Panic points to here:
https://github.com/tiiuae/rclgo/blob/df8f75e57842b3130264fea2105bc2ffcbb035de/pkg/rclgo/context.go#L61
If the store is used in concurrent contexts (which the panic suggests), then it should probably be using a mutex
Full log of stack trace: