Uh oh!
There was an error while loading. Please reload this page.
Allow interop resolvers to return self handle - #78004
Conversation
ghost
commented
Nov 8, 2022
Tagging subscribers to this area: Issue DetailsWhen user-defined resolvers return self handle via Fix is to test the resolver returned handle against self; before the map lookup (which happens under the lock). Close #77985.
|
am11
commented
Nov 8, 2022
@lambdageek, @vargaz, candidate of backport? ( |
lambdageek
commented
Nov 8, 2022
lambdageek
commented
Nov 8, 2022
/backport to release/7.0 |
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3419652288 |
@lambdageek, could you please run the Android pipeline ( |
lambdageek
commented
Nov 14, 2022
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
akoeplinger
commented
Nov 14, 2022
On main we can also do In general we should try to avoid merging a backport for PRs that weren't yet merged to main, we'd probably have caught this earlier. |
am11
commented
Nov 15, 2022
@lambdageek, could you re-run the leg? The tests are passing locally now. For the internal call, we needed to continue looking up in the map. |
lambdageek
commented
Nov 15, 2022
/azp run runtime-android |
|
Azure Pipelines successfully started running 1 pipeline(s). |
lambdageek
commented
Nov 15, 2022
am11
commented
Nov 15, 2022
For some reason, it wasn't failing the debug build @lambdageek, sure. I will add a case in resolver tests. |
|
4156ab6 to
2443e43CompareAdded a test and rebased. I had to change the way we resolve self handle on Android: use @lambdageek, please azp run again. 🙂 |
2443e43 to
b3473b5Comparelambdageek
commented
Nov 16, 2022
/azp run runtime-android |
|
Azure Pipelines successfully started running 1 pipeline(s). |
am11
commented
Nov 16, 2022
Thank you. So Android legs were green. I have disabled the new test on Windows and monointerpreter:
|
Uh oh!
There was an error while loading. Please reload this page.
lambdageek
commented
Nov 17, 2022
/azp run runtime-android |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This reverts commit de8eced.
am11
commented
Nov 22, 2022
@lambdageek, it's green (including |
lambdageek
commented
Nov 23, 2022
/azp run runtime-android |
|
Azure Pipelines successfully started running 1 pipeline(s). |
lambdageek
commented
Nov 23, 2022
/backport to release/7.0 |
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3534964800 |
lambdageek
commented
Nov 23, 2022
/azp run runtime-androidemulator |
|
Azure Pipelines successfully started running 1 pipeline(s). |
lambdageek
commented
Nov 23, 2022
New test passed on Android emulator. LGTM. Thanks @am11 |
When user-defined resolvers return self handle via
GetMainProgramHandle(), we lookup the cached handle in mono and fail to find one becauseinternal_moduleis not cached innative_library_module_map.Fix is to test the resolver returned handle against self; before the map lookup (which happens under the lock).
Close#77985.