-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
Description
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.