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

Virtual Static Method Default Interface Method Reabstraction does not work on Mono #88775

Open
davidwrighton opened this issue Jul 12, 2023 · 3 comments
Assignees
Milestone

Comments

@davidwrighton
Copy link
Member

Description

New test added as part of PR #88711

Reproduction Steps

Run the src/tests/Loader/classloader/StaticVirtualMethods/Reabstraction/Reabstraction/Reabstraction.ilproj test on a Mono platform.

Expected behavior

Test passes

Actual behavior

Test fails

Unhandled Exception:
Xunit.Sdk.ThrowsException: Assert.Throws() Failure
Expected: typeof(System.EntryPointNotFoundException)
Actual:   typeof(System.BadImageFormatException): Bad IL format.
at VirtualStaticMethodReabstraction.Call[BarStruct](https://dev.azure.com/dnceng-public/public/_build/results?buildId=336233&view=ms.vss-test-web.build-test-results-tab&runId=6984112&resultId=111993&paneView=debug)
at VirtualStaticMethodReabstraction.<>c.<Main>b__0_0()
at Xunit.Assert.RecordException(Action testCode) in //src/xunit.assert/Asserts/Record.cs:line 33
[ERROR] FATAL UNHANDLED EXCEPTION: Xunit.Sdk.ThrowsException: Assert.Throws() Failure
Expected: typeof(System.EntryPointNotFoundException)
Actual:   typeof(System.BadImageFormatException): Bad IL format.
at VirtualStaticMethodReabstraction.Call[BarStruct](https://dev.azure.com/dnceng-public/public/_build/results?buildId=336233&view=ms.vss-test-web.build-test-results-tab&runId=6984112&resultId=111993&paneView=debug)
at VirtualStaticMethodReabstraction.<>c.<Main>b__0_0()
at Xunit.Assert.RecordException(Action testCode) in //src/xunit.assert/Asserts/Record.cs:line 33


Return code:      1
Raw output file:      /root/helix/work/workitem/uploads/Reports/Loader.classloader/StaticVirtualMethods/Reabstraction/Reabstraction/Reabstraction.output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true Reabstraction.dll ''
Expected: 100
Actual: 1
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 7/12/2023 2:14:35 AM
Test Harness Exitcode is : 1
To run the test:



set CORE_ROOT=/root/helix/work/correlation
/root/helix/work/workitem/e/Loader/classloader/StaticVirtualMethods/Reabstraction/Reabstraction/Reabstraction.sh
Expected: True
Actual:   False

Regression?

No

Known Workarounds

No response

Configuration

No response

Other information

No response

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jul 12, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jul 12, 2023
@am11 am11 added area-VM-meta-mono and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jul 13, 2023
@marek-safar marek-safar removed the untriaged New issue has not been triaged by the area owner label Jul 24, 2023
@marek-safar marek-safar added this to the 8.0.0 milestone Jul 24, 2023
@SamMonoRT
Copy link
Member

cc @lambdageek

@BrzVlad BrzVlad modified the milestones: 8.0.0, 9.0.0 Aug 14, 2023
@lewing
Copy link
Member

lewing commented Feb 9, 2024

cc @steveisok

@lewing
Copy link
Member

lewing commented Feb 9, 2024

@lambdageek @vargaz

@BrzVlad BrzVlad modified the milestones: 9.0.0, 10.0.0 Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants