lntop
lntop copied to clipboard
Unexpected crashes/exits
Switched to the routing view from channels and lntop crashed with this:
panic: send on closed channel
goroutine 14 [running]:
github.com/edouardparis/lntop/pubsub.(*PubSub).routingUpdates.func1(0x4000040f60, 0x400047c6c0, 0x4000040de0)
/home/rkfg/soft/svn-soft/lntop/pubsub/pubsub.go:99 +0x3c
created by github.com/edouardparis/lntop/pubsub.(*PubSub).routingUpdates
/home/rkfg/soft/svn-soft/lntop/pubsub/pubsub.go:96 +0xac
There are other cases of it exiting with no panic messages anywhere, I don't see any patterns but it often happens when I connect to the node from my phone and attach a tmux session where lntop runs. The terminal size obviously changes to the phone screen size and sometimes it causes lntop to quit (or crash silently as there are no messages in terminal and log) when I switch between the tabs or scroll the window. Doesn't happen often and mostly under these specific conditions.