Skip to content

Conversation

tommcdon
Copy link
Member

PR #116354 added a field to EECodeGenManager which was enabled in the runtime but #ifdef'd out in the DAC. This caused the m_storeRichDebugInfo field to become uninitialized in the DAC build, resulting in random crashes while debugging.

@tommcdon tommcdon added this to the 10.0.0 milestone Jul 16, 2025
@tommcdon tommcdon self-assigned this Jul 16, 2025
@Copilot Copilot AI review requested due to automatic review settings July 16, 2025 13:05
Copy link
Contributor

@Copilot Copilot AI left a comment

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 fixes a DAC (Data Access Component) build issue where field offsets in EECodeGenManager became misaligned, causing initialization problems and random crashes during debugging. The fix ensures that the m_delayUnload field is available in both runtime and DAC builds to maintain proper field alignment.

  • Removes conditional compilation (#ifndef DACCESS_COMPILE) around the m_delayUnload field
  • Ensures consistent field layout between runtime and DAC builds
  • Prevents uninitialized m_storeRichDebugInfo field that was causing crashes

Copy link
Contributor

Tagging subscribers to this area: @steveisok, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.

@tommcdon tommcdon enabled auto-merge (squash) July 16, 2025 16:27
@tommcdon
Copy link
Member Author

/ba-g failures are unrelated

@tommcdon tommcdon merged commit 666b061 into dotnet:main Jul 16, 2025
94 of 100 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants