Skip to content

createdump segfaults on RHEL8 arm64 with .NET 8 #91864

@tmds

Description

@tmds

With .NET 8, createdump gives a segfault on RHEL8 arm64.

Attaching the debugger shows that DumpWriter is trying to write a 64kB block here:

if (!WriteDiagInfo(size)) {

using the 16kB m_tempBuffer allocated here:

BYTE m_tempBuffer[0x4000];

This leads to stack corruption.

arm64 on RHEL8 has an atypical page size of 64kB pages.

When I update m_tempBuffer to have a 64kB size, createdump works.

cc @mikem8361 @omajid

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions