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

Unexpected crashes/exits #52

Open
rkfg opened this issue Dec 22, 2021 · 0 comments
Open

Unexpected crashes/exits #52

rkfg opened this issue Dec 22, 2021 · 0 comments

Comments

@rkfg
Copy link
Contributor

rkfg commented Dec 22, 2021

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.

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