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
[bug] fatal SIGINT/SIGTERM kill the shell by signal instead of exiting 128+n #741
Triage from the failure-set review. rubash -c 'kill -INT $$' dies BY the signal (wait status signaled; harness reports -1); GNU bash exits 130 (SIGTERM: 143). Same for SIGTERM. Non-interactive shells must translate fatal signals to 128+n exits instead of dying with default disposition. Failing tests: issue526_sigquit_noninteractive_ignore::{untrapped_sigint,untrapped_sigterm}_* (pass: the SIGQUIT-ignore half, already correct). Likely owner: signal disposition/exit path (compare GNU jobs/signal handling for non-interactive shells).
Not a bug — engine already matches GNU. Direct-waiter probe: GNU bash and rubash BOTH die by SIGINT/SIGTERM (signal status, no 130); rc 130 exists only via the parent's jobs.c translation. An engine-side exit(130) translation (as first proposed) would DIVERGE from GNU and was rejected. The unsatisfiable 130/143 test expectations are fixed as #747.
Activity
caomengxuan666 commentedon Oct 17, 2026
Not a bug — engine already matches GNU. Direct-waiter probe: GNU bash and rubash BOTH die by SIGINT/SIGTERM (signal status, no 130); rc 130 exists only via the parent's jobs.c translation. An engine-side exit(130) translation (as first proposed) would DIVERGE from GNU and was rejected. The unsatisfiable 130/143 test expectations are fixed as #747.
fix(exec): die BY the fatal signal after the EXIT trap, not at 128+n (u…