dotnet / dotnet/diagnostics

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

Open
#5,906 0 comments 0 reactions 0 assignees View on GitHub
CI Stability
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 3h
Merged PRs (30d)
38

Description

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 ---
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with SOSStackAndOtherTests.StackAndOtherTests in src/tests/SOS.UnitTests/SOS.cs around line 880, then follow SOSRunner.RunScript and VerifyOutput in SOSRunner.cs at the reported lines. Reproduce the Windows_x64_Debug failure and compare the expected expressions with the debugger output; done means the affected tests pass for the reported runtime versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.