Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIT/IL_Conformance/Convert/TestConvertFromIntegral/TestConvertFromIntegral failing in CI with "Assert failure: arrayBaseRef->GetArrayElementType() == ELEMENT_TYPE_OBJECT" #105186

Closed
jakobbotsch opened this issue Jul 20, 2024 · 2 comments · Fixed by #105287
Assignees
Labels
area-VM-coreclr blocking-clean-ci-optional Blocking optional rolling runs blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs
Milestone

Comments

@jakobbotsch
Copy link
Member

jakobbotsch commented Jul 20, 2024

Example pipeline run (gcstress in this case): https://dev.azure.com/dnceng-public/public/_build/results?buildId=748823&view=results
Example console log: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-105181-merge-0ee628e940694b27bb/IL_Conformance.0.1/1/console.238ae2ed.log?helixlogtype=result

16:32:00.456 Running test: JIT/IL_Conformance/Convert/TestConvertFromIntegral/TestConvertFromIntegral.dll

Assert failure(PID 22 [0x00000016], Thread: 22 [0x0016]): arrayBaseRef->GetArrayElementType() == ELEMENT_TYPE_OBJECT
    File: /__w/1/s/src/coreclr/vm/comutilnative.cpp:438
    Image: /root/helix/work/correlation/corerun

...

Stack trace:
----------------------------------
Thread Id: 0x16
      Child SP               IP Call Site
 0xffffdc241e80 0xffffa8028c0c libc.so.6!wait4
 0xffffdc241ec0 0xffffa7e42bec libcoreclr.so!PROCCreateCrashDump(std::vector<char const*, std::allocator<char const*> >&, char*, int, bool) at /__w/1/s/src/coreclr/pal/src/thread/process.cpp:0:0
 0xffffdc241f30 0xffffa7e43ce8 libcoreclr.so!PROCCreateCrashDumpIfEnabled at /__w/1/s/src/coreclr/pal/src/thread/process.cpp:2526:9
 0xffffdc241fb0 0xffffa7e40bf4 libcoreclr.so!PROCAbort at /__w/1/s/src/coreclr/pal/src/thread/process.cpp:2559:5
 0xffffdc241fd0 0xffffa7e40a70 libcoreclr.so!CorUnix::TerminateCurrentProcessNoExit(int) at /__w/1/s/src/coreclr/pal/src/thread/process.cpp:3240:0
 0xffffdc243270 0xffff67747044 0xffff67747044
 0xffffdc243350 0xffff6774711c System.Private.CoreLib.dll!System.Exception.get_TargetSite()
 0xffffdc243370 0xffff67747c44 System.Private.CoreLib.dll!System.Exception.get_Source()
 0xffffdc243390 0xffff67747168 System.Private.CoreLib.dll!System.Exception.InternalPreserveStackTrace()
 0xffffdc2433b0 0xffffa7c220b8 0xffffa7c220b8
 0xffffdc2433d0 0xffffa79ede98 libcoreclr.so!NativeExceptionHolderBase::~NativeExceptionHolderBase() at ??:0:0
 (inlined by) CallDescrWorkerWithHandler(CallDescrData*, int) at ??:65:5
 0xffffdc243430 0xffffa79ee72c libcoreclr.so!MethodDescCallSite::CallTargetWorker(unsigned long const*, unsigned long*, int) at ??:0:0
 0xffffdc2436a0 0xffffa78bceec libcoreclr.so!ExceptionPreserveStackTrace(OBJECTREF) at ??:0:0
 0xffffdc2437f0 0xffffa7b5b2b4 libcoreclr.so!DispatchManagedException(OBJECTREF, _CONTEXT*, bool) at ??:0:0
 0xffffdc244bf0 0xffffa7b5af7c libcoreclr.so!DispatchManagedException(PAL_SEHException&, bool) at ??:0:0
 0xffffdc245040 0xffffa7ae4c50 libcoreclr.so!RuntimeMethodHandle::InvokeMethod(Object*, void**, SignatureNative*, bool) at ??:0:0
 0xffffdc245540 0xffff679a8bfc System.Private.CoreLib.dll!System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(System.Object, System.Reflection.BindingFlags)
 0xffffdc245580 0xffff679efb7c System.Private.CoreLib.dll!System.Reflection.Emit.DynamicMethod.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
 0xffffdc2455d0 0xffff6a2c7280 TestConvertFromIntegral.dll!TestCasts.Program.GenerateTest[[System.Int32, System.Private.CoreLib],[System.SByte, System.Private.CoreLib]](Int32, System.Reflection.Emit.OpCode, System.Reflection.Emit.OpCode, Boolean, SByte, Boolean)
 0xffffdc245650 0xffff6a2c6d84 TestConvertFromIntegral.dll!TestCasts.Program.TestConvertFromInt4ToI1()
 0xffffdc245680 0xffff6a2c6a7c TestConvertFromIntegral.dll!TestCasts.Program.TestConvertFromInt4()
 0xffffdc245690 0xffff6a2c696c TestConvertFromIntegral.dll!TestCasts.Program.TestEntryPoint()
 0xffffdc2456a0 0xffff6a2c6620 IL_Conformance.dll!Program.<<Main>$>g__TestExecutor399|0_400(System.IO.StreamWriter, System.IO.StreamWriter, <>c__DisplayClass0_0 ByRef)
 0xffffdc245720 0xffff68fb5640 IL_Conformance.dll!Program.<Main>$(System.String[])

@AaronRobinsonMSFT Could this be related to #105103?

@jakobbotsch jakobbotsch added the blocking-clean-ci-optional Blocking optional rolling runs label Jul 20, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jul 20, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 20, 2024
@jkotas jkotas added area-VM-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jul 20, 2024
Copy link
Contributor

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

@AaronRobinsonMSFT
Copy link
Member

Yes, this is definitely related to my changes.

@JulieLeeMSFT JulieLeeMSFT added blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs and removed untriaged New issue has not been triaged by the area owner labels Jul 22, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-coreclr blocking-clean-ci-optional Blocking optional rolling runs blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants