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] Background-job write-error diagnostic always attributed to line 1 #1024
P3-low低:优化、文档、远期规划,有机会再做area:jobsjobs, signals, process ownership, coprocbugSomething isn't workinggnu-baselineTracked by the GNU Bash 5.3.0 true-baseline ledger
[bug] Background-job write-error diagnostic always attributed to line 1
echo line2-ok
(echo hello >&-) &wait$!;echo"closed-rc=$?"# GNU bash 5.3 stderr: script.sh: line 2: echo: write error: Bad file descriptor# rubash stderr: script.sh: line 1: echo: write error: ...
rc=1 on both — message only. Adjacent to #699 (write-error routing) and #551 (diagnostic formats) but a distinct symptom: async command line attribution.
Env: niubash 1.4.4 / rubash engine (master ~2026-10), GNU bash 5.3.20 aarch64-linux-android as oracle.
bash stderr: t1024.sh: line 2: echo: write error: Bad file descriptor. niu stderr: t1024.sh: line 1: echo: write error: .... rc=1 on both, line number only. Bulk-fix #1181 did not cover this case.
Verified fixed on current master (1b14a3d+ / debug build from origin/master): GNU-identical output confirmed by differential repro (see triage). Closing.
P3-low低:优化、文档、远期规划,有机会再做area:jobsjobs, signals, process ownership, coprocbugSomething isn't workinggnu-baselineTracked by the GNU Bash 5.3.0 true-baseline ledger
Activity
caomengxuan666 commentedon Oct 23, 2026
Re-verified still broken on niu 1.4.4 / rubash 1b14a3d vs GNU bash 5.3.20.
bash stderr:
t1024.sh: line 2: echo: write error: Bad file descriptor. niu stderr:t1024.sh: line 1: echo: write error: .... rc=1 on both, line number only. Bulk-fix #1181 did not cover this case.caomengxuan666 commentedon Oct 23, 2026
Verified fixed on current master (1b14a3d+ / debug build from origin/master): GNU-identical output confirmed by differential repro (see triage). Closing.
fix(parser): procsub source reprint keeps `;` before closers and at b…
WIP: coproc/procsub residual reconciliation (wave 3) (#1866)