dotnet / dotnet/diagnostics

Spurious SOSStackAndOtherTests.StackAndOtherTests line mismatches on several platforms

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

Description

## Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1532502
Build error leg or test failing: SOSStackAndOtherTests.StackAndOtherTests

## Error Message

```json
{
"ErrorMessage": "System.Exception : Debugger output did not match the expression: .*\\\\s+Source file:\\\\s+(?i:.*[\\\\\\\\|/]SymbolTestApp\\\\.cs) @ 57\\\\s+",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
```

Related #5906 - looks like the https://github.com/dotnet/diagnostics/commit/db04688c99efadc619ef6765025b9b26d69ac580 doesn't quite address linux number misses via `GetILOffsetsByAddress`.

### Known issue validation
**Build: :mag_right:** https://dev.azure.com/dnceng-public/public/_build/results?buildId=1532502
**Error message validated:** `[System.Exception : Debugger output did not match the expression: .*\\s+Source file:\\s+(?i:.*[\\\\|/]SymbolTestApp\\.cs) @ 57\\s+`]
**Result validation:** :white_check_mark: Known issue matched with the provided build.
**Validation performed at:** 7/31/2026 3:31:42 AM UTC

### Report
#### Summary
|24-Hour Hit Count|7-Day Hit Count|1-Month Count|
|---|---|---|
|0|0|0|

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the SOSStackAndOtherTests.StackAndOtherTests failure from the linked build and compare its expected SymbolTestApp.cs line 57 output across platforms. Inspect GetILOffsetsByAddress and related issue #5906; done means the test’s debugger-output match passes on the affected platforms.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.