Mixed mode debugging errors with the interpreter

Open
#118,893 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
devtools

Research direction

Start by reproducing mixed mode debugging with the interpreter and inspect coreclr/debug/ee/debugger.h around line 1404, where the invalid-address assertion is reported. Determine why addressToOffset receives an invalid address; done means the spurious assertions no longer appear while execution continues correctly.

Written by the indexing model from the issue text.

Description

area-CodeGen-Interpreter-coreclr

When using mixed mode debugging with the interpreter, you'll get a lot of spurious assertions that look like this:

Debug Assertion Failed!

Program: ...s\tests\coreclr\windows.x64.Debug\Tests\Core_Root\coreclr.dll
File: Z:\runtime\src\coreclr\debug\ee\debugger.h
Line: 1404

Expression: !"addressToOffset called with invalid address"

If you ignore them execution will continue and everything works. Probably not important but wanted to log it anyway.

Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.