Skip to content

NativeAOT RC2 crash with GVMs on linux-x64  #77070

@agocke

Description

@agocke

Output:

Process terminated. Generic virtual method pointer lookup failure.

Declaring type handle: MethodTable:0x00005608B8D60CF8
Target type handle: MethodTable:0x00005608B8DCE250
Method name: VisitDictionary
Instantiation:
Argument 00000000: MethodTable:0x00005608B8D79B30

backtrace

* thread #1, name = 'dnvm', stop reason = signal SIGABRT
  * frame #0: 0x00007fde39ce1a7c libc.so.6`pthread_kill + 300
    frame #1: 0x00007fde39c8d476 libc.so.6`raise + 22
    frame #2: 0x00007fde39c737f3 libc.so.6`abort + 211
    frame #3: 0x00005608b845b609 dnvm`SystemNative_Abort at pal_threading.c:286:5
    frame #4: 0x00005608b85f8044 dnvm`S_P_CoreLib_System_RuntimeExceptionHelpers__FailFast_1 at RuntimeExceptionHelpers.cs:281
    frame #5: 0x00005608b878fc2e dnvm`S_P_TypeLoader_Internal_Runtime_TypeLoader_TypeLoaderEnvironment__ResolveGenericVirtualMethodTarget_Static at TypeLoaderEnvironment.GVMResolution.cs:628
    frame #6: 0x00005608b878e82f dnvm`S_P_TypeLoader_Internal_Runtime_TypeLoader_TypeLoaderEnvironment__TryGetGenericVirtualTargetForTypeAndSlot at TypeLoaderEnvironment.GVMResolution.cs:100
    frame #7: 0x00005608b86c4aa5 dnvm`S_P_CoreLib_Internal_Runtime_CompilerServices_GenericVirtualMethodSupport__GVMLookupForSlotWorker at GenericVirtualMethodSupport.cs:31
    frame #8: 0x00005608b86c4b5e dnvm`S_P_CoreLib_Internal_Runtime_CompilerServices_GenericVirtualMethodSupport__GVMLookupForSlotWorker at GenericVirtualMethodSupport.cs:47
    frame #9: 0x00005608b86c4d52 dnvm`S_P_CoreLib_Internal_Runtime_CompilerServices_GenericVirtualMethodSupport__GVMLookupForSlot at GenericVirtualMethodSupport.cs:89
    frame #10: 0x00005608b86e36a0 dnvm`S_P_CoreLib_System_Runtime_TypeLoaderExports___c___GVMLookupForSlot_b__14_0 at TypeLoaderExports.cs:144
    frame #11: 0x00005608b8699e65 dnvm`S_P_CoreLib_System_Runtime_TypeLoaderExports__CacheMiss_0 at TypeLoaderExports.cs:218
    frame #12: 0x00005608b8699d85 dnvm`S_P_CoreLib_System_Runtime_TypeLoaderExports__GVMLookupForSlot at TypeLoaderExports.cs:142
    frame #13: 0x00005608b88ac7c5 dnvm`Serde_Serde_Json_JsonDeserializer__DeserializeDictionary<System___Canon__System___Canon> at JsonDeserializer.cs:94
    frame #14: 0x00005608b887a06f dnvm`dnvm_Dnvm_Update_Release_SerdeVisitor__Serde_IDeserializeVisitor_Dnvm_Update_Release__VisitDictionary<Serde_Serde_Json_JsonDeserializer_DeDictionary> at Dnvm.Update.Release.IDeserialize.cs:33

Figuring out how to upload the exe and core dump

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions