evilsocket / opensnitch

OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
GNU General Public License v3.0
9.86k stars 486 forks source link

[Bug] UI Crashing After Update To v1.6.5 #1093

Closed zero77 closed 4 months ago

zero77 commented 4 months ago

Describe the bug I have updated the daemon an ui and nodes to v1.6.5 and it works but after a while the UI crashis. I have updated from v1.6.4

Include the following information:

To Reproduce

  1. update to v1.6.5
  2. open ui
  3. wait for a minute
  4. ui crashis
  5. See error

Post error logs: All logs above this looks normal

https://pastebin.com/raw/UEjbSiwQ

Expected behavior (optional)

Screenshots

Additional context

gustavo-iniguez-goya commented 4 months ago

problem found. I'll fix it and create a new GUI release.

[update] the daemon is connecting to the GUI via tcp/udp sockets? or from a remote machine?

zero77 commented 4 months ago

Thank you Both, the logs are from the device running the ui but, i also have several nodes connecting.

zero77 commented 4 months ago

I have also just spotted the missing info from below, should i open a new issue ? Though i have added all the error logs i have before the crash in this issue.

2024-02

gustavo-iniguez-goya commented 4 months ago

When there're more than 1 node connected the status statistics are not painted, because previously they were painted whenever any node sent them instead of being accumulated and it was not very helpful (and a little bit annoying).

By the way, please, apply this simple fix and let me know if it works:

in /usr/lib/python3/dist-packages/opensnitch/dialogs/prompt.py , after line 219 add:

        self._peer = peer

As far as I can tell it does.

zero77 commented 4 months ago

Thanks for the clarification and it may be worth removing it completely so there's no confusion.

I added self._peer = peer on line 220 and no crashes at the moment but, i will keep an eye on it

gustavo-iniguez-goya commented 4 months ago

new packages published: https://github.com/evilsocket/opensnitch/releases/tag/v1.6.5.1

closing this issue as fixed.