SOSStackAndOtherTests.StackAndOtherTests Failed with System.Exception : Debugger output did not match the expression

未关闭
#5,906 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
50/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
cpp

调研方向

从 src/tests/SOS.UnitTests/SOS.cs 第 880 行附近的 SOSStackAndOtherTests.StackAndOtherTests 开始,然后按照报告中的行跟踪 SOSRunner.cs 中的 SOSRunner.RunScript 和 VerifyOutput。重现 Windows_x64_Debug 失败,并将预期表达式与调试器输出进行比较;当受影响的测试在报告的 runtime 版本上通过时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

CI Stability

Windows_x64_Debug 9.0.14

System.Exception : Debugger output did not match the expression: (.\s+[A-Fa-f0-9]+([A-Fa-f0-9]+)?\\s+[A-Fa-f0-9]+([A-Fa-f0-9]+)?\s+\(MethodDesc\s+[A-Fa-f0-9]+([A-Fa-f0-9]+)?\\s+(\\+\\s*0x[A-Fa-f0-9]+([A-Fa-f0-9]+)?\s+)?SymbolTestApp\.Program\.Foo4\(System\.String\)\),\s+calling.\s+)|(.\s+[A-Fa-f0-9]+([A-Fa-f0-9]+)?\\s+[A-Fa-f0-9]+([A-Fa-f0-9]+)?\s+\(MethodDesc\s+[A-Fa-f0-9]+([A-Fa-f0-9]+)?\\s+(\\+\\s*0x[A-Fa-f0-9]+([A-Fa-f0-9]+)?\s+)?SymbolTestApp\.Program\.Foo2\(Int32, System\.String\)\),\s+calling.\s+)

Also on 8.0.25

System.Exception : Debugger output did not match the expression: \s+[A-Fa-f0-9]+([A-Fa-f0-9]+)?\\s+[A-Fa-f0-9]+([A-Fa-f0-9]+)?\s+SymbolTestApp\.Program\.Foo2\(.\)\s+\[(?i:.[\\|/]SymbolTestApp\.cs) @ (31|32)\]\s*

stacktrace

   at SOSRunner.VerifyOutput(String verifyLine, Boolean match) in /_/src/tests/SOS.UnitTests/SOSRunner.cs:line 1342
   at SOSRunner.RunScript(String scriptRelativePath) in /_/src/tests/SOS.UnitTests/SOSRunner.cs:line 973
   at SOSRunner.RunScript(String scriptRelativePath) in /_/src/tests/SOS.UnitTests/SOSRunner.cs:line 1011
   at SOSTestHelpers.RunTest(String scriptName, TestInformation information, ITestOutputHelper output) in /_/src/tests/SOS.UnitTests/SOS.cs:line 144
   at SOSStackAndOtherTests.StackAndOtherTests(TestConfiguration config) in /_/src/tests/SOS.UnitTests/SOS.cs:line 880
--- End of stack trace from previous location ---
主要语言
C++
星标
1.3k
派生
407
平均合并
21 小时 5 分钟
30 天内合并 PR
78

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dotnet/diagnostics 的其他 Issue

查看 dotnet/diagnostics 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。