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

Test failure: Loader/classloader/TypeInitialization/Inlining/GenMethInlined/GenMethInlined.cmd #105222

Closed
v-wenyuxu opened this issue Jul 22, 2024 · 1 comment · Fixed by #105234
Labels
arch-arm64 area-Diagnostics-coreclr blocking-clean-ci-optional Blocking optional rolling runs bug GCStress JitStress CLR JIT issues involving JIT internal stress modes os-linux Linux OS (any supported distro)

Comments

@v-wenyuxu
Copy link

Failed in: runtime-coreclr gcstress-extra 20240721.1

Failed tests:

coreclr linux arm64 Checked gcstress0xc_disabler2r_jitstress2 @ (Ubuntu.2004.Arm64.Open)Ubuntu.2004.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-20.04-helix-arm64v8
    - Loader/classloader/TypeInitialization/Inlining/GenMethInlined/GenMethInlined.cmd

Error message:

 
Assert failure(PID 762 [0x000002fa], Thread: 762 [0x02fa]): SanityCheck()
    File: /__w/1/s/src/coreclr/vm/methodtable.cpp:8378
    Image: /root/helix/work/correlation/corerun

apply_reg_state: ip and cfa unchanged; stopping here (ip=0xffff822a7b30)
apply_reg_state: ip and cfa unchanged; stopping here (ip=0xffff822a7b30)
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
/root/helix/work/workitem/e/Loader/Loader/../classloader/TypeInitialization/Inlining/GenMethInlined/GenMethInlined.sh: line 432:   762 Aborted                 (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /root/helix/work/workitem/uploads/classloader/TypeInitialization/Inlining/GenMethInlined/output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true GenMethInlined.dll ''
[createdump] Gathering state for process 762 corerun
[createdump] Crashing thread 02fa signal 6 (0006)
[createdump] Writing crash report to file /home/helixbot/dotnetbuild/dumps/coredump.762.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.762.dmp
[createdump] Written 74334208 bytes (18148 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 195ms
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 7/21/2024 11:19:31 PM
Processing /home/helixbot/dotnetbuild/dumps/coredump.762.dmp.crashreport.json
Printing stacktrace from '/home/helixbot/dotnetbuild/dumps/coredump.762.dmp.crashreport.json'
Invoking llvm-symbolizer --pretty-print
Stack trace:
----------------------------------
Thread Id: 0x2fa
      Child SP               IP Call Site
 0xffffcb681cb0 0xffff8248fc0c libc.so.6!wait4
 0xffffcb681cf0 0xffff822a9cac 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
 0xffffcb681d60 0xffff822aada8 libcoreclr.so!PROCCreateCrashDumpIfEnabled at /__w/1/s/src/coreclr/pal/src/thread/process.cpp:2526:9
 0xffffcb681de0 0xffff822a7cb4 libcoreclr.so!PROCAbort at /__w/1/s/src/coreclr/pal/src/thread/process.cpp:2559:5
 0xffffcb681e00 0xffff822a7b30 libcoreclr.so!CorUnix::TerminateCurrentProcessNoExit(int) at /__w/1/s/src/coreclr/pal/src/thread/process.cpp:3240:0
 0xffffcb686050 0xffff43475f24 System.Reflection.Metadata.dll!System.Reflection.PortableExecutable.PEReader.TryOpenCodeViewPortablePdb(System.Reflection.PortableExecutable.DebugDirectoryEntry, System.String, System.Func`2<System.String,System.IO.Stream>, System.Reflection.Metadata.MetadataReaderProvider ByRef, System.String ByRef, System.Exception ByRef)
 0xffffcb686110 0xffff434682e4 System.Reflection.Metadata.dll!System.Reflection.PortableExecutable.PEReader.TryOpenAssociatedPortablePdb(System.String, System.Func`2<System.String,System.IO.Stream>, System.Reflection.Metadata.MetadataReaderProvider ByRef, System.String ByRef)
 0xffffcb6861b0 0xffff43467cb8 System.Diagnostics.StackTrace.dll!System.Diagnostics.StackTraceSymbols.TryOpenReaderFromAssemblyFile(System.String, IntPtr, Int32, Boolean)
 0xffffcb686260 0xffff43466f9c System.Diagnostics.StackTrace.dll!System.Diagnostics.StackTraceSymbols.TryGetReader(System.Reflection.Assembly, System.String, IntPtr, Int32, Boolean, IntPtr, Int32)
 0xffffcb6862d0 0xffff43466b28 System.Diagnostics.StackTrace.dll!System.Diagnostics.StackTraceSymbols.GetSourceLineInfo(System.Reflection.Assembly, System.String, IntPtr, Int32, Boolean, IntPtr, Int32, Int32, Int32, System.String ByRef, Int32 ByRef, Int32 ByRef)
 0xffffcb686440 0xffff43450060 System.Private.CoreLib.dll!System.Diagnostics.StackFrameHelper.InitializeSourceInf

Stack trace:

   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 146
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor267|0_268(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
@v-wenyuxu v-wenyuxu added arch-arm64 os-linux Linux OS (any supported distro) GCStress JitStress CLR JIT issues involving JIT internal stress modes blocking-clean-ci-optional Blocking optional rolling runs labels Jul 22, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 22, 2024
Copy link
Contributor

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

@mdh1418 mdh1418 added bug 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 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-Diagnostics-coreclr blocking-clean-ci-optional Blocking optional rolling runs bug GCStress JitStress CLR JIT issues involving JIT internal stress modes os-linux Linux OS (any supported distro)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants