{"repo":"NousResearch/hermes-agent","public_id":"46789","display_label":"macOS segfault fix in subprocess execution tools","summary":"A bug report and related fix attempts address SIGSEGV/exit code -11 crashes in the desktop app's tool execution (terminal, execute_code, read_file) on macOS, attributed to unsafe use of preexec_fn in multi-threaded processes, with a proposed switch to start_new_session.","subsystem":"apps/desktop","counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":53278,"merged_at":"2026-06-26T21:38:41+00:00"},"resolution":{"state":"resolved","by":"pr-53278"},"freshness":{"state":"verified","last_verified_at":"2026-06-26T21:38:41+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":46789,"pr_number":53278,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-06-26T21:38:41+00:00"}],"members":[{"kind":"issue","number":46789,"title":"[Bug]: Desktop app process execution segfaults (exit code -11) on macOS — terminal, execute_code, read_file all fail","url":null,"state":"closed"},{"kind":"pr","number":46868,"title":"fix(tools): use start_new_session instead of preexec_fn to prevent SIGSEGV in multi-threaded processes","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#53278","number":53278}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":53278,"title":"fix(tools): use start_new_session instead of preexec_fn to prevent SIGSEGV in multi-threaded processes","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["plugins/platforms/whatsapp/adapter.py","tests/tools/test_windows_compat.py","tools/code_execution_tool.py","tools/environments/local.py","tools/process_registry.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}