Skip to content

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

Closed

Description

@acolombi

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.

Activity

  1. added
    bug
    on Mar 4, 2025
  2. changed the title [-]Failed to collect using --type Heap[/-] [+]Failed to collect dump using dotnet-dump collect -p <pid> --type Heap[/+] on Mar 4, 2025
  3. changed the title [-]Failed to collect dump using dotnet-dump collect -p <pid> --type Heap[/-] [+]Failed to collect dump using dotnet-dump --type Heap[/+] on Mar 4, 2025
  4. tommcdon commented on Mar 5, 2025

    @tommcdon
    Member
  5. added this to the 10.0.0 milestone on Mar 5, 2025
  6. self-assigned this
    on Apr 1, 2025
  7. mikem8361 commented on Apr 15, 2025

    @mikem8361
    Contributor

    @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.

  8. added a commit that references this issue on Apr 17, 2025
  9. acolombi commented on Apr 17, 2025

    @acolombi
    Author

    looks like it works

  10. locked and limited conversation to collaborators on May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions