bandwhich icon indicating copy to clipboard operation
bandwhich copied to clipboard

stuck on exit

Open rpodgorny opened this issue 4 years ago • 3 comments

bandwhich seems to working fine but whenever i try to exit it, it just clears the screen and stays stuck. ctrl-c not ctrl-\ work. i always have to kill it:

fish: “sudo bandwhich -i wlan0” terminated by signal SIGTERM (Polite quit request)

i'm on 64bit arch linux (so you can consider all libraries to be "the latest"). please ask for more info or any other steps i should make to help you debug this since i'm not really familiar with rust.

rpodgorny avatar Jun 15 '20 03:06 rpodgorny

Hey @rpodgorny, thanks for reporting this. We've been kind of chasing this issue around a while and I suspect it's due to the library we use to sniff traffic not releasing its thread.

To know for sure, I can create a debug branch and have you test it (essentially, I'll remove everything except the traffic capture and ask you to see if this still happens). Would you be willing to help debug this? Also, are you comfortable compiling a branch on this repository and running it? (I'd be happy to give detailed instructions since you're not familiar with rust).

In any case, I'm a little swamped right now, so might only get to this in a few days up to a week. Thanks very much for your help!

imsnif avatar Jun 16 '20 08:06 imsnif

hi! no problem. i'll try my best to help you.

rpodgorny avatar Jun 16 '20 08:06 rpodgorny

...a friendly bump. ;-)

rpodgorny avatar Jun 30 '20 07:06 rpodgorny

Hi @rpodgorny, I'm cleaning up old issues in this repo. Can you check if this is still an issue for you? Much thanks.

cyqsimon avatar Oct 12 '23 08:10 cyqsimon

Hi @rpodgorny, I'm cleaning up old issues in this repo. Can you check if this is still an issue for you? Much thanks.

hi, i just tested with version 0.21.0-1 on current arch linux and both "q" and "ctrl-c" work. so i guess this can be closed.

rpodgorny avatar Oct 12 '23 08:10 rpodgorny