Skip to content

Assertion failed '(lastStmt->GetRootNode()->OperIs(GT_RETURN, GT_SWIFT_ERROR_RET, GT_JMP)) || (lastStmt->GetRootNode()->OperIs(GT_CALL) && ((info.compRetType == TYP_VOID) || lastStmt->GetRootNode()->AsCall()->IsTailCall()))' #122479

@JulieLeeMSFT

Description

@JulieLeeMSFT

Failed in runtime-coreclr jitstress/20251211.1

Failed Tests

Below two tests failed in 10 pipelines including coreclr windows x64 Checked jitstress1_tiered @ Windows.10.Amd64.Open
- profiler/unittest/getappdomainstaticaddress/getappdomainstaticaddress.cmd 
- baseservices/TieredCompilation/BasicTestWithMcj/BasicTestWithMcj.cmd

Error message

Assert failure(PID 2941 [0x00000b7d], Thread: 28672 [0x7000]): Assertion failed '(lastStmt->GetRootNode()->OperIs(GT_RETURN, GT_SWIFT_ERROR_RET, GT_JMP)) || (lastStmt->GetRootNode()->OperIs(GT_CALL) && ((info.compRetType == TYP_VOID) || lastStmt->GetRootNode()->AsCall()->IsTailCall()))' in 'System.Threading.Thread:ClearWaitSleepJoinState():this' during 'Insert GC Polls' (IL size 18; hash 0x8e23052f; Tier0)

    File: /Users/runner/work/1/s/src/coreclr/jit/fgstmt.cpp:206
    Image: /private/tmp/helix/working/A8AA094F/p/corerun

waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
Unhandled exception. System.Exception: Profiler tests are expected to contain the text 'PROFILER TEST PASSES' in the console output of the profilee app to indicate a passing test. Usually it is printed from the Shutdown() method of the profiler implementation. This text was not found in the output above. Profilee returned exit code 134.
   at Profiler.Tests.ProfilerTestRunner.FailFastWithMessage(String error)
   at Profiler.Tests.ProfilerTestRunner.Run(String profileePath, String testName, Guid profilerClsid, String profileeArguments, ProfileeOptions profileeOptions, Dictionary`2 envVars, String reverseServerName, Boolean loadAsNotification, Int32 notificationCopies, String envVarProfilerPrefix)
   at Profiler.Tests.Program.Main(String[] args)
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
/private/tmp/helix/working/A8AA094F/w/A7CA08EB/e/profiler/profiler/../unittest/getappdomainstaticaddress/getappdomainstaticaddress.sh: line 513:  2940 Abort trap: 6           (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /tmp/helix/working/A8AA094F/w/A7CA08EB/uploads/unittest/getappdomainstaticaddress/output.txt
Raw output:
BEGIN EXECUTION
/tmp/helix/working/A8AA094F/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true getappdomainstaticaddress.dll ''
Profiler path: /private/tmp/helix/working/A8AA094F/w/A7CA08EB/e/profiler/unittest/getappdomainstaticaddress/libProfiler.dylib
Profilee STDOUT: Profiler.dll!DllGetClassObject
Profilee STDOUT: TestClass constructed
Profilee STDOUT: 58225482
Profilee STDOUT: Initialize profiler!
Profilee STDOUT: Module 0x101a84000 (/) loaded
Profilee STDOUT: Forcing GC due to module load
Profilee STDOUT: Module 0x103a635b8 (/) loaded
Profilee STDOUT: Forcing GC due to module load
Profilee STDOUT: Forcing GC
Profilee STDOUT: Garbage collection finished
Profilee STDOUT: Module 0x103a65778 (/) loaded
Profilee STDOUT: Forcing GC due to module load
Profilee STDOUT: Forcing GC
Profilee STDOUT: Garbage collection finished
Profilee STDOUT: Module 0x103a6de88 (/) loaded
Profilee STDOUT: Forcing GC due to module load
Profilee STDOUT: Forcing GC
Profilee STDOUT: Garbage collection finished
Profilee STDOUT: Module 0x103a6e758 (/) loaded
Profilee STDOUT: Forcing GC due to module load
Profilee STDOUT: Forcing GC
Profilee STDOUT: Garbage collection finished
Profilee STDOUT: Module 0x103aa30f8 (/) loaded
Profilee STDOUT: Forcing GC due to module load
Profilee STDOUT: Forcing GC
Profilee STDOUT: Garbage collection finished
Profilee STDOUT: Module 0x103aa3790 (/) loaded
Profilee STDOUT: Forcing GC due to module load
Profilee STDOUT: Forcing GC
Profilee STDOUT: Garbage collection finished
Profilee STDOUT: Module 0x103aa3d78 (/) loaded
Profilee STDOUT: Forcing GC due to module load
Profilee STDOUT: Forcing GC
Profilee STDOUT: Garbage collection finished
Profilee STDOUT: Module 0x103adc030 (/) loaded
Profilee STDOUT: Forcing GC due to module load
Profilee STDOUT: Forcing GC
Profilee STDOUT: Garbage collection finished
Profilee STDOUT: Module 0x103cf6a08 (/) loaded
Profilee STDOUT: Forcing GC due to module load
Profilee STDOUT: Forcing GC
Profilee STDOUT: Garbage collection finished
Profilee STDOUT: Module 0x103d205d0 (/) loaded
Profilee STDOUT: Forcing GC due to module load
Profilee STDOUT: Forcing GC
Profilee STDOUT: Garbage collection finished
Profilee STDOUT: Module 0x103e245a8 (/) loaded
Profilee STDOUT: Forcing GC due to module load
Profilee STDOUT: Forcing GC
Profilee STDOUT: Garbage collection finished
Profilee STDOUT: Garbage collection finished
Profilee STDOUT: [createdump] Gathering state for process 2941 
Profilee STDOUT: [createdump] Crashing thread 7000 signal 6 (0006)
Profilee STDOUT: [createdump] Writing crash report to file /cores/coredump.2941.dmp.crashreport.json
Profilee STDOUT: [createdump] Crash report successfully written
Profilee STDOUT: [createdump] Writing minidump with heap to file /cores/coredump.2941.dmp
Profilee STDOUT: [createdump] Written 761905352 bytes (186012 pages) to core file
Profilee STDOUT: [createdump] Target process is alive
Profilee STDOUT: [createdump] Dump successfully written in 2869ms
Test failed: Profiler tests are expected to contain the text 'PROFILER TEST PASSES' in the console output of the profilee app to indicate a passing test. Usually it is printed from the Shutdown() method of the profiler implementation. This text was not found in the output above. Profilee returned exit code 134.
[createdump] Gathering state for process 2940 
[createdump] Crashing thread 6ff6 signal 6 (0006)
[createdump] Writing crash report to file /cores/coredump.2940.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /cores/coredump.2940.dmp
[createdump] Written 771068088 bytes (188249 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 2654ms
Expected: 100
Actual: 134
END EXECUTION - FAILED

Stack Trace

System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'llvm-symbolizer' with working directory '/private/tmp/helix/working/A8AA094F/w/A7CA08EB/e/profiler/profiler'. No such file or directory
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) in /_/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Unix.cs:line 456
   at CoreclrTestLib.CoreclrTestWrapperLib.TryPrintStackTraceFromCrashReport(String crashReportJsonFile, TextWriter outputWriter)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions