evilsocket / opensnitch

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

opensnitch UI crashes when deleting a rule #1133

Closed UffeJakobsen closed 6 months ago

UffeJakobsen commented 6 months ago

For some weeks I've had problems with deleting any existing rules on opensnitch-ui builds from latest master. -Deleting a rule simply crashes the opensnitch-UI

I'm running Archlinux - fully updated (every day)

May 17 21:54:40 laptop python[815]: Traceback (most recent call last):
                                               File "/usr/lib/python3.12/site-packages/opensnitch/dialogs/stats.py", line 720, in eventFilter
                                                 self._table_menu_delete(self.tabWidget.currentIndex(), model, selection)
                                               File "/usr/lib/python3.12/site-packages/opensnitch/dialogs/stats.py", line 1370, in _table_menu_delete                                                                                                                                       
                                                 selection = self.TABLES[cur_idx]['view'].copySelection()
                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                               File "/usr/lib/python3.12/site-packages/opensnitch/customwidgets/generictableview.py", line 344, in copySelection                                                                                                                            
                                                 if limit != "":
                                                    ^^^^^
                                             UnboundLocalError: cannot access local variable 'limit' where it is not associated with a value
May 17 21:54:40 laptop  systemd[1]: Created slice Slice /system/systemd-coredump.
May 17 21:54:40 laptop systemd[1]: Started Process Core Dump (PID 1264/UID 0).
May 17 21:54:41 laptop  systemd-coredump[1267]: [🡕] Process 815 (opensnitch-ui) of user 1000 dumped core.

                                                        Stack trace of thread 815:
                                                        #0  0x000073fa778a8e44 n/a (libc.so.6 + 0x94e44)
                                                        #1  0x000073fa77850a30 raise (libc.so.6 + 0x3ca30)
                                                        #2  0x000073fa778384c3 abort (libc.so.6 + 0x244c3)
                                                        #3  0x000073fa754980c2 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x980c2)
                                                        #4  0x000073fa72648048 n/a (QtCore.abi3.so + 0x48048)
                                                        #5  0x000073fa78079e75 n/a (sip.cpython-312-x86_64-linux-gnu.so + 0xce75)
                                                        #6  0x000073fa76a929eb n/a (QtWidgets.abi3.so + 0x929eb)
                                                        #7  0x000073fa76cc470a n/a (QtWidgets.abi3.so + 0x2c470a)
                                                        #8  0x000073fa75690a42 _ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent (libQt5Core.so.5 + 0x290a42)                                                                                                   
                                                        #9  0x000073fa763578ef _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1578ef)                                                                                                                    
                                                        #10 0x000073fa7635c918 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x15c918)                                                                                                                                   
                                                        #11 0x000073fa76ce3b57 n/a (QtWidgets.abi3.so + 0x2e3b57)
                                                        #12 0x000073fa75693a68 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x293a68)                                                                                                                        
                                                        #13 0x000073fa763adc4b n/a (libQt5Widgets.so.5 + 0x1adc4b)
                                                        #14 0x000073fa763578ff _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1578ff)                                                                                                                    
                                                        #15 0x000073fa76ce3b57 n/a (QtWidgets.abi3.so + 0x2e3b57)
                                                        #16 0x000073fa75693a68 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x293a68)                                                                                                                        
                                                        #17 0x000073fa75b35580 _ZN22QGuiApplicationPrivate15processKeyEventEPN29QWindowSystemInterfacePrivate8KeyEventE (libQt5Gui.so.5 + 0x135580)                                                                                         
                                                        #18 0x000073fa75b1a6d5 _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Gui.so.5 + 0x11a6d5)                                                                                   
                                                        #19 0x000073fa6cbaf500 n/a (libQt5XcbQpa.so.5 + 0x5f500)
                                                        #20 0x000073fa7530ea89 n/a (libglib-2.0.so.0 + 0x5ca89)
                                                        #21 0x000073fa753709b7 n/a (libglib-2.0.so.0 + 0xbe9b7)
                                                        #22 0x000073fa7530df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                                                        #23 0x000073fa756e288c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2e288c)                                                                                             
                                                        #24 0x000073fa75692774 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x292774)                                                                                                                           
                                                        #25 0x000073fa75693c13 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x293c13)
                                                        #26 0x000073fa76cde8f0 n/a (QtWidgets.abi3.so + 0x2de8f0)
                                                        #27 0x000073fa77ba52ed n/a (libpython3.12.so.1.0 + 0x1a52ed)
                                                        #28 0x000073fa77b8550b _PyObject_MakeTpCall (libpython3.12.so.1.0 + 0x18550b)
                                                        #29 0x000073fa77a8bdfa n/a (libpython3.12.so.1.0 + 0x8bdfa)
                                                        #30 0x000073fa77c3d767 PyEval_EvalCode (libpython3.12.so.1.0 + 0x23d767)
                                                        #31 0x000073fa77c608b7 n/a (libpython3.12.so.1.0 + 0x2608b7)
                                                        #32 0x000073fa77c5b9dc n/a (libpython3.12.so.1.0 + 0x25b9dc)
                                                        #33 0x000073fa77c74f33 n/a (libpython3.12.so.1.0 + 0x274f33)
                                                        #34 0x000073fa77c74346 _PyRun_SimpleFileObject (libpython3.12.so.1.0 + 0x274346)
                                                        #35 0x000073fa77c73f88 _PyRun_AnyFileObject (libpython3.12.so.1.0 + 0x273f88)
                                                        #36 0x000073fa77c6cc67 Py_RunMain (libpython3.12.so.1.0 + 0x26cc67)
                                                        #37 0x000073fa77c28fab Py_BytesMain (libpython3.12.so.1.0 + 0x228fab)
                                                        #38 0x000073fa77839c88 n/a (libc.so.6 + 0x25c88)
                                                        #39 0x000073fa77839d4c __libc_start_main (libc.so.6 + 0x25d4c)
                                                        #40 0x0000614dabba2045 _start (python3.12 + 0x1045)

                                                        Stack trace of thread 1083:
                                                        #0  0x000073fa7791c39d __poll (libc.so.6 + 0x10839d)
                                                        #1  0x000073fa747b520b n/a (libxcb.so.1 + 0xd20b)
                                                        #2  0x000073fa747b6f3d xcb_wait_for_event (libxcb.so.1 + 0xef3d)
                                                        #3  0x000073fa6cbacff2 n/a (libQt5XcbQpa.so.5 + 0x5cff2)
                                                        #4  0x000073fa754eb88a n/a (libQt5Core.so.5 + 0xeb88a)
                                                        #5  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #6  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1122:
                                                        #0  0x000073fa77927e9d syscall (libc.so.6 + 0x113e9d)
                                                        #1  0x000073fa709f54bf _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x64bf)                                                    
                                                        #2  0x000073fa709f5dd4 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6dd4)                                                                       
                                                        #3  0x000073fa709f5ea7 AbslInternalPerThreadSemWait_lts_20240116 (libabsl_synchronization.so.2401.0.0 + 0x6ea7)                                                                                                                     
                                                        #4  0x000073fa709f4cbd n/a (libabsl_synchronization.so.2401.0.0 + 0x5cbd)
                                                        #5  0x000073fa70b8b359 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x18b359)
                                                        #6  0x000073fa70b9fa85 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x19fa85)
                                                        #7  0x000073fa70b8b8fb n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x18b8fb)
                                                        #8  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #9  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1125:
                                                        #0  0x000073fa77927e9d syscall (libc.so.6 + 0x113e9d)
                                                        #1  0x000073fa709f5514 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6514)                                                    
                                                        #2  0x000073fa709f5dd4 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6dd4)                                                                       
                                                        #3  0x000073fa709f5ea7 AbslInternalPerThreadSemWait_lts_20240116 (libabsl_synchronization.so.2401.0.0 + 0x6ea7)                                                                                                                     
                                                        #4  0x000073fa709f4cbd n/a (libabsl_synchronization.so.2401.0.0 + 0x5cbd)
                                                        #5  0x000073fa70b893e6 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x1893e6)
                                                        #6  0x000073fa70b8b93d n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x18b93d)
                                                        #7  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #8  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1103:
                                                        #0  0x000073fa7791c39d __poll (libc.so.6 + 0x10839d)
                                                        #1  0x000073fa71ffabb9 n/a (select.cpython-312-x86_64-linux-gnu.so + 0x3bb9)
                                                        #2  0x000073fa77c48110 n/a (libpython3.12.so.1.0 + 0x248110)
                                                        #3  0x000073fa77b9a844 PyObject_Vectorcall (libpython3.12.so.1.0 + 0x19a844)
                                                        #4  0x000073fa77a8bdfa n/a (libpython3.12.so.1.0 + 0x8bdfa)
                                                        #5  0x000073fa77bd53ac n/a (libpython3.12.so.1.0 + 0x1d53ac)
                                                        #6  0x000073fa77bd4eb1 n/a (libpython3.12.so.1.0 + 0x1d4eb1)
                                                        #7  0x000073fa77cb2cb8 n/a (libpython3.12.so.1.0 + 0x2b2cb8)
                                                        #8  0x000073fa77c71128 n/a (libpython3.12.so.1.0 + 0x271128)
                                                        #9  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #10 0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1127:
                                                        #0  0x000073fa77927e9d syscall (libc.so.6 + 0x113e9d)
                                                        #1  0x000073fa709f5514 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6514)                                                    
                                                        #2  0x000073fa709f5dd4 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6dd4)                                                                       
                                                        #3  0x000073fa709f5ea7 AbslInternalPerThreadSemWait_lts_20240116 (libabsl_synchronization.so.2401.0.0 + 0x6ea7)                                                                                                                     
                                                        #4  0x000073fa709f4cbd n/a (libabsl_synchronization.so.2401.0.0 + 0x5cbd)
                                                        #5  0x000073fa70b893e6 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x1893e6)
                                                        #6  0x000073fa70b8b93d n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x18b93d)
                                                        #7  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #8  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1126:
                                                        #0  0x000073fa77927e9d syscall (libc.so.6 + 0x113e9d)
                                                        #1  0x000073fa709f5514 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6514)                                                    
                                                        #2  0x000073fa709f5dd4 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6dd4)                                                                       
                                                        #3  0x000073fa709f5ea7 AbslInternalPerThreadSemWait_lts_20240116 (libabsl_synchronization.so.2401.0.0 + 0x6ea7)                                                                                                                     
                                                        #4  0x000073fa709f4cbd n/a (libabsl_synchronization.so.2401.0.0 + 0x5cbd)
                                                        #5  0x000073fa70b825ad n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x1825ad)
                                                        #6  0x000073fa70b7cc85 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x17cc85)
                                                        #7  0x000073fa70b88f0f n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x188f0f)
                                                        #8  0x000073fa70b8b93d n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x18b93d)
                                                        #9  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #10 0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1105:
                                                        #0  0x000073fa7791c39d __poll (libc.so.6 + 0x10839d)
                                                        #1  0x000073fa71ffabb9 n/a (select.cpython-312-x86_64-linux-gnu.so + 0x3bb9)
                                                        #2  0x000073fa77a8ccd7 n/a (libpython3.12.so.1.0 + 0x8ccd7)
                                                        #3  0x000073fa77bd53ac n/a (libpython3.12.so.1.0 + 0x1d53ac)
                                                        #4  0x000073fa77bd4eb1 n/a (libpython3.12.so.1.0 + 0x1d4eb1)
                                                        #5  0x000073fa77cb2cb8 n/a (libpython3.12.so.1.0 + 0x2b2cb8)
                                                        #6  0x000073fa77c71128 n/a (libpython3.12.so.1.0 + 0x271128)
                                                        #7  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #8  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1129:
                                                        #0  0x000073fa77927e9d syscall (libc.so.6 + 0x113e9d)
                                                        #1  0x000073fa709f5514 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6514)                                                    
                                                        #2  0x000073fa709f5dd4 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6dd4)                                                                       
                                                        #3  0x000073fa709f5ea7 AbslInternalPerThreadSemWait_lts_20240116 (libabsl_synchronization.so.2401.0.0 + 0x6ea7)                                                                                                                     
                                                        #4  0x000073fa709f4cbd n/a (libabsl_synchronization.so.2401.0.0 + 0x5cbd)
                                                        #5  0x000073fa70b8f544 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x18f544)
                                                        #6  0x000073fa70b8b93d n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x18b93d)
                                                        #7  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #8  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1128:
                                                        #0  0x000073fa77927e9d syscall (libc.so.6 + 0x113e9d)
                                                        #1  0x000073fa709f5514 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6514)                                                    
                                                        #2  0x000073fa709f5dd4 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6dd4)                                                                       
                                                        #3  0x000073fa709f5ea7 AbslInternalPerThreadSemWait_lts_20240116 (libabsl_synchronization.so.2401.0.0 + 0x6ea7)                                                                                                                     
                                                        #4  0x000073fa709f4cbd n/a (libabsl_synchronization.so.2401.0.0 + 0x5cbd)
                                                        #5  0x000073fa70b893e6 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x1893e6)
                                                        #6  0x000073fa70b8b93d n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x18b93d)
                                                        #7  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #8  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1261:
                                                        #0  0x000073fa778a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                        #1  0x000073fa778a6242 pthread_cond_timedwait (libc.so.6 + 0x92242)
                                                        #2  0x000073fa754f35a4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xf35a4)                                                                                                                                
                                                        #3  0x000073fa754f06da n/a (libQt5Core.so.5 + 0xf06da)
                                                        #4  0x000073fa754eb88a n/a (libQt5Core.so.5 + 0xeb88a)
                                                        #5  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #6  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1121:
                                                        #0  0x000073fa778a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                        #1  0x000073fa778a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                        #2  0x000073fa5ca9891e n/a (iris_dri.so + 0x9891e)
                                                        #3  0x000073fa5ca766cc n/a (iris_dri.so + 0x766cc)
                                                        #4  0x000073fa5ca9884d n/a (iris_dri.so + 0x9884d)
                                                        #5  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #6  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1130:
                                                        #0  0x000073fa7792a4e2 epoll_wait (libc.so.6 + 0x1164e2)
                                                        #1  0x000073fa70b97137 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x197137)
                                                        #2  0x000073fa70b9a967 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x19a967)
                                                        #3  0x000073fa70b9ac14 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x19ac14)
                                                        #4  0x000073fa70c21f4c n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x221f4c)
                                                        #5  0x000073fa70d15d8b n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x315d8b)
                                                        #6  0x000073fa70d18554 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x318554)
                                                        #7  0x000073fa70d9f829 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x39f829)
                                                        #8  0x000073fa70d18999 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x318999)
                                                        #9  0x000073fa77ba8ea2 n/a (libpython3.12.so.1.0 + 0x1a8ea2)
                                                        #10 0x000073fa77b9a844 PyObject_Vectorcall (libpython3.12.so.1.0 + 0x19a844)
                                                        #11 0x000073fa77a8bdfa n/a (libpython3.12.so.1.0 + 0x8bdfa)
                                                        #12 0x000073fa77bd53ac n/a (libpython3.12.so.1.0 + 0x1d53ac)
                                                        #13 0x000073fa77bd4eb1 n/a (libpython3.12.so.1.0 + 0x1d4eb1)
                                                        #14 0x000073fa77cb2cb8 n/a (libpython3.12.so.1.0 + 0x2b2cb8)
                                                        #15 0x000073fa77c71128 n/a (libpython3.12.so.1.0 + 0x271128)
                                                        #16 0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #17 0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1123:
                                                        #0  0x000073fa77927e9d syscall (libc.so.6 + 0x113e9d)
                                                        #1  0x000073fa709f54bf _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x64bf)                                                    
                                                        #2  0x000073fa709f5dd4 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6dd4)                                                                       
                                                        #3  0x000073fa709f5ea7 AbslInternalPerThreadSemWait_lts_20240116 (libabsl_synchronization.so.2401.0.0 + 0x6ea7)                                                                                                                     
                                                        #4  0x000073fa709f4cbd n/a (libabsl_synchronization.so.2401.0.0 + 0x5cbd)
                                                        #5  0x000073fa70b8b359 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x18b359)
                                                        #6  0x000073fa70b9fa85 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x19fa85)
                                                        #7  0x000073fa70b8b8fb n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x18b8fb)
                                                        #8  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #9  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1132:
                                                        #0  0x000073fa778a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                        #1  0x000073fa778af278 n/a (libc.so.6 + 0x9b278)
                                                        #2  0x000073fa77b6b65e PyThread_acquire_lock_timed (libpython3.12.so.1.0 + 0x16b65e)
                                                        #3  0x000073fa6fc88362 n/a (_queue.cpython-312-x86_64-linux-gnu.so + 0x2362)
                                                        #4  0x000073fa6fc88584 n/a (_queue.cpython-312-x86_64-linux-gnu.so + 0x2584)
                                                        #5  0x000073fa77beba25 n/a (libpython3.12.so.1.0 + 0x1eba25)
                                                        #6  0x000073fa77b9a844 PyObject_Vectorcall (libpython3.12.so.1.0 + 0x19a844)
                                                        #7  0x000073fa77a8bdfa n/a (libpython3.12.so.1.0 + 0x8bdfa)
                                                        #8  0x000073fa77bd53ac n/a (libpython3.12.so.1.0 + 0x1d53ac)
                                                        #9  0x000073fa77bd4eb1 n/a (libpython3.12.so.1.0 + 0x1d4eb1)
                                                        #10 0x000073fa77cb2cb8 n/a (libpython3.12.so.1.0 + 0x2b2cb8)
                                                        #11 0x000073fa77c71128 n/a (libpython3.12.so.1.0 + 0x271128)
                                                        #12 0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #13 0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1263:
                                                        #0  0x000073fa778a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                        #1  0x000073fa778a6242 pthread_cond_timedwait (libc.so.6 + 0x92242)
                                                        #2  0x000073fa754f35a4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xf35a4)                                                                                                                                
                                                        #3  0x000073fa754f06da n/a (libQt5Core.so.5 + 0xf06da)
                                                        #4  0x000073fa754eb88a n/a (libQt5Core.so.5 + 0xeb88a)
                                                        #5  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #6  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1124:
                                                        #0  0x000073fa77927e9d syscall (libc.so.6 + 0x113e9d)
                                                        #1  0x000073fa709f5514 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter9WaitUntilEPSt6atomicIiEiNS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6514)                                                    
                                                        #2  0x000073fa709f5dd4 _ZN4absl12lts_2024011624synchronization_internal11FutexWaiter4WaitENS1_13KernelTimeoutE (libabsl_synchronization.so.2401.0.0 + 0x6dd4)                                                                       
                                                        #3  0x000073fa709f5ea7 AbslInternalPerThreadSemWait_lts_20240116 (libabsl_synchronization.so.2401.0.0 + 0x6ea7)                                                                                                                     
                                                        #4  0x000073fa709f4cbd n/a (libabsl_synchronization.so.2401.0.0 + 0x5cbd)
                                                        #5  0x000073fa70b8b3e6 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x18b3e6)
                                                        #6  0x000073fa70bb4a84 n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x1b4a84)
                                                        #7  0x000073fa70b8b8fb n/a (cygrpc.cpython-312-x86_64-linux-gnu.so + 0x18b8fb)
                                                        #8  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #9  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1262:
                                                        #0  0x000073fa778a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                        #1  0x000073fa778a6242 pthread_cond_timedwait (libc.so.6 + 0x92242)
                                                        #2  0x000073fa754f35a4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xf35a4)                                                                                                                                
                                                        #3  0x000073fa754f06da n/a (libQt5Core.so.5 + 0xf06da)
                                                        #4  0x000073fa754eb88a n/a (libQt5Core.so.5 + 0xeb88a)
                                                        #5  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #6  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1133:
                                                        #0  0x000073fa778a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                        #1  0x000073fa778af278 n/a (libc.so.6 + 0x9b278)
                                                        #2  0x000073fa77b6b65e PyThread_acquire_lock_timed (libpython3.12.so.1.0 + 0x16b65e)
                                                        #3  0x000073fa77c5652e n/a (libpython3.12.so.1.0 + 0x25652e)
                                                        #4  0x000073fa77c811bf n/a (libpython3.12.so.1.0 + 0x2811bf)
                                                        #5  0x000073fa77ba8ea2 n/a (libpython3.12.so.1.0 + 0x1a8ea2)
                                                        #6  0x000073fa77b9a844 PyObject_Vectorcall (libpython3.12.so.1.0 + 0x19a844)
                                                        #7  0x000073fa77a8bdfa n/a (libpython3.12.so.1.0 + 0x8bdfa)
                                                        #8  0x000073fa77bf498f n/a (libpython3.12.so.1.0 + 0x1f498f)
                                                        #9  0x000073fa77caeaa7 n/a (libpython3.12.so.1.0 + 0x2aeaa7)
                                                        #10 0x000073fa77bf4594 n/a (libpython3.12.so.1.0 + 0x1f4594)
                                                        #11 0x000073fa77a8d63f n/a (libpython3.12.so.1.0 + 0x8d63f)
                                                        #12 0x000073fa77bd53ac n/a (libpython3.12.so.1.0 + 0x1d53ac)
                                                        #13 0x000073fa77bd4eb1 n/a (libpython3.12.so.1.0 + 0x1d4eb1)
                                                        #14 0x000073fa77cb2cb8 n/a (libpython3.12.so.1.0 + 0x2b2cb8)
                                                        #15 0x000073fa77c71128 n/a (libpython3.12.so.1.0 + 0x271128)
                                                        #16 0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #17 0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1131:
                                                        #0  0x000073fa778a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                        #1  0x000073fa778af278 n/a (libc.so.6 + 0x9b278)
                                                        #2  0x000073fa77b6b65e PyThread_acquire_lock_timed (libpython3.12.so.1.0 + 0x16b65e)
                                                        #3  0x000073fa77c5652e n/a (libpython3.12.so.1.0 + 0x25652e)
                                                        #4  0x000073fa77c811bf n/a (libpython3.12.so.1.0 + 0x2811bf)
                                                        #5  0x000073fa77ba8ea2 n/a (libpython3.12.so.1.0 + 0x1a8ea2)
                                                        #6  0x000073fa77b9a844 PyObject_Vectorcall (libpython3.12.so.1.0 + 0x19a844)
                                                        #7  0x000073fa77a8bdfa n/a (libpython3.12.so.1.0 + 0x8bdfa)
                                                        #8  0x000073fa77bf4509 n/a (libpython3.12.so.1.0 + 0x1f4509)
                                                        #9  0x000073fa77a8d63f n/a (libpython3.12.so.1.0 + 0x8d63f)
                                                        #10 0x000073fa77cd3d5c n/a (libpython3.12.so.1.0 + 0x2d3d5c)
                                                        #11 0x000073fa77b40766 n/a (libpython3.12.so.1.0 + 0x140766)
                                                        #12 0x000073fa77b9a98e n/a (libpython3.12.so.1.0 + 0x19a98e)
                                                        #13 0x000073fa77a8cb8e n/a (libpython3.12.so.1.0 + 0x8cb8e)
                                                        #14 0x000073fa77bd53ac n/a (libpython3.12.so.1.0 + 0x1d53ac)
                                                        #15 0x000073fa77bd4eb1 n/a (libpython3.12.so.1.0 + 0x1d4eb1)
                                                        #16 0x000073fa77cb2cb8 n/a (libpython3.12.so.1.0 + 0x2b2cb8)
                                                        #17 0x000073fa77c71128 n/a (libpython3.12.so.1.0 + 0x271128)
                                                        #18 0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #19 0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1120:
                                                        #0  0x000073fa778a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                        #1  0x000073fa778a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                        #2  0x000073fa5ca9891e n/a (iris_dri.so + 0x9891e)
                                                        #3  0x000073fa5ca766cc n/a (iris_dri.so + 0x766cc)
                                                        #4  0x000073fa5ca9884d n/a (iris_dri.so + 0x9884d)
                                                        #5  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #6  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1260:
                                                        #0  0x000073fa778a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                        #1  0x000073fa778a6242 pthread_cond_timedwait (libc.so.6 + 0x92242)
                                                        #2  0x000073fa754f35a4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xf35a4)                                                                                                                                
                                                        #3  0x000073fa754f06da n/a (libQt5Core.so.5 + 0xf06da)
                                                        #4  0x000073fa754eb88a n/a (libQt5Core.so.5 + 0xeb88a)
                                                        #5  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #6  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)

                                                        Stack trace of thread 1082:
                                                        #0  0x000073fa7791c39d __poll (libc.so.6 + 0x10839d)
                                                        #1  0x000073fa753708fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                                                        #2  0x000073fa7530df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                                                        #3  0x000073fa756e288c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2e288c)                                                                                             
                                                        #4  0x000073fa75692774 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x292774)                                                                                                                           
                                                        #5  0x000073fa754ef666 _ZN7QThread4execEv (libQt5Core.so.5 + 0xef666)
                                                        #6  0x000073fa6cd97a9a n/a (libQt5DBus.so.5 + 0x17a9a)
                                                        #7  0x000073fa754eb88a n/a (libQt5Core.so.5 + 0xeb88a)
                                                        #8  0x000073fa778a6ded n/a (libc.so.6 + 0x92ded)
                                                        #9  0x000073fa7792a0dc n/a (libc.so.6 + 0x1160dc)
                                                        ELF object binary architecture: AMD x86-64
May 17 21:54:41 laptop systemd[1]: systemd-coredump@0-1264-0.service: Deactivated successfully.
gustavo-iniguez-goya commented 6 months ago

thank you @UffeJakobsen for reporting this, I'll take a look at it.

gustavo-iniguez-goya commented 6 months ago

@UffeJakobsen I think this issue is fixed.

Previous commit was an attempt to fix deleting rules when there was a limit of rules displayed, but apart that it was not complete (...), I haven't reproduced it.

If it still crashes, or find more problems, report them please!

UffeJakobsen commented 6 months ago

That was fast !!! I can confirm that the UI does NOT crash anymore when deleting rules. Thanks :+1: :-)