You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
explorer: forked workers have no timeout, no kill-on-drop, and waitpid(-1) reaps unrelated children #262
Explorer has no Drop impl (only SharedMemory does, shared_mem.rs:77)
Failure scenario
A child stuck outside the simulation (a tight loop in user process code, a blocking syscall) is not covered by the in-simulation RunStallGuard; the controller blocks in waitpid until the CI job timeout kills everything with no diagnostic. A controller panic or SIGKILL orphans live children that keep running full simulations while holding the MAP_SHARED assertion and sancov regions. waitpid(-1, ..) also reaps any unrelated child of the host process when moonpool is embedded in a larger harness.
Proposed fix
Add a Drop for Explorer that SIGKILLs every pid in active, poll with WNOHANG against a per-worker wall-clock ceiling, and wait on the specific pids the explorer spawned.
Activity