Bug 55925 - Investigate crashes when running VSMEF tests on Mono
Summary: Investigate crashes when running VSMEF tests on Mono
Alias: None
Product: Runtime
Classification: Mono
Component: GC ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Vlad Brezae
Depends on:
Reported: 2017-05-03 17:39 UTC by Kirill Osenkov
Modified: 2017-05-11 00:59 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Kirill Osenkov 2017-05-03 17:39:29 UTC
1. git clone https://github.com/Microsoft/vs-mef
2. git checkout TurnOffGitVersioningOnMac
3. Open /vs-mef/src/Microsoft.VisualStudio.Composition.sln in XS 7.0 (need a recent XS that supports opening .NET Core projects)
4. Build
5. Download and unzip https://www.nuget.org/packages/xunit.runner.console/2.2.0 to a folder such as /xunit
6. ~/vs-mef/bin/Tests/Debug/net451> mono ~/xunit/xunit.console.x86.exe ./Microsoft.VisualStudio.Composition.Tests.dll -noshadow

The results are not always exactly the same but it crashes every time, the one we see the most is an assert in sgen.
Comment 1 Vlad Brezae 2017-05-11 00:59:06 UTC
The random crashes should be fixed on 2017-04 by 56e2eba4c26c5ce18b75c1b44eaef6e80186b024.