You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@82b6a505cf68:/# dotnet tool install --global dotnet-dump
Tools directory '/root/.dotnet/tools' is not currently on the PATH environment variable.
If you are using bash, you can add it to your profile by running the following command:
cat << \EOF >> ~/.bash_profile# Add .NET Core SDK toolsexport PATH="$PATH:/root/.dotnet/tools"EOF
You can add it to the current session by running the following command:
export PATH="$PATH:/root/.dotnet/tools"
You can invoke the tool using the following command: dotnet-dump
Tool 'dotnet-dump' (version '9.0.553101') was successfully installed.
root@82b6a505cf68:/# export PATH="$PATH:/root/.dotnet/tools"
> gcroot <reference>
Caching GC roots, this may take a while.
Subsequent runs of this command will be faster.
Segmentation fault
Configuration
Run in arm mac m2 in container based on mcr.microsoft.com/dotnet/sdk:8.0
root@717bc98e90e0:/dumps# dotnet --info
.NET SDK:
Version: 8.0.404
Commit: 7b190310f2
Workload version: 8.0.400-manifests.996cfe54
MSBuild version: 17.11.9+a69bbaaf5
Runtime Environment:
OS Name: debian
OS Version: 12
OS Platform: Linux
RID: linux-arm64
Base Path: /usr/share/dotnet/sdk/8.0.404/
.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.
Host:
Version: 8.0.11
Architecture: arm64
Commit: 9cb3b725e3
.NET SDKs installed:
8.0.404 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.11 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.11 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Description
Running
gcroot <reference>
does not show information, but instead throwsSegmentation fault
errorReproduction.
You need a dump file, but then it is easy:
Install dotnet-dump
Pick a reference
Configuration
Run in arm mac m2 in container based on mcr.microsoft.com/dotnet/sdk:8.0
root@717bc98e90e0:/dumps# dotnet --info .NET SDK: Version: 8.0.404 Commit: 7b190310f2 Workload version: 8.0.400-manifests.996cfe54 MSBuild version: 17.11.9+a69bbaaf5 Runtime Environment: OS Name: debian OS Version: 12 OS Platform: Linux RID: linux-arm64 Base Path: /usr/share/dotnet/sdk/8.0.404/ .NET workloads installed: Configured to use loose manifests when installing new manifests. There are no installed workloads to display. Host: Version: 8.0.11 Architecture: arm64 Commit: 9cb3b725e3 .NET SDKs installed: 8.0.404 [/usr/share/dotnet/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 8.0.11 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 8.0.11 [/usr/share/dotnet/shared/Microsoft.NETCore.App] Other architectures found: None Environment variables: Not set global.json file: Not found Learn more: https://aka.ms/dotnet/info Download .NET: https://aka.ms/dotnet/download
dotnet-dump version
root@82b6a505cf68:/# dotnet-dump --version 9.0.553101+5b61d34de04d6100e6003415f7d7e9c4b971afd4
The text was updated successfully, but these errors were encountered: