Skip to content

Conversation

Biaogo
Copy link

@Biaogo Biaogo commented May 30, 2025

Fix string formatting error when displaying DNS resolution prompts by using consistent string comparison and formatting for port numbers.

@Biaogo Biaogo changed the title Update _utils.py resolve TypeError in DNS resolution popup formatting May 30, 2025
@gustavo-iniguez-goya
Copy link
Collaborator

Hi @Biaogo !

The var type of connection.dst_port is integer, so in this case is correct checking dst_port == 53. Otherwise it evaluates to False.

Did you see any strange behaviour on outbound DNS requests that motivated this change?

@Biaogo
Copy link
Author

Biaogo commented May 31, 2025

Hi @Biaogo !

The var type of connection.dst_port is integer, so in this case is correct checking dst_port == 53. Otherwise it evaluates to False.

Did you see any strange behaviour on outbound DNS requests that motivated this change?

When opening certain applications or using ping in the terminal, the gui will crash abnormally

Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/opensnitch/dialogs/prompt.py", line 277, in on_connection_prompt_triggered self._render_connection(self._con) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/opensnitch/dialogs/prompt.py", line 412, in *render*connection message = self._get_popup_message(app_name, con) File "/usr/lib/python3.13/site-packages/opensnitch/dialogs/prompt.py", line 584, in *get*popup_message msg_action = QC.translate("popups", "is attempting to resolve <b>%s</b> via %s, %s port %d") % ( \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ con.dst_host, ~~~~~~~~~~~~~ ...<2 lines>... con.dst_port) ~~~~~~~~~~~~~ TypeError: %d format: a real number is required, not str fish: Job 1, 'opensnitch-ui' terminated by signal SIGABRT (Abort)

@AngelSherry
Copy link

AngelSherry commented Jun 1, 2025

I can confirm that it will crash immediately when I ping any sites or IPs, too.

2025/6/1 PM 10:53	python	Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/opensnitch/dialogs/prompt.py", line 277, in on_connection_prompt_triggered
    self._render_connection(self._con)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/opensnitch/dialogs/prompt.py", line 412, in _render_connection
    message = self._get_popup_message(app_name, con)
  File "/usr/lib/python3.13/site-packages/opensnitch/dialogs/prompt.py", line 584, in _get_popup_message
    msg_action = QC.translate("popups", "is attempting to resolve <b>%s</b> via %s, %s port %d") % ( \
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
        con.dst_host,
        ~~~~~~~~~~~~~
    ...<2 lines>...
        con.dst_port)
        ~~~~~~~~~~~~~
TypeError: %d format: a real number is required, not str
2025/6/1 PM 10:53	systemd-coredump	Process 20605 (opensnitch-ui) of user 60272 dumped core.

Stack trace of thread 20605:
#0  0x00007ac44e8a774c n/a (libc.so.6 + 0x9774c)
#1  0x00007ac44e84ddc0 raise (libc.so.6 + 0x3ddc0)
#2  0x00007ac44e83557a abort (libc.so.6 + 0x2557a)
#3  0x00007ac44c4982e0 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x982e0)
#4  0x00007ac4493a2871 n/a (QtCore.abi3.so + 0x1a2871)
#5  0x00007ac4493a5c85 n/a (QtCore.abi3.so + 0x1a5c85)
#6  0x00007ac44dcc0a0c n/a (QtWidgets.abi3.so + 0x2c0a0c)
#7  0x00007ac44c6f6e5b _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2f6e5b)
#8  0x00007ac44dcbedbc n/a (QtWidgets.abi3.so + 0x2bedbc)
#9  0x00007ac44d358646 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x158646)
#10 0x00007ac44dcdd987 n/a (QtWidgets.abi3.so + 0x2dd987)
#11 0x00007ac44c6cfb68 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2cfb68)
#12 0x00007ac44c6d0ec0 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x2d0ec0)
#13 0x00007ac44c723fb0 n/a (libQt5Core.so.5 + 0x323fb0)
#14 0x00007ac44bb0887d n/a (libglib-2.0.so.0 + 0x5e87d)
#15 0x00007ac44bb09cd7 n/a (libglib-2.0.so.0 + 0x5fcd7)
#16 0x00007ac44bb09ee5 g_main_context_iteration (libglib-2.0.so.0 + 0x5fee5)
#17 0x00007ac44c721449 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x321449)
#18 0x00007ac44c6c807b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2c807b)
#19 0x00007ac44c6d439b _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2d439b)
#20 0x00007ac44dcd8837 n/a (QtWidgets.abi3.so + 0x2d8837)
#21 0x00007ac44eb920eb n/a (libpython3.13.so.1.0 + 0x1920eb)
#22 0x00007ac44eb5d46b _PyObject_MakeTpCall (libpython3.13.so.1.0 + 0x15d46b)
#23 0x00007ac44eb6ecd4 _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x16ecd4)
#24 0x00007ac44ec41695 PyEval_EvalCode (libpython3.13.so.1.0 + 0x241695)
#25 0x00007ac44ec7f433 n/a (libpython3.13.so.1.0 + 0x27f433)
#26 0x00007ac44ec7c81a n/a (libpython3.13.so.1.0 + 0x27c81a)
#27 0x00007ac44ec79f27 n/a (libpython3.13.so.1.0 + 0x279f27)
#28 0x00007ac44ec791e0 n/a (libpython3.13.so.1.0 + 0x2791e0)
#29 0x00007ac44ec78ff3 n/a (libpython3.13.so.1.0 + 0x278ff3)
#30 0x00007ac44ec77244 Py_RunMain (libpython3.13.so.1.0 + 0x277244)
#31 0x00007ac44ec2e95c Py_BytesMain (libpython3.13.so.1.0 + 0x22e95c)
#32 0x00007ac44e8376b5 n/a (libc.so.6 + 0x276b5)
#33 0x00007ac44e837769 __libc_start_main (libc.so.6 + 0x27769)
#34 0x00005d7550fc6045 _start (/usr/bin/python3.13 + 0x1045)

Stack trace of thread 21272:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 20959:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a264c n/a (libc.so.6 + 0x9264c)
#3  0x00007ac44e8a4d1e pthread_cond_wait (libc.so.6 + 0x94d1e)
#4  0x00007ac429d5fe5e n/a (libgallium-25.1.1-arch1.2.so + 0x55fe5e)
#5  0x00007ac429d1a43d n/a (libgallium-25.1.1-arch1.2.so + 0x51a43d)
#6  0x00007ac429d5fd8d n/a (libgallium-25.1.1-arch1.2.so + 0x55fd8d)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 20954:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a2024 n/a (libc.so.6 + 0x92024)
#3  0x00007ac44e91c05e __poll (libc.so.6 + 0x10c05e)
#4  0x00007ac443e1ed14 n/a (libQt5WaylandClient.so.5 + 0x68d14)
#5  0x00007ac44c4f1859 n/a (libQt5Core.so.5 + 0xf1859)
#6  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#7  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 20964:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a264c n/a (libc.so.6 + 0x9264c)
#3  0x00007ac44e8a4d1e pthread_cond_wait (libc.so.6 + 0x94d1e)
#4  0x00007ac429d5fe5e n/a (libgallium-25.1.1-arch1.2.so + 0x55fe5e)
#5  0x00007ac429d1a43d n/a (libgallium-25.1.1-arch1.2.so + 0x51a43d)
#6  0x00007ac429d5fd8d n/a (libgallium-25.1.1-arch1.2.so + 0x55fd8d)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21153:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a2024 n/a (libc.so.6 + 0x92024)
#3  0x00007ac44e91c05e __poll (libc.so.6 + 0x10c05e)
#4  0x00007ac44bfc702d n/a (select.cpython-313-x86_64-linux-gnu.so + 0x402d)
#5  0x00007ac44ec4df2a n/a (libpython3.13.so.1.0 + 0x24df2a)
#6  0x00007ac44eb5f82d PyObject_Vectorcall (libpython3.13.so.1.0 + 0x15f82d)
#7  0x00007ac44eb6ecd4 _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x16ecd4)
#8  0x00007ac44ebcbf9e n/a (libpython3.13.so.1.0 + 0x1cbf9e)
#9  0x00007ac44ecc11a8 n/a (libpython3.13.so.1.0 + 0x2c11a8)
#10 0x00007ac44ecc112c n/a (libpython3.13.so.1.0 + 0x2c112c)
#11 0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#12 0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 20961:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a264c n/a (libc.so.6 + 0x9264c)
#3  0x00007ac44e8a4d1e pthread_cond_wait (libc.so.6 + 0x94d1e)
#4  0x00007ac429d5fe5e n/a (libgallium-25.1.1-arch1.2.so + 0x55fe5e)
#5  0x00007ac429d1a43d n/a (libgallium-25.1.1-arch1.2.so + 0x51a43d)
#6  0x00007ac429d5fd8d n/a (libgallium-25.1.1-arch1.2.so + 0x55fd8d)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 20958:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a264c n/a (libc.so.6 + 0x9264c)
#3  0x00007ac44e8a4d1e pthread_cond_wait (libc.so.6 + 0x94d1e)
#4  0x00007ac429d5fe5e n/a (libgallium-25.1.1-arch1.2.so + 0x55fe5e)
#5  0x00007ac429d1a43d n/a (libgallium-25.1.1-arch1.2.so + 0x51a43d)
#6  0x00007ac429d5fd8d n/a (libgallium-25.1.1-arch1.2.so + 0x55fd8d)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 20949:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a2024 n/a (libc.so.6 + 0x92024)
#3  0x00007ac44e91c5a6 ppoll (libc.so.6 + 0x10c5a6)
#4  0x00007ac44bb09e04 n/a (libglib-2.0.so.0 + 0x5fe04)
#5  0x00007ac44bb09ee5 g_main_context_iteration (libglib-2.0.so.0 + 0x5fee5)
#6  0x00007ac44c721449 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x321449)
#7  0x00007ac44c6c807b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2c807b)
#8  0x00007ac44c4f531b _ZN7QThread4execEv (libQt5Core.so.5 + 0xf531b)
#9  0x00007ac4446dbd2e n/a (libQt5DBus.so.5 + 0x17d2e)
#10 0x00007ac44c4f1859 n/a (libQt5Core.so.5 + 0xf1859)
#11 0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#12 0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21193:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a2024 n/a (libc.so.6 + 0x92024)
#3  0x00007ac44e91c05e __poll (libc.so.6 + 0x10c05e)
#4  0x00007ac44bfc702d n/a (select.cpython-313-x86_64-linux-gnu.so + 0x402d)
#5  0x00007ac44eb6f0a7 _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x16f0a7)
#6  0x00007ac44ebcbf9e n/a (libpython3.13.so.1.0 + 0x1cbf9e)
#7  0x00007ac44ecc11a8 n/a (libpython3.13.so.1.0 + 0x2c11a8)
#8  0x00007ac44ecc112c n/a (libpython3.13.so.1.0 + 0x2c112c)
#9  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#10 0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 20955:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a2024 n/a (libc.so.6 + 0x92024)
#3  0x00007ac44e91c05e __poll (libc.so.6 + 0x10c05e)
#4  0x00007ac443e1ed14 n/a (libQt5WaylandClient.so.5 + 0x68d14)
#5  0x00007ac44c4f1859 n/a (libQt5Core.so.5 + 0xf1859)
#6  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#7  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 20962:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a264c n/a (libc.so.6 + 0x9264c)
#3  0x00007ac44e8a4d1e pthread_cond_wait (libc.so.6 + 0x94d1e)
#4  0x00007ac429d5fe5e n/a (libgallium-25.1.1-arch1.2.so + 0x55fe5e)
#5  0x00007ac429d1a43d n/a (libgallium-25.1.1-arch1.2.so + 0x51a43d)
#6  0x00007ac429d5fd8d n/a (libgallium-25.1.1-arch1.2.so + 0x55fd8d)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 444453:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8f2a92 clock_nanosleep (libc.so.6 + 0xe2a92)
#3  0x00007ac44ecd2129 n/a (libpython3.13.so.1.0 + 0x2d2129)
#4  0x00007ac44eb6e79b _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x16e79b)
#5  0x00007ac44ebcbf9e n/a (libpython3.13.so.1.0 + 0x1cbf9e)
#6  0x00007ac44eb73561 _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x173561)
#7  0x00007ac44ebcbf9e n/a (libpython3.13.so.1.0 + 0x1cbf9e)
#8  0x00007ac44ecc11a8 n/a (libpython3.13.so.1.0 + 0x2c11a8)
#9  0x00007ac44ecc112c n/a (libpython3.13.so.1.0 + 0x2c112c)
#10 0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#11 0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 20963:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a264c n/a (libc.so.6 + 0x9264c)
#3  0x00007ac44e8a4d1e pthread_cond_wait (libc.so.6 + 0x94d1e)
#4  0x00007ac429d5fe5e n/a (libgallium-25.1.1-arch1.2.so + 0x55fe5e)
#5  0x00007ac429d1a43d n/a (libgallium-25.1.1-arch1.2.so + 0x51a43d)
#6  0x00007ac429d5fd8d n/a (libgallium-25.1.1-arch1.2.so + 0x55fd8d)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21269:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d3ce _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x63ce)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac447a343ab n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x4343ab)
#6  0x00007ac4478db5ad n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2db5ad)
#7  0x00007ac447a26d33 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d33)
#8  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#9  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21292:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a2024 n/a (libc.so.6 + 0x92024)
#3  0x00007ac44e929475 epoll_wait (libc.so.6 + 0x119475)
#4  0x00007ac4478d3876 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2d3876)
#5  0x00007ac4478d2a54 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2d2a54)
#6  0x00007ac4479045a7 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x3045a7)
#7  0x00007ac44790e706 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x30e706)
#8  0x00007ac447ad9890 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x4d9890)
#9  0x00007ac447ad9b5f n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x4d9b5f)
#10 0x00007ac44ebdde37 PyObject_VectorcallMethod (libpython3.13.so.1.0 + 0x1dde37)
#11 0x00007ac447ada67e n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x4da67e)
#12 0x00007ac44eb5f82d PyObject_Vectorcall (libpython3.13.so.1.0 + 0x15f82d)
#13 0x00007ac44eb6f307 _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x16f307)
#14 0x00007ac44ebcbf9e n/a (libpython3.13.so.1.0 + 0x1cbf9e)
#15 0x00007ac44ecc11a8 n/a (libpython3.13.so.1.0 + 0x2c11a8)
#16 0x00007ac44ecc112c n/a (libpython3.13.so.1.0 + 0x2c112c)
#17 0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#18 0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 20960:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a264c n/a (libc.so.6 + 0x9264c)
#3  0x00007ac44e8a4d1e pthread_cond_wait (libc.so.6 + 0x94d1e)
#4  0x00007ac429d5fe5e n/a (libgallium-25.1.1-arch1.2.so + 0x55fe5e)
#5  0x00007ac429d1a43d n/a (libgallium-25.1.1-arch1.2.so + 0x51a43d)
#6  0x00007ac429d5fd8d n/a (libgallium-25.1.1-arch1.2.so + 0x55fd8d)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21270:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d3ce _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x63ce)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac447a343ab n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x4343ab)
#6  0x00007ac4478db5ad n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2db5ad)
#7  0x00007ac447a26d33 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d33)
#8  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#9  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21271:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac447a342c4 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x4342c4)
#6  0x00007ac4478f628f n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2f628f)
#7  0x00007ac447a26d33 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d33)
#8  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#9  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21277:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c21fa n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c21fa)
#6  0x00007ac4478bf4c5 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2bf4c5)
#7  0x00007ac4478c7fa6 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c7fa6)
#8  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#9  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#10 0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21308:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a264c n/a (libc.so.6 + 0x9264c)
#3  0x00007ac44e8add28 n/a (libc.so.6 + 0x9dd28)
#4  0x00007ac44ecc108b _PySemaphore_Wait (libpython3.13.so.1.0 + 0x2c108b)
#5  0x00007ac44ecc0f8c _PyParkingLot_Park (libpython3.13.so.1.0 + 0x2c0f8c)
#6  0x00007ac44ec9e398 n/a (libpython3.13.so.1.0 + 0x29e398)
#7  0x00007ac44ec9e257 n/a (libpython3.13.so.1.0 + 0x29e257)
#8  0x00007ac44eb97c98 n/a (libpython3.13.so.1.0 + 0x197c98)
#9  0x00007ac44eb5f82d PyObject_Vectorcall (libpython3.13.so.1.0 + 0x15f82d)
#10 0x00007ac44eb6f307 _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x16f307)
#11 0x00007ac44ebefff6 n/a (libpython3.13.so.1.0 + 0x1efff6)
#12 0x00007ac44eb6f617 _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x16f617)
#13 0x00007ac44ecec03f n/a (libpython3.13.so.1.0 + 0x2ec03f)
#14 0x00007ac44eb172ed n/a (libpython3.13.so.1.0 + 0x1172ed)
#15 0x00007ac44eb8993e n/a (libpython3.13.so.1.0 + 0x18993e)
#16 0x00007ac44eb73561 _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x173561)
#17 0x00007ac44ebcbf9e n/a (libpython3.13.so.1.0 + 0x1cbf9e)
#18 0x00007ac44ecc11a8 n/a (libpython3.13.so.1.0 + 0x2c11a8)
#19 0x00007ac44ecc112c n/a (libpython3.13.so.1.0 + 0x2c112c)
#20 0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#21 0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21273:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21274:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21276:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21275:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21278:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21281:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21282:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21284:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21285:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21286:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21287:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21288:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21283:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21307:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a264c n/a (libc.so.6 + 0x9264c)
#3  0x00007ac44e8add28 n/a (libc.so.6 + 0x9dd28)
#4  0x00007ac44ecc108b _PySemaphore_Wait (libpython3.13.so.1.0 + 0x2c108b)
#5  0x00007ac44ecc0f8c _PyParkingLot_Park (libpython3.13.so.1.0 + 0x2c0f8c)
#6  0x00007ac44ec9e398 n/a (libpython3.13.so.1.0 + 0x29e398)
#7  0x00007ac44ec9e257 n/a (libpython3.13.so.1.0 + 0x29e257)
#8  0x00007ac44eb97c98 n/a (libpython3.13.so.1.0 + 0x197c98)
#9  0x00007ac44eb5f82d PyObject_Vectorcall (libpython3.13.so.1.0 + 0x15f82d)
#10 0x00007ac44eb6f307 _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x16f307)
#11 0x00007ac44ecec03f n/a (libpython3.13.so.1.0 + 0x2ec03f)
#12 0x00007ac44eb172ed n/a (libpython3.13.so.1.0 + 0x1172ed)
#13 0x00007ac44eb8993e n/a (libpython3.13.so.1.0 + 0x18993e)
#14 0x00007ac44eb73561 _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x173561)
#15 0x00007ac44ebcbf9e n/a (libpython3.13.so.1.0 + 0x1cbf9e)
#16 0x00007ac44ecc11a8 n/a (libpython3.13.so.1.0 + 0x2c11a8)
#17 0x00007ac44ecc112c n/a (libpython3.13.so.1.0 + 0x2c112c)
#18 0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#19 0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21289:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478caf3c n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2caf3c)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21309:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a264c n/a (libc.so.6 + 0x9264c)
#3  0x00007ac44e8add28 n/a (libc.so.6 + 0x9dd28)
#4  0x00007ac44ecc108b _PySemaphore_Wait (libpython3.13.so.1.0 + 0x2c108b)
#5  0x00007ac44ecc0f8c _PyParkingLot_Park (libpython3.13.so.1.0 + 0x2c0f8c)
#6  0x00007ac44652e4bc n/a (_queue.cpython-313-x86_64-linux-gnu.so + 0x14bc)
#7  0x00007ac44652e61c n/a (_queue.cpython-313-x86_64-linux-gnu.so + 0x161c)
#8  0x00007ac44ebe3e14 n/a (libpython3.13.so.1.0 + 0x1e3e14)
#9  0x00007ac44eb5f82d PyObject_Vectorcall (libpython3.13.so.1.0 + 0x15f82d)
#10 0x00007ac44eb78788 _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x178788)
#11 0x00007ac44ebcbf9e n/a (libpython3.13.so.1.0 + 0x1cbf9e)
#12 0x00007ac44ecc11a8 n/a (libpython3.13.so.1.0 + 0x2c11a8)
#13 0x00007ac44ecc112c n/a (libpython3.13.so.1.0 + 0x2c112c)
#14 0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#15 0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21578:
#0  0x00007ac44e8ade22 n/a (libc.so.6 + 0x9de22)
#1  0x00007ac44e8a1fda n/a (libc.so.6 + 0x91fda)
#2  0x00007ac44e8a264c n/a (libc.so.6 + 0x9264c)
#3  0x00007ac44e8add28 n/a (libc.so.6 + 0x9dd28)
#4  0x00007ac44ecc108b _PySemaphore_Wait (libpython3.13.so.1.0 + 0x2c108b)
#5  0x00007ac44ecc0f8c _PyParkingLot_Park (libpython3.13.so.1.0 + 0x2c0f8c)
#6  0x00007ac44ec9e398 n/a (libpython3.13.so.1.0 + 0x29e398)
#7  0x00007ac44ec9e257 n/a (libpython3.13.so.1.0 + 0x29e257)
#8  0x00007ac44eb97c98 n/a (libpython3.13.so.1.0 + 0x197c98)
#9  0x00007ac44eb5f82d PyObject_Vectorcall (libpython3.13.so.1.0 + 0x15f82d)
#10 0x00007ac44eb6f307 _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x16f307)
#11 0x00007ac44ebf041b n/a (libpython3.13.so.1.0 + 0x1f041b)
#12 0x00007ac44ec2415b n/a (libpython3.13.so.1.0 + 0x22415b)
#13 0x00007ac44ebf0025 n/a (libpython3.13.so.1.0 + 0x1f0025)
#14 0x00007ac44eb6f617 _PyEval_EvalFrameDefault (libpython3.13.so.1.0 + 0x16f617)
#15 0x00007ac44ebcbf9e n/a (libpython3.13.so.1.0 + 0x1cbf9e)
#16 0x00007ac44ecc11a8 n/a (libpython3.13.so.1.0 + 0x2c11a8)
#17 0x00007ac44ecc112c n/a (libpython3.13.so.1.0 + 0x2c112c)
#18 0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#19 0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)

Stack trace of thread 21280:
#0  0x00007ac44e926eed syscall (libc.so.6 + 0x116eed)
#1  0x00007ac44753d41a _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x641a)
#2  0x00007ac44753dc87 _ZN4absl12lts_2025051224synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x6c87)
#3  0x00007ac44753dd68 AbslInternalPerThreadSemWait_lts_20250512 (libabsl_synchronization.so.2505.0.0 + 0x6d68)
#4  0x00007ac44754080c _ZN4absl12lts_202505127CondVar10WaitCommonEPNS0_5MutexENS0_24synchronization_internal13KernelTimeoutE (libabsl_synchronization.so.2505.0.0 + 0x980c)
#5  0x00007ac4478c8564 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x2c8564)
#6  0x00007ac447a26d88 n/a (cygrpc.cpython-313-x86_64-linux-gnu.so + 0x426d88)
#7  0x00007ac44e8a57eb n/a (libc.so.6 + 0x957eb)
#8  0x00007ac44e92918c n/a (libc.so.6 + 0x11918c)
ELF object binary architecture: AMD x86-64

@AngelSherry
Copy link

@Biaogo Your commit looks more like a workaround, and it only allows if con.dst_port == “53” to hold, which triggers the wrong msg_action generation logic, but does not address the con.dst_port data type.

