HuskyDG / magisk-files

1.86k stars 78 forks source link

Running frida-server causes numerous unrelated apps to crash #102

Closed raxod502 closed 5 months ago

raxod502 commented 5 months ago

Reporting https://github.com/frida/frida/issues/2743 here as well since there's a fair possibility that the issue might lie in Magisk (or rather Kitsune, since I run GrapheneOS 14 and needed to switch) rather than Frida proper. See the linked issue for details and logs. I installed the latest debug build of Kitsune of 2024-01-29 to ensure that problem still reproduces, and it does, with the same behavior as in the linked issue report.

HuskyDG commented 5 months ago

How to reproduce the problem?

raxod502 commented 5 months ago

There are instructions at https://frida.re/docs/android/. Concisely:

% wget https://github.com/frida/frida/releases/download/16.1.11/frida-server-16.1.11-android-arm64.xz -O frida-server
% unxz frida-server
% chmod +x frida-server
% adb push frida-server /data/local/tmp/
% adb shell
>> su
>> /data/local/tmp/frida-server

Then, while frida-server is running, on my device at least, all new process spawns fail, with the SIGABRT crash report in the linked issue.

HuskyDG commented 5 months ago

I don't think the problem caused by Magisk. Did the problem still occur after disabling zygisk?

raxod502 commented 5 months ago

Yes, I did just test and the problem still occurs with Zygisk disabled. Will go ahead and assume it's an issue with Frida, then, and the timing with Magisk is just coincidental. Sorry!