Skip to content

[clr-interp] Crash on x64 #122563

Description

@rolfbjarne

Description

CoreCLR crashes when running our tests, I believe it's because the test is throwing an exception, although I haven't confirmed this.

Reproduction Steps

$ git clone https://github.com/rolfbjarne/macios
$ cd macios
$ git checkout -b x64-crash-clr-interp
$ ./repro.sh

Expected behavior

No crash.

Actual behavior

Crash report: https://gist.github.com/rolfbjarne/e086cc123dbe19dc134494d04d290726

Looks related to exception handling:

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   <translation info unavailable>	       0x103195688 ???
1   libcoreclr.dylib              	       0x10be1f4d0 memcpy_s + 128
2   libcoreclr.dylib              	       0x10be0ea90 PAL_VirtualUnwind + 672
3   libcoreclr.dylib              	       0x10bba96f5 InterpreterCodeManager::ResumeAfterCatch(_CONTEXT*, unsigned long, bool) + 69
4   libcoreclr.dylib              	       0x10bd3ee41 CallCatchFunclet(Object*, unsigned char*, REGDISPLAY*, ExInfo*) + 625
5   libcoreclr.dylib              	       0x10bd3dc35 DispatchExSecondPass(ExInfo*) + 245
6   libcoreclr.dylib              	       0x10bd3d586 DispatchManagedException(Object*, _CONTEXT*, _EXCEPTION_RECORD*) + 406
7   libcoreclr.dylib              	       0x10bd3dd3b DispatchManagedException(Object*) + 59
8   libcoreclr.dylib              	       0x10bcc0d30 InterpExecMethod(InterpreterFrame*, InterpMethodContextFrame*, InterpThreadContext*, ExceptionClauseArgs*) + 25216
9   libcoreclr.dylib              	       0x10bc21a87 ExecuteInterpretedMethod + 343
10  libcoreclr.dylib              	       0x10bdee61f InterpreterStubRetI8 + 15

might also be some kind of stack overflow, because the remaining 500 frames are identical:

[...]
509 libcoreclr.dylib              	       0x10bdee61f InterpreterStubRetI8 + 15
510 libcoreclr.dylib              	       0x10bdee61f InterpreterStubRetI8 + 15

Regression?

No response

Known Workarounds

No response

Configuration

$ dotnet --version
11.0.100-alpha.1.25614.102

Other information

No response

Activity

  1. added
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Dec 15, 2025
  2. dotnet-policy-service commented on Dec 15, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @BrzVlad, @janvorli, @kg
    See info in area-owners.md if you want to be subscribed.

  3. BrzVlad commented on Dec 15, 2025

    @BrzVlad
    Member

    The repro is running the entire test suite from macios ? Is there an isolated repro containing just a single test case ?
    Sorry I've just seen the test name parameter. Wonder if it could easily be extracted into a standalone app.

  4. jkoritzinsky commented on Dec 15, 2025

    @jkoritzinsky
    Member

    Related to #122504?

    cc: @janvorli

  5. removed
    untriagedNew issue has not been triaged by the area owner
    on Jan 6, 2026
  6. added this to the 11.0.0 milestone on Jan 6, 2026
  7. locked and limited conversation to collaborators on Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions