frida / frida-tools

Frida CLI tools
Other
351 stars 98 forks source link

Error in threading.py causes no usb devices #160

Open juangvega opened 3 months ago

juangvega commented 3 months ago

frida 16.4.7 frida-tools 12.5.0

This started when I connected new devices. I'm currently working with nine devices without issues. However, more than nine trigger this error, causing no devices to be found.

Exception in thread Thread-1 (_run): Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner Id Type Name OS


local local Local System Debian GNU/Linux 12 barebone remote GDB Remote Stub socket remote Local Socket self.run() File "/usr/lib/python3.11/threading.py", line 975, in run self._target(*self._args, **self._kwargs) File "/home/admin/.python3/lib/python3.11/site-packages/frida_tools/reactor.py", line 80, in _run self._on_stop() File "/home/admin/.python3/lib/python3.11/site-packages/frida_tools/lsd.py", line 90, in _on_stop self._ui_app.exit() File "/home/admin/.python3/lib/python3.11/site-packages/prompt_toolkit/application/application.py", line 1289, in exit raise Exception("Application is not running. Application.exit() failed.") Exception: Application is not running. Application.exit() failed.