diagnostics icon indicating copy to clipboard operation
diagnostics copied to clipboard

Failed to collect dump using dotnet-dump --type Heap

Open acolombi opened this issue 10 months ago • 1 comments

Description

When I run

dotnet-dump collect -p <pid> --diag --type Heap

I get the output:

Writing dump with heap to <path>
Value does not fall within the expected range

If I omit --type Heap the dump is collected without issue.

Configuration

Windows 10 Enterprise 22H2, AMD EPYC 7763. (I do not know if the system is relevant, i.e. I have not tried to reproduce on other architectures)

$ dotnet --version
8.0.309
$ dotnet-dump --version
9.0.607501+a651406... (I can't copy paste, it's a long hash looking thing)

Regression?

I do not know if this is a regression.

Other information

There are no other errors or stats. If there is an option I can provide dotnet-dump to get additional details I'm happy to try it.

acolombi avatar Mar 04 '25 23:03 acolombi

@mikem8361 @hoyosjs

tommcdon avatar Mar 05 '25 02:03 tommcdon

@acolombi would you mind trying the latest version of dotnet-dump? We just released it. You can update it with dotnet tool update -g dotnet-dump.

mikem8361 avatar Apr 15 '25 16:04 mikem8361

looks like it works

acolombi avatar Apr 17 '25 23:04 acolombi