Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
When running "make check" on the current head of the main branch the unit test "test-mono-linked-list-set" fails with the following message "* Assertion at hazard-pointer.c:358, condition `small_id == i' not met".
I have done some sleuthing and it looks like mono_threads_init in ./mono/utils/mono-threads.c near line 326 there is a call to mono_thread_smr_init.
Further looking at the unit test /mono/mono/unit-tests/test-mono-linked-list-set.c near line 150 in the main function the mono_threads_init is called and then the mono_threads_smr_init function is called. It is this second call the mono_threads_smr_init that fails.
Commenting out the line with mono_threads_smr_init in the unit test seems to correct the problem.
This test has been failing on our RHEL 5.3 system for awhile (since Mono 3.0.x) and I finally got around to looking for the source.
Got fixed by 78a64f733153a029f7079064110e7b37dd79cbb6.