Skip to content

[pipeline] 管道 stage 内内建自带 2> 的诊断被吞(compgen/ulimit 探针双形) #1835

Closed

Description

@caomengxuan666

分歧(compgen 簇修 #1798 的 q1 探针带出,非 compgen 特有)

  • compgen -Z foo 2>err.txt | cat:usage 诊断消失(err.txt 空、真 stderr 亦无)
  • ulimit -Z 2>err.txt | cat:诊断同样消失
  • 非管道 stage 时两形均正常(诊断入 err.txt)。

机制面(疑)

pipeline stage 的 stdio 路由丢弃了带自有 2> 重定向的内建 stage 的缓冲 stderr。与 #1820/#1822/#1823 同域(pipeline/fd)。

归宿

pipeline/fd 族——pipe-fd 簇(#1823/#1820/#1822)正在飞,若机制同根可同簇吸收;否则随该族后续批。回归种子 = 本正文两形,期望按 GNU 5.3.20,修复须带号钉。

证据:~/workspace/issue-clearance/clusters/compgen/REPORT.md 新分歧节。

Activity

  1. added
    bug
    gnu-baseline
    P2-medium
    area:fd
    family:S3
    on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P2-mediumarea:fdbugfamily:S3gnu-baseline

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions