Uh oh!
There was an error while loading. Please reload this page.
Revert "[QUIC] Adopted msquic generated interop" - #68940
Conversation
This reverts commit 992b395.
ghost
commented
May 5, 2022
Tagging subscribers to this area: @dotnet/ncl |
jkotas
commented
May 5, 2022
Fixes #68932 |
SamMonoRT
commented
May 5, 2022
LGTM |
jkotas
commented
May 5, 2022
We do not run all CI legs on all PRs. We only run subset of legs that we expect to be impacted by the change, based on the set of files that the change is modifying. It works great as long as there no bugs. Something in the Quic change exposed existing crashing bug in Mono and all PRs where we decide to run Mono legs are failing now. |
| } | ||
| #pragma warning disable CS3016 | ||
| [UnmanagedCallersOnly(CallConvs = new Type[] { typeof(CallConvCdecl) })] |
There was a problem hiding this comment.
Assuming the assertion was:
condition `out_obj' not met
according to #68851 (comment), then it is tracked by #57361 and #52977. Perhaps the fix is to use non-array argument in the attribute:
- [UnmanagedCallersOnly(CallConvs = new Type[] { typeof(CallConvCdecl) })]+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]here and in MsQuicStream.cs.
There was a problem hiding this comment.
It would also require reverting back to using delegates in number of places, partially defeating the point of this change.
I think we either need to get the Mono bug fixed soon; or disable Mono AOT for the Quic library.
There was a problem hiding this comment.
Agreed. cc @lambdageek (another example where #57361 and #52977 are blocking array argument usage)
63e6689 to
a523fccComparejkotas
commented
May 6, 2022
@ManickaP I am sorry to revert your PR to get CI back on track. Could you please work with the Mono team on finding the best way to address the failure? I see two options. I think we either need to get the Mono AOT bug fixed or we need to find a way to workaround it (e.g. by disabling Mono AOT for System.Net.Quic). |
thhous-msft
commented
May 6, 2022
Just to double check, this isn't something we'd need to fix on the MsQuic generated interop layer side, right? Its a mono specific JIT bug? |
jkotas
commented
May 6, 2022
Correct. |
ManickaP
commented
May 6, 2022
This is a bummer 😢 I'll disable mono AOT tests for S.N.Quic and try to put up another PR. |
…" (dotnet#68940)" This reverts commit 4820674.
Reverts #68288