$ pip install frida-tools
$ pyenv which frida-ls-devices
/Users/iosbuild/.pyenv/versions/3.9.5-frida-tools/bin/frida-ls-devices
$ pyenv which frida-ps
/Users/iosbuild/.pyenv/versions/3.9.5-frida-tools/bin/frida-ps
Produce a segmentation fault:
$ frida-ls-devices
Id Type Name
---------------------------------------- ------ ------------
local local Local System
<serial-one-redacted> usb Mi A3
<serial-two-redacted> usb iPhone
$ firda-ps --device <serial-one-redacted>
<produces a list of processes>
$ frida-ps --device <serial-two-redacted>
Failed to enumerate processes: channel closed
zsh: segmentation fault frida-ps --device <serial-two-redacted>
In the segmentation fault above, the "Failed to enumerate processes" sometimes is not visible, and only the segmentation fault message is there. I am also attaching a crash report from /Users/iosbuild/Library/Logs/DiagnosticReports/, which shows the crash happens in frida-main-loop.
System information:
Steps to reproduce:
Prepare a fresh virtual environment for Frida tools:
Install
frida-tools
Produce a segmentation fault:
In the segmentation fault above, the "Failed to enumerate processes" sometimes is not visible, and only the segmentation fault message is there. I am also attaching a crash report from
/Users/iosbuild/Library/Logs/DiagnosticReports/
, which shows the crash happens infrida-main-loop
.Same segmentation fault occurs if I build Frida from source on that machine following these instructions.
Finally, Frida worked on that machine one week ago (21st of May), so something changed either on the machine or for Frida in the last week.