Skip to content

Test failure: Assertion failed '!"*** invalid IL: gc type passed to unmanaged call"' #35187

@v-haren

Description

@v-haren

failed in job: runtime-coreclr outerloop 20200419.3

failed tests:
JIT\Directed\IL\PInvokeTail\PInvokeTail\PInvokeTail.cmd
JIT\Directed\pinning\object-pin\object-pin\object-pin.cmd

Error message

Assert failure(PID 8824 [0x00002278], Thread: 7548 [0x1d7c]): Assertion failed '!"*** invalid IL: gc type passed to unmanaged call"' in '<Module>:?callputs1@@YAHXZ():int' during 'Importation' (IL size 13)
File: F:\workspace\_work\1\s\src\coreclr\src\jit\importer.cpp Line: 6750
Image: C:\h\w\B18E09BC\p\CoreRun.exe
Return code: 1
Raw output file: C:\h\w\B18E09BC\w\A94A0981\e\JIT\Directed\Reports\JIT.Directed\IL\PInvokeTail\PInvokeTail\PInvokeTail.output.txt
Raw output:
BEGIN EXECUTION
"C:\h\w\B18E09BC\p\corerun.exe" PInvokeTail.dll
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=C:\h\w\B18E09BC\p
> C:\h\w\B18E09BC\w\A94A0981\e\JIT\Directed\IL\PInvokeTail\PInvokeTail\PInvokeTail.cmd
Expected: True
Actual: False


Stack trace
   at JIT_Directed._IL_PInvokeTail_PInvokeTail_PInvokeTail_._IL_PInvokeTail_PInvokeTail_PInvokeTail_cmd() in F:\workspace\_work\1\s\artifacts\tests\coreclr\Windows_NT.x64.Checked\TestWrappers\JIT.Directed\JIT.Directed.XUnitWrapper.cs:line 23323

Metadata

Metadata

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMItest-bugProblem in test source code (most likely)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions