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

[NativeAot] ComWrappers don't work on Linux #76005

Closed
MichalStrehovsky opened this issue Sep 22, 2022 · 0 comments · Fixed by #85000
Closed

[NativeAot] ComWrappers don't work on Linux #76005

MichalStrehovsky opened this issue Sep 22, 2022 · 0 comments · Fixed by #85000

Comments

@MichalStrehovsky
Copy link
Member

MichalStrehovsky commented Sep 22, 2022

[FAIL] System.Runtime.InteropServices.Tests.ReleaseTests.Release_ValidPointer_Success
System.PlatformNotSupportedException : Operation is not supported on this platform.
   at System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(Object instance, CreateComInterfaceFlags flags) + 0x28
   at System.Runtime.InteropServices.Tests.ReleaseTests.Release_ValidPointer_Success() + 0x48
   at System.Runtime.InteropServices!<BaseAddress>+0xfda184
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0xd8
[FAIL] System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_ValidInterface_Success(o: Object { }, iidString: "00000000-0000-0000-C000-000000000046")
System.PlatformNotSupportedException : Operation is not supported on this platform.
   at System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(Object instance, CreateComInterfaceFlags flags) + 0x28
   at System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_ValidInterface_Success(Object o, String iidString) + 0x48
   at System.Runtime.InteropServices!<BaseAddress>+0xff910c
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x14c
[FAIL] System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_ValidInterface_Success(o: Object { }, iidString: "1F906666-B388-4729-B78C-826BC5FD4245")
System.PlatformNotSupportedException : Operation is not supported on this platform.
   at System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(Object instance, CreateComInterfaceFlags flags) + 0x28
   at System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_ValidInterface_Success(Object o, String iidString) + 0x48
   at System.Runtime.InteropServices!<BaseAddress>+0xff910c
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x14c
[FAIL] System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_NoSuchInterface_Success(o: Object { }, iidString: "00000000-0000-0000-0000-000000000000")
System.PlatformNotSupportedException : Operation is not supported on this platform.
   at System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(Object instance, CreateComInterfaceFlags flags) + 0x28
   at System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_NoSuchInterface_Success(Object o, String iidString) + 0x44
   at System.Runtime.InteropServices!<BaseAddress>+0xff910c
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x14c
[FAIL] System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_NoSuchInterface_Success(o: Object { }, iidString: "639610C8-26EA-48BB-BD74-4BC18EECC6EA")
System.PlatformNotSupportedException : Operation is not supported on this platform.
   at System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(Object instance, CreateComInterfaceFlags flags) + 0x28
   at System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_NoSuchInterface_Success(Object o, String iidString) + 0x44
   at System.Runtime.InteropServices!<BaseAddress>+0xff910c
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x14c
[FAIL] System.Runtime.InteropServices.Tests.AddRefTests.AddRef_ValidPointer_Success
System.PlatformNotSupportedException : Operation is not supported on this platform.
   at System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(Object instance, CreateComInterfaceFlags flags) + 0x28
   at System.Runtime.InteropServices.Tests.AddRefTests.AddRef_ValidPointer_Success() + 0x48
   at System.Runtime.InteropServices!<BaseAddress>+0xfda184
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0xd8
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Sep 22, 2022
@MichalStrehovsky MichalStrehovsky changed the title ComWrappers don [NativeAot] ComWrappers don't work on Linux Sep 22, 2022
@MichalStrehovsky MichalStrehovsky added area-NativeAOT-coreclr and removed area-Interop-coreclr untriaged New issue has not been triaged by the area owner labels Sep 22, 2022
@MichalStrehovsky MichalStrehovsky added this to the 8.0.0 milestone Sep 22, 2022
@agocke agocke added this to AppModel Apr 3, 2023
@ghost ghost added in-pr There is an active PR which will close this issue when it is merged and removed in-pr There is an active PR which will close this issue when it is merged labels Apr 18, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Apr 25, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant