Skip to content

Reenable dumps on stack overflow test children - #113533

Closed
janvorli wants to merge 3 commits into
dotnet:mainfrom
janvorli:stack-dump-on-stack-overflow-issue
Closed

janvorli wants to merge 3 commits into
dotnet:mainfrom
janvorli:stack-dump-on-stack-overflow-issue

Conversation

@janvorli

Copy link
Copy Markdown
Member

This change reenables dumps on the stack overflow test child processes and also calls abort when we detect the problematic case of double stack overflow.
Previous extra logging has revealed some interesting information, but it is not clear yet how it occurs. Hopefully, the dumps will finally reveal the real culprit.

This change reenables dumps on the stack overflow test child processes
and also calls abort when we detect the problematic case of double
stack overflow.
Hopefully, the dumps will finally reveal the real culprit.
@janvorli janvorli added the area-ExceptionHandling-coreclr only use for closed issues label Mar 14, 2025
@janvorli
janvorli requested a review from jkotas March 14, 2025 13:52
@janvorli janvorli self-assigned this Mar 14, 2025
Copilot AI review requested due to automatic review settings March 14, 2025 13:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR re-enables dump generation for stack overflow test child processes and introduces an abort call when a double stack overflow is detected.

  • The removal of the DOTNET_DbgEnableMiniDump environment variable is now commented out, thus re-enabling dump creation.
  • The behavior aims to help identify the root cause of the unhandled exception test failures.
Comments suppressed due to low confidence (1)

src/tests/baseservices/exceptions/unhandled/unhandledTester.cs:26

  • The comment on line 26 is now misleading because the removal of the DOTNET_DbgEnableMiniDump environment variable has been commented out, which re-enables dump creation. Please update the comment to accurately reflect the new behavior.
// Disable creating dump since the target process is expected to fail with an unhandled exception

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-ExceptionHandling-coreclr only use for closed issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants