Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: No CLR runtime found (dump collected with 8.0.0) #4563

Open
ivonin opened this issue Mar 21, 2024 · 5 comments
Open

Error: No CLR runtime found (dump collected with 8.0.0) #4563

ivonin opened this issue Mar 21, 2024 · 5 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ivonin
Copy link

ivonin commented Mar 21, 2024

Description

Full dump collected with dotnet-monitor can't be properly analyzed with dotnet-dump:

  • dumpheap -stats results in an error: "No CLR runtime found. This means that a .NET runtime module or the DAC for the runtime cannot be found or downloaded."
  • runtimes doesn't indeed show any runtimes.

Configuration

  • The process that the dump is collected from is running inside a container based on mcr.microsoft.com/dotnet/aspnet:8.0-jammy.
  • We run dotnet-dump on Ubuntu 22.04 (jammy).
  • dotnet-dump --version: 8.0.510501+8c08c89a0643d31db91e119b1adb463be3e0ffe5.
  • dotnet-monitor /info output: 8.0.0-rtm.23559.8+8c7f7afdfa9b2472bb1d791e953480f214586ae6; runtimeVersion=8.0.0.

Regression?

We didn't have such problems with .NET 7.

Other information

We can't unfortunately provide the dump in question as it contains sensitive data. The issue is, however, persistent, and we're able to reproduce it 100% of the time (every single dump taken from that environment is un-analyzable on any developer machine).

@ivonin ivonin added the bug Something isn't working label Mar 21, 2024
@tommcdon tommcdon added this to the 8.0.0 milestone Mar 25, 2024
@tommcdon
Copy link
Member

@mikem8361

@mikem8361 mikem8361 self-assigned this Mar 26, 2024
@ivonin
Copy link
Author

ivonin commented Mar 29, 2024

Hello! Is it possible to get any updates on this? Is it likely to be a bug that will get fixed?

@mikem8361
Copy link
Member

Does the Ubuntu 22.04 you are running dotnet-dump analyze have a .NET 8 or less SDK installed? Or are using the single-file dotnet-dump and/or running in the container with the image?

@ivonin
Copy link
Author

ivonin commented Apr 18, 2024

The Ubuntu machine we use to analyze the dump does indeed has net8 sdk installed. The same machine can be used to analyze net8 dumps collected from a debian container without issues.

@mikem8361
Copy link
Member

I need to look into how dotnet-monitor sets up to collect a dump. I tried collecting a dump directly without dotnet-monitor with a simple test app in the above container and the resulting dump worked just fine under dotnet-dump analyze outside the container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants