Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

ISymUnmanagedReader4.GetSourceServerData doesn't work with multipart sourcelink streams

Open
#278 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
tooling

Research direction

Start by locating ISymUnmanagedReader4.GetSourceServerData and reading the Microsoft.DiaSymReader.Native call path; compare its stream handling with the PerfView NativeSymbolModule.cs example. Done means multipart sourcelink$1, sourcelink$2, and subsequent streams are handled alongside the single sourcelink stream; the issue names no test, so identify an appropriate regression test.

Written by the indexing model from the issue text.

Description

The implementation of GetSourceServerData calls into Microsoft.DiaSymReader.Native.*
That code checks only the "sourcelink" stream. That's good enough for managed binaries.
However, it doesn't check multi-part streams emitted by the C++ tooling.
These streams are named "sourcelink$1", "sourcelink$2", etc.
For an example of how to do it right, see this code in PerfView: https://github.com/microsoft/perfview/blob/main/src/TraceEvent/Symbols/NativeSymbolModule.cs#L1136

Dominant language
C#
Stars
55
Forks
50
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/symreader

All issues in dotnet/symreader

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.