[Bug Report] GUI: opensnitch-ui segmentation fault
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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)
- 主要言語
- Python
- スター
- 14.3k
- フォーク
- 689
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
evilsocket/opensnitch のほかの issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
evilsocket/opensnitch#1715 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
evilsocket/opensnitch#1689 · コメント 3 件 · リアクション 1 件 ·
-
[Bug Report] list_subscriptions plugin prevents the UI from starting with protobuf < 3.20 (Fedora 44)対応中かも @aadrian が 48 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
evilsocket/opensnitch#1683 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
evilsocket/opensnitch#1675 ·
-
ui: Addresses tab shows raw column name "what"対応中かも @aadrian が 48 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
evilsocket/opensnitch#1674 · コメント 2 件 ·
evilsocket/opensnitch の issue をすべて見る
似ている issue
-
[Bug]: DoubleMLData.from_arrays checks the treatment d with force_all_x_finite instead of force_all_d_finite対応中かも @leninworld が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
DoubleML/doubleml-for-py#471 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
python-pillow/Pillow#10590 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
BUG: ZarrTrace fails in init_trace for models with datetime coordinates (object dtype coord array)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信