Although if con.dst_port == “53” holds, con.dst_port is still a string, so the msg_action generation logic still breaks.

I think the better way is to fix the logic of msg_action and change the conditional judgment of con.dst_port to be compatible with string and integer comparisons like below:

        if (
            str(con.dst_port) == "53"
            and con.dst_ip != con.dst_host
            and con.dst_host != ""
        ):
            msg_action = QC.translate(
                "popups", "is attempting to resolve <b>%s</b> via %s, %s port %d"
            ) % (
                con.dst_host,
                con.dst_ip,
                con.protocol.upper(),
                int(con.dst_port),
            )

@Biaogo
Copy link
Author

Biaogo commented Jun 2, 2025

@Biaogo Your commit looks more like a workaround, and it only allows if con.dst_port == “53” to hold, which triggers the wrong msg_action generation logic, but does not address the con.dst_port data type.

Although if con.dst_port == “53” holds, con.dst_port is still a string, so the msg_action generation logic still breaks.

I think the better way is to fix the logic of msg_action and change the conditional judgment of con.dst_port to be compatible with string and integer comparisons like below:

        if (
            str(con.dst_port) == "53"
            and con.dst_ip != con.dst_host
            and con.dst_host != ""
        ):
            msg_action = QC.translate(
                "popups", "is attempting to resolve <b>%s</b> via %s, %s port %d"
            ) % (
                con.dst_host,
                con.dst_ip,
                con.protocol.upper(),
                int(con.dst_port),
            )

