Apologies if this is the wrong repository to file this under - please let me know!
When attaching to a local macOS device using these Node bindings, attempting to enable spawn gating has frida-helper crash. After recompiling Frida 16.1.10 and the binding with symbols, the following stacktrace is visible:
This crash is reproducible with the included spawn gating example, and I was able to reproduce this under several macOS versions (primarily Monterey and Sonoma). It appears the issue regarding safe_fdwalk_with_invalid_fds was raised and resolved in upstream GLib on issue 3024.
However, after applying the upstream commit to Frida's GLib fork and rebuilding the SDK/Frida itself, spawngating continues to not be functional with the Node bindings. The spawn-added signal appears to never fire.
Frustratingly, when using frida-trace -W 'example' or the Python bindings directly, the GLib issue is not encountered whatsoever, and spawn gating functions. I'm uncertain on how to continue debugging - would very much appreciate pointers!
Apologies if this is the wrong repository to file this under - please let me know!
When attaching to a local macOS device using these Node bindings, attempting to enable spawn gating has
frida-helper
crash. After recompiling Frida 16.1.10 and the binding with symbols, the following stacktrace is visible:This crash is reproducible with the included spawn gating example, and I was able to reproduce this under several macOS versions (primarily Monterey and Sonoma). It appears the issue regarding
safe_fdwalk_with_invalid_fds
was raised and resolved in upstream GLib on issue 3024.However, after applying the upstream commit to Frida's GLib fork and rebuilding the SDK/Frida itself, spawngating continues to not be functional with the Node bindings. The
spawn-added
signal appears to never fire.Frustratingly, when using
frida-trace -W 'example'
or the Python bindings directly, the GLib issue is not encountered whatsoever, and spawn gating functions. I'm uncertain on how to continue debugging - would very much appreciate pointers!