Frida 17.28.1 fixes a crash when creating a second DeviceManager, a deinit hang and empty thread enumeration on Linux
Frida 17.28.1 ships fixes for people embedding the instrumentation toolkit in their own tools. The release resolves a crash when creating a second DeviceManager, a hang in frida_deinit while idund is running, empty thread enumeration in spawned-but-paused Linux processes, and XPC messages that want a reply on iOS.
Why it matters
According to the release notes, the DeviceManager crash is a regression from 17.27.6, when the agent moved into a shared resource directory and its image outlived the session that had shut its GLib down. There is now one agent container per process, created on first use and torn down by frida_shutdown or frida_deinit, and a host session only closes its own sessions in it.
On Linux, Process.enumerateThreads returned an empty array in a process spawned and not yet resumed, because reading registers requires ptrace and fails when the helper is already tracing the main thread. Such threads are now kept without their CPU context. On musl, the agent now stays loaded across injections, and a GLib thread leak is gone.
On iOS, CoreDevice streaming actions such as streamapplist never delivered results because the XPC messages were silently dropped; they are now forwarded and acknowledged. Anyone embedding Frida or building tooling on top of it should upgrade and retest session teardown.