Skip to content

dotnet-trace report Missing Symbol for .Net 6 application in container even when pdb files are available #3714

@t-bzhan

Description

@t-bzhan

Description

We have a .Net 6 application running in container with base image mcr.microsoft.com/dotnet/sdk:6.0-jammy. When using dotnet-trace to investigate a perf issue, we found that dotnet-trace reports a lot of functions as "Missing Symbol".
image

Opening the netrace file in Visual studio does not seem to work either, even when "Load All Symbols" is clicked.
image

I've checked that the pdb files are in the same directory with the dlls, could anyone suggest the next steps for further diagnosing?

Configuration

dotnet --info

.NET SDK (reflecting any global.json):
 Version:   6.0.406
 Commit:    2988897946

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  22.04
 OS Platform: Linux
 RID:         ubuntu.22.04-x64
 Base Path:   /usr/share/dotnet/sdk/6.0.406/

global.json file:
  Not found

Host:
  Version:      6.0.14
  Architecture: x64
  Commit:       2a90daa2cc

.NET SDKs installed:
  6.0.406 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.14 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.14 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Download .NET:
  https://aka.ms/dotnet-download

Learn about .NET Runtimes and SDKs:
  https://aka.ms/dotnet/runtimes-sdk-info

~/.dotnet/tools/dotnet-trace --version

7.0.410101+f99383213ea19741908f5aa3cf0ed400db2e5f0a

Regression?

Other information

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions