Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2017 15:29:49 +0100
From:      Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org>
To:        mono@freebsd.org
Subject:   Re: SIGSEGV crash on SMP Xeon E5, can't build from ports
Message-ID:  <20170124142949.GB87248@FreeBSD.org>
In-Reply-To: <CAA3Uwx2-LEiB3=5EnoqpKKNPP0%2BVGGZ9TvyeJB8oeBY%2BxxwtSA@mail.gmail.com>
References:  <CAA3Uwx2-LEiB3=5EnoqpKKNPP0%2BVGGZ9TvyeJB8oeBY%2BxxwtSA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--H1spWtNR+x+ondvy
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 24, 2017 at 04:50:58AM +0000, Philipp Michel wrote:
> I think it is related to this bug:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211367
>=20
> There are reports of several people still having this issue, seemingly all
> on multiprocessor machines.
>=20
> Any idea what this could be? I'm at my wits end, all I can think of now is
> to run mono in a bhyve VM to get around this, which makes me a bit sad...

Looking at the backtrace from #211367, the segfault comes from
mono_gchandle_free().  The default Garbage Collector (GC) beeing sgen,
trying to switch to boehm may confirm that this is related to a race
condition in the garbage collection?

mcs has a `--gc=3D[sgen,boehm]` option to test this quickly, but it should
be possible to tell `./configure` to disable sgen support.

Sorry to not be able to provide more than this: with 4 cores, I can't
remember being hit by this problem.

Romain

--=20
Romain Tarti=E8re <romain@FreeBSD.org>  http://people.FreeBSD.org/~romain/
pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated)

--H1spWtNR+x+ondvy
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCAAdFiEEgjSaeOfAuAcLWYD/uk0dlVESM28FAliHZNwACgkQuk0dlVES
M29gQQwAvreF9o9fVqVFt4czqE1b/V3z8Z2AMwe1BfQ8FjT5BUWOGfWdvGoCahc5
0Ag8pbfcUDX/ccoazRh1tNLMltfKyV9vo+IBi/hBP0Z7VC6zNpmkkbK3DDqlY9dV
Sm36XzL+crYzQ1cjE1JsUyysEfnV8abF6YGVeT3jm26iB9rHTGdKaCc+9ik2DIh3
zvdI3+8SGPH7N3pJeCQ93/kUqaon8IFfRr+qPudYhBsFD8Cwo36y/zRcXq7FvCJU
Qu1Ul1xUjhpUiOlgBBf5xfFxa5yU09jsLnIjNzmMpe4JvodZ/A+isDbSrs+EFJ4l
ri4dmRcD3Yv5hvlXS3uHujFZ7HCqvC6Q4gg8K5bpGsIJQwdWPBu9tYHflmv1HFFX
QlXN+11juvXZG19IPYjjDFWouTkxWmrBTn9fAk+c3nRsVAr6drzKYHleVVzcfptE
526Ghpvnfd+mckvzl8tHISpoc37gKcxiAgEOWlcPTnwy+UtsmtRpK1/bN17cYSIG
W+AFT3Hq
=vTda
-----END PGP SIGNATURE-----

--H1spWtNR+x+ondvy--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170124142949.GB87248>