Skip to content

The DAC enum memory region needs to be more bullet proof  #38905

Closed
@mikem8361

Description

@mikem8361

If the target runtime process is in early runtime initialization (like on pause on startup), the DAC enum memory API will cause the calling program (like createdump) to segfault and not fail gracefully.

For the specific case this issue was found, the GC wasn't initialized yet so g_gcDacGlobals.GetAddr() is null in EnumMemCLRStatic so enumerating the GC's global DAC table segfaults.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions