Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable_spawn_gating occasionally crashes #310

Open
pandasauce opened this issue Feb 16, 2024 · 0 comments
Open

enable_spawn_gating occasionally crashes #310

pandasauce opened this issue Feb 16, 2024 · 0 comments

Comments

@pandasauce
Copy link
Contributor

This has been the case for at least a few years. Every 100 times or so, enabling spawn gating causes a soft-reboot:

Traceback (most recent call last):
[...]
    self.fridaDevice.enable_spawn_gating()
  File "/usr/local/lib/python3.9/site-packages/frida/core.py", line 86, in wrapper
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/frida/core.py", line 916, in enable_spawn_gating
    self._impl.enable_spawn_gating()
frida.TransportError: timeout was reached
  • Frida: 16.1.11
  • Android: at least since 11 through 14
  • Device: Pixel 4a, Pixel 6a
  • Host: Ubuntu 22.04
  • Root: Magisk

Steps to reproduce

  1. Start frida-server
  2. Get a handle to Frida USB device
  3. Set child and spawn gating handlers
  4. Enable spawn gating
  5. If it didn't trigger the issue, kill the app, wait a few seconds and repeat
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

No branches or pull requests

1 participant