Bug 6046 - "Too many root sets" GC fatal error when running NUnit on corlib (Windows)
Summary: "Too many root sets" GC fatal error when running NUnit on corlib (Windows)
Alias: None
Product: Runtime
Classification: Mono
Component: GC ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2012-07-09 12:09 UTC by James Bellinger
Modified: 2017-07-11 23:30 UTC (History)
5 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 James Bellinger 2012-07-09 12:09:24 UTC
When using NUnit on the full corlib test DLL, about 600 tests in, a message box pops up saying "Too many root sets" GC fatal error. No further tests appear to be run and it freezes using one CPU core's worth of processor until I End Task it.

This also occurs in System and System.Core.
For whatever reason it does not occur in Managed.Windows.Forms.

This is not critical, just means when testing on Windows I have to run my own tests by themselves, as the full test suite cannot finish in NUnit. I do wonder if this is a larger issue than NUnit though?

Command line args to Mono are:
 --debug --runtime=v4.0 nunit-console.exe [library]
(--debug makes no difference to the result.)
Comment 1 Rodrigo Kumpera 2017-07-11 23:30:27 UTC
Boehm is deprecated and sgen is the GC to be used.

This issue doesn't happen with sgen.