Skip to content

我在集成ramulator 2.0时,发现一个偶发卡住的bug #1

@yaoss96

Description

@yaoss96
现在这个“偶发重跑卡住”问题
- 真正的锅在 interchiplet 的 stdout/stderr 命令解析
- 它原来只用一个 m_unfinished_line 同时拼 stdout 和 stderr 的残缺行
- 结果会出现这种情况:
  - stderr 末尾一半日志还没换行
  - 下一次 stdout 的 [INTERCMD] SEND 被拼到后面
  - 这一行就不再是以 [INTERCMD] 开头
  - parse_command 就漏掉了这条同步命令
  - 然后一边在等 SEND/RECEIVE,另一边永远收不到,系统就“偶发卡住”

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions