-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Backport "Fix incomplete dumps generated by createdump (#49468)" #49512
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
Conversation
|
Tagging subscribers to this area: @tommcdon Issue DetailsThe core dump generated for a app that has large GC heaps (>4GB) are don't contain all the memory needed in process. This is because of a 32bit size value overflow; changed to size_t. Multiple customers have reported this problem in 3.1 and 5.0. Issue: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1277488?src=WorkItemMention&src-action=artifact_link and dotnet/diagnostics#1780
|
The core dump generated for a app that has large GC heaps (>4GB) are don't contain all the memory needed in process. This is because of a 32bit size value overflow; changed to size_t. Multiple customers have reported this problem in 3.1 and 5.0. Issue: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1277488?src=WorkItemMention&src-action=artifact_link and dotnet/diagnostics#1780
|
@mikem8361 can you add the servicing template? We can then take for consideration. |
|
@jeffschwMSFT done. |
jeffschwMSFT
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved. I will take for consideration for 5.0.x
|
Just curious, do we test this only manually? |
|
createdump is tested by the diagnostics repo's SOS tests, but this specific case was tested manually.
|
|
When should this PR be merged and by whom? |
|
@Anipik merges approved PRs when he opens the branch for the next month. Ideally CI is green |
|
Thanks Dan. These CI legs keep timing out after multiple retries. |
@mthalman any idea why the installer legs time out here? |
I assume you mean @mmitche? |
|
@mthalman for some reason I thought you owned the installer area of this repo, but I see it is @NikolaMilosavljevic |
The log is inconclusive. @mmitche are you aware of timing issues with this step? |
Customer Impact
Incomplete core dumps on Linux are being generated by createdump (via dotnet-dump or unhandled exception env var triggers) causing SOS commands to fail. Multiple customers have reported this problem in 3.1 and 5.0 when their GC heaps have grown larger than 4GB.
Regression?
No. The bug has been in createdump from the beginning.
Risk (see taxonomy)
Low.
Is there a packaging impact?
No.
Full description
The core dump generated for a app that has large GC heaps (>4GB) are don't contain all the memory needed in process. This is because of a 32bit size value overflow; changed to size_t.
Issue: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1277488?src=WorkItemMention&src-action=artifact_link
Issue: dotnet/diagnostics#1780