-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
error: display_handler panic on launch #38
Comments
Oh my! @titus-anromedonn - are you using mac/linux? Which version? Does this always happen? How are you running it? |
@imsnif Happens every time I launch. At first I thought it was because I was running inside of tmux, but it crashes inside normal terminal windows as well. I installed via cargo. Cargo and rust were installed via rustup. I've been tailing syslog and the only thing I'm seeing are my network devices going into promiscuous mode. If there is a file you would like me to tail in order to retrieve more detailed information, please let me know. run
sys info
|
Thanks for the report @titus-anromedonn! Could you run it like this:
This will give more information about where the error happens. |
|
Thanks! The backtrace seems to point somewhere else 🤔 , but looking at the relevant thread, we are doing this: I think we would get this panic if https://github.com/rust-lang/rust/blob/9d6f87184e5116cf4a96f6686eb67994f19908a5/src/libcore/time.rs#L751-L758 Does it make sense @imsnif? I can open a PR to fix it. Unfortunately I would not be able to test it as I can't reproduce it. |
@ebroto Just fyi, I have several hundred, if not thousand, network connections open at any given time. So I would not be surprised to find the render time exceeding some threshold you guys have set internally. |
Wow! Okay. I'm asking because right not the display loop is a little hacky: it is invoked every 1 second and then displays whatever happened in that second. If it takes it more than 1 second to display, this might be the issue we're seeing here. |
Wow :) That would probably be more than what the tool has been exposed to before. There are some performance improvements pending, but I think that for now to fix this panic we could just avoid parking the thread. |
Sorry @ebroto - my curiosity got the better of me. :) Let me know if you need anything from me. |
Hey @imsnif sorry I was answering to the previous message by titus-anromedonn, forgot the mention and we commented at the same time :) |
I tried piping the output and without. Both seem to still cause the panic.
I suspect it is my pool off mass connections that is causing the issue. Unfortunately, I cannot shut down my internet connections at this time to test and verify, but I will try to replicate this issue in a VM a bit later. |
This was accidentally closed when I merged @ebroto's PR - so reopening it until we can confirm the fix. I'm not 100% certain this will work (because if rendering takes 30s...) |
@titus-anromedonn could you test with the latest release? The fix related to the |
@ebroto I noticed that you guys created a release but did not push to |
Oh right, I forgot to mention that the name has been changed to bandwhich :) |
@ebroto Ahh awesome! Can confirm that it works now! Thanks for the quick response guys! |
Cool! Thank you for reporting the issue :) |
@titus-anromedonn - I would be very interested in hearing more about your experiences running Thanks! |
Immediately after launching, the following error shows up.
The text was updated successfully, but these errors were encountered: