Skip to content

PInvokeTests.IEnumeratorTests.TestManagedToNative crash #96154

Closed
@jkotas

Description

@jkotas
20:52:01.220 Passed test: global::PInvokeTests.IEnumeratorTests.TestNativeToManaged()
20:52:01.224 Running test: global::PInvokeTests.IEnumeratorTests.TestManagedToNative()

Assert failure(PID 6320 [0x000018b0], Thread: 4908 [0x132c]): The 'LastThrownObject' should not be, but is, NULL.
The runtime may have lost track of the type of an exception in flight.
Please get a good stack trace, find the caller of Validate, and file a bug against the owner.

To suppress this assert 'set DOTNET_SuppressLostExceptionTypeAssert=1'

CORECLR! CLRLastThrownObjectException::Validate + 0x200 (0x00007ffe`d1fa1788)
CORECLR! `InternalDispatchImpl_Invoke'::`1'::catch$12 + 0x98 (0x00007ffe`d2442958)
CORECLR! CallSettingFrame + 0x68 (0x00007ffe`d1e225f0)
CORECLR! _FrameHandler3::CxxCallCatchBlock + 0x1C0 (0x00007ffe`d233a140)
NTDLL! RtlCaptureContext + 0x1B8 (0x00007fff`29532248)
CORECLR! InternalDispatchImpl_Invoke + 0x22C (0x00007ffe`d2123064)
CORECLR! Dispatch_Invoke + 0x108 (0x00007ffe`d2121220)
CORECLR! Dispatch_Invoke_Wrapper + 0xB4 (0x00007ffe`d21250c4)
IENUMERATORNATIVE! VerifyIntegerEnumeration + 0x68 (0x00007ffe`fe8d2168)
<no module>! <no symbol> + 0x0 (0x00007ffe`73a1e4d4)
    File: D:\a\_work\1\s\src\coreclr\vm\clrex.cpp Line: 2155
    Image: C:\h\w\A0D20890\p\corerun.exe

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=503459
Build error leg or test failing: Interop.WorkItemExecution
Pull request: #96144

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "The 'LastThrownObject' should not be, but is, NULL.",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=503459
Error message validated: The 'LastThrownObject' should not be, but is, NULL.
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 12/18/2023 10:54:52 PM UTC

Report

Build Definition Test Pull Request
535332 dotnet/runtime Interop.WorkItemExecution #97184
534995 dotnet/runtime Interop.WorkItemExecution
534347 dotnet/runtime Interop.WorkItemExecution
533146 dotnet/runtime Interop.WorkItemExecution #97205
526620 dotnet/runtime Interop.WorkItemExecution
526480 dotnet/runtime Interop.WorkItemExecution
526431 dotnet/runtime Interop.WorkItemExecution
523323 dotnet/runtime Interop.WorkItemExecution
519853 dotnet/runtime Interop.WorkItemExecution #96647
517508 dotnet/runtime Interop.WorkItemExecution
515207 dotnet/runtime Interop.WorkItemExecution
513412 dotnet/runtime Interop.WorkItemExecution #96446
511249 dotnet/runtime Interop.WorkItemExecution
510949 dotnet/runtime Interop.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 4 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions