-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createdump segfaults on RHEL8 arm64 with .NET 8 #91864
Comments
Tagging subscribers to this area: @tommcdon Issue DetailsWith .NET 8, Attaching the debugger shows that
using the 16kB
This leads to stack corruption. arm64 on RHEL8 has an atypical page size of 64kB pages. When I update
|
I've created a PR with this change: #91865 |
With .NET 8,
createdump
gives a segfault on RHEL8 arm64.Attaching the debugger shows that
DumpWriter
is trying to write a 64kB block here:runtime/src/coreclr/debug/createdump/dumpwriterelf.cpp
Line 181 in de0ab15
using the 16kB
m_tempBuffer
allocated here:runtime/src/coreclr/debug/createdump/dumpwriterelf.h
Line 45 in de0ab15
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
The text was updated successfully, but these errors were encountered: