[Bug Report] GUI: opensnitch-ui segmentation fault
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Start by reproducing the crash with opensnitch-ui --debug on the reported Ubuntu setup. Read opensnitch/dialogs/prompt/__init__.py around _timeout_worker, promptUser, and on_connection_prompt_triggered, then inspect opensnitch/dialogs/prompt/_details.py around render; the thread dump identifies these as the active prompt path. Done means the GUI no longer segfaults when the connection prompt appears.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug:
Include the following information:
- OpenSnitch version: 1.8.0
- OS: Ubuntu
- OS version: 24.04
- Window Manager: GNOME Shell
- Kernel version: 6.14.0-35-generic
To Reproduce:
Steps to reproduce the behavior:
Launch opensnitch, wait around 10 seconds, UI pops up for a few seconds then crashes.
Run command opensnitch-ui --debug to check errors.
Error logs:
opensnitch-ui --debug
Themes not available. Install qt-material if you want to change GUI's appearance: pip3 install qt-material.
Loaded network aliases from /usr/lib/python3/dist-packages/opensnitch/utils/network_aliases/network_aliases.json
~ OpenSnitch GUI - 1.8.0 ~
protobuf: 4.21.12 - grpc: 1.51.1
--------------------------------------------------
QT_AUTO_SCREEN_SCALE_FACTOR: True
gRPC Max Message Length: 4MiB
Bytes: 4194304
[server] addr: unix:///tmp/osui.sock
is new file, or IN MEMORY, setting initial schema version
setting schema version to: 3
setting schema version to: 3
Setting journal_mode: OFF
Setting DB memory optimizations
schema version: 3
db schema is up to date
actions.__init__ exception: [Errno 17] File exists: '/home/andrewk/.config//opensnitch/actions/'
actions.__init__ exception: [Errno 17] File exists: '/home/andrewk/.config//opensnitch/actions/'
Loading translations: /usr/lib/python3/dist-packages/opensnitch/utils/../i18n locale: en_AU
using IPASN DB: /usr/lib/python3/dist-packages/data/ipasn_20140513_v12.dat.gz
actions.__init__ exception: [Errno 17] File exists: '/home/andrewk/.config//opensnitch/actions/'
[server] using address: unix:///tmp/osui.sock auth type: simple
2026-09-29 08:51:32.874269 [Subscribe] unix:
Setting daemon DefaultAction to: allow
2026-09-29 08:51:32.880248 [Notifications] channel started: unix:
new node connected, listening for client responses... /local
[Nodes]: reply notification not in the list: 0
Fatal Python error: Segmentation fault
Thread 0x000079000effd6c0 (most recent call first):
File "/usr/lib/python3/dist-packages/opensnitch/dialogs/prompt/__init__.py", line 323 in _timeout_worker
File "/usr/lib/python3.12/threading.py", line 1010 in run
File "/usr/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x000079000ffff6c0 (most recent call first):
File "/usr/lib/python3.12/threading.py", line 355 in wait
File "/usr/lib/python3/dist-packages/grpc/_server.py", line 382 in _next
File "/usr/lib/python3/dist-packages/grpc/_server.py", line 391 in __next__
File "/usr/lib/python3/dist-packages/opensnitch/service.py", line 1021 in new_node_message
File "/usr/lib/python3.12/threading.py", line 1010 in run
File "/usr/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x000079002cff96c0 (most recent call first):
File "/usr/lib/python3.12/threading.py", line 355 in wait
File "/usr/lib/python3.12/queue.py", line 171 in get
File "/usr/lib/python3/dist-packages/opensnitch/service.py", line 1045 in Notifications
File "/usr/lib/python3/dist-packages/grpc/_server.py", line 462 in _take_response_from_response_iterator
File "/usr/lib/python3/dist-packages/grpc/_server.py", line 615 in _send_message_callback_to_blocking_iterator_adapter
File "/usr/lib/python3/dist-packages/grpc/_server.py", line 601 in _stream_response_in_pool
File "/usr/lib/python3.12/concurrent/futures/thread.py", line 58 in run
File "/usr/lib/python3.12/concurrent/futures/thread.py", line 92 in _worker
File "/usr/lib/python3.12/threading.py", line 1010 in run
File "/usr/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x000079002d7fa6c0 (most recent call first):
File "/usr/lib/python3.12/threading.py", line 355 in wait
File "/usr/lib/python3.12/threading.py", line 655 in wait
File "/usr/lib/python3/dist-packages/opensnitch/dialogs/prompt/__init__.py", line 304 in promptUser
File "/usr/lib/python3/dist-packages/opensnitch/service.py", line 884 in AskRule
File "/usr/lib/python3/dist-packages/grpc/_server.py", line 444 in _call_behavior
File "/usr/lib/python3/dist-packages/grpc/_server.py", line 561 in _unary_response_in_pool
File "/usr/lib/python3.12/concurrent/futures/thread.py", line 58 in run
File "/usr/lib/python3.12/concurrent/futures/thread.py", line 92 in _worker
File "/usr/lib/python3.12/threading.py", line 1010 in run
File "/usr/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x000079002dffb6c0 (most recent call first):
File "/usr/lib/python3/dist-packages/grpc/_server.py", line 880 in _serve
File "/usr/lib/python3.12/threading.py", line 1010 in run
File "/usr/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x000079006bfff6c0 (most recent call first):
File "/usr/lib/python3/dist-packages/pyinotify.py", line 1194 in check_events
File "/usr/lib/python3/dist-packages/pyinotify.py", line 1381 in loop
File "/usr/lib/python3/dist-packages/opensnitch/desktop_parser.py", line 202 in run
File "/usr/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/lib/python3.12/threading.py", line 1030 in _bootstrap
Thread 0x0000790081b806c0 (most recent call first):
File "/usr/lib/python3/dist-packages/pyinotify.py", line 1194 in check_events
File "/usr/lib/python3/dist-packages/pyinotify.py", line 1381 in loop
File "/usr/lib/python3/dist-packages/opensnitch/desktop_parser.py", line 202 in run
File "/usr/lib/python3.12/threading.py", line 1073 in _bootstrap_inner
File "/usr/lib/python3.12/threading.py", line 1030 in _bootstrap
Current thread 0x00007900a489b080 (most recent call first):
File "/usr/lib/python3/dist-packages/opensnitch/dialogs/prompt/_details.py", line 50 in render
File "/usr/lib/python3/dist-packages/opensnitch/dialogs/prompt/__init__.py", line 337 in on_connection_prompt_triggered
File "/usr/bin/opensnitch-ui", line 301 in <module>
Extension modules: PyQt6.QtCore, PyQt6.QtGui, PyQt6.QtWidgets, PyQt6.QtNetwork, grpc._cython.cygrpc, PyQt6.QtSql, google.protobuf.pyext._message, _dbus_bindings, _dbus_glib_bindings, pyasn.pyasn_radix (total: 10)
Segmentation fault (core dumped)
- Lingua principale
- Python
- Stelle
- 14.3k
- Fork
- 689
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di evilsocket/opensnitch
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
evilsocket/opensnitch#1715 ·
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
evilsocket/opensnitch#1689 · 3 commenti · 1 reazione ·
-
[Bug Report] list_subscriptions plugin prevents the UI from starting with protobuf < 3.20 (Fedora 44)Forse già presa @aadrian l’ha presa 48 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
evilsocket/opensnitch#1683 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
evilsocket/opensnitch#1675 ·
-
ui: Addresses tab shows raw column name "what"Forse già presa @aadrian l’ha presa 48 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
evilsocket/opensnitch#1674 · 2 commenti ·
Tutte le issue di evilsocket/opensnitch
Issue simili
-
[Bug]: DoubleMLData.from_arrays checks the treatment d with force_all_x_finite instead of force_all_d_finiteForse già presa @leninworld l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
DoubleML/doubleml-for-py#471 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
python-pillow/Pillow#10590 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
BUG: ZarrTrace fails in init_trace for models with datetime coordinates (object dtype coord array)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 2 giorni