you are right

@gustavo-iniguez-goya
Copy link
Collaborator

gustavo-iniguez-goya commented Jun 2, 2025

Thanks for looking into this @Biaogo @AngelSherry !

This is a problem of the translation files, where the formatting modifier (%s, %d, ...) is changed from the expected position, for example:

opensnitch-zh_TW.ts:        <source>is attempting to resolve &lt;b&gt;%s&lt;/b&gt; via %s, %s port %d</source>
opensnitch-zh_TW.ts-        <translation>正試圖透過 %s,%s 連接埠 %d 解析 &lt;b&gt;%s&lt;/b&gt;</translation>

opensnitch-hi_IN.ts:        <source>is attempting to resolve &lt;b&gt;%s&lt;/b&gt; via %s, %s port %d</source>
opensnitch-hi_IN.ts-        <translation>%2$s, %3$s पोर्ट %4d के माध्यम से &lt;b&gt;%1$s&lt;/b&gt; को हल करने का प्रयास कर रहा है</translation>

We expect the integer value on the last position, but in some translations we receive it in another place.
I can reproduce it if I change the GUI language to hi_IN or zh_TW.

Instead of casting dst_port to str we could use:

            msg_action = QC.translate(
                "popups", "is attempting to resolve <b>{0}</b> via {1}, {2} port {3}".format(
                con.dst_host,
                con.dst_ip,
                con.protocol.upper(),
                con.dst_port,
            ))

(previous calls above that one should be updated as well).

We already had this problem in the past, my fault for not updating all the QC.translate() calls.

@gustavo-iniguez-goya
Copy link
Collaborator

hey @Biaogo ! let me know if you want me to fix this issue, or if you'll have time to take a look at it one more time.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants