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

corefx test failure: Assert failure: !"You cannot use this function for arbitrary value types. You must preallocate a box object and copy the value in yourself." #10208

Closed
BruceForstall opened this issue Apr 20, 2018 · 2 comments
Labels
Milestone

Comments

@BruceForstall
Copy link
Member

https://ci.dot.net/job/dotnet_coreclr/job/master/view/x86/job/jitstress/job/x86_checked_windows_nt_corefx_baseline/462/consoleText

many tests fail with:

  Assert failure(PID 4732 [0x0000127c], Thread: 3760 [0x0eb0]): !"You cannot use this function for arbitrary value types. You must preallocate a box object and copy the value in yourself."
  
  CORECLR! InvokeUtil::CreateObjectAfterInvoke + 0x1B4 (0x7197b820)
  CORECLR! RuntimeMethodHandle::InvokeMethod + 0xCF3 (0x71ab9013)
  SYSTEM.PRIVATE.CORELIB! <no symbol> + 0x0 (0x70fde7e9)
  SYSTEM.PRIVATE.CORELIB! <no symbol> + 0x0 (0x70fe0217)
  SYSTEM.PRIVATE.CORELIB! <no symbol> + 0x0 (0x70fe01c2)
  CORECLR! PreStubWorker + 0x3D8 (0x717618bf)
      File: d:\j\workspace\x86_checked_w---fbe14ed2\src\vm\invokeutil.cpp Line: 693
      Image: D:\j\workspace\x86_checked_w---fbe14ed2\_\fx\bin\testhost\netcoreapp-Windows_NT-Release-x86\dotnet.exe

Also seen on ARM.

@RussKeldorph
Copy link
Contributor

@jkotas @jeffschwMSFT @sergiy-k Could you help with triage?

@jkotas
Copy link
Member

jkotas commented Apr 20, 2018

Fixed by dotnet/coreclr#17671

@jkotas jkotas closed this as completed Apr 20, 2018
@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the 2.1.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants