From owner-freebsd-mono@freebsd.org Tue Jan 24 14:30:00 2017 Return-Path: Delivered-To: freebsd-mono@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26BEACBE58E for ; Tue, 24 Jan 2017 14:30:00 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 115D31B8 for ; Tue, 24 Jan 2017 14:30:00 +0000 (UTC) (envelope-from romain@blogreen.org) Received: by mailman.ysv.freebsd.org (Postfix) id 10BEBCBE58D; Tue, 24 Jan 2017 14:30:00 +0000 (UTC) Delivered-To: mono@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10690CBE58C for ; Tue, 24 Jan 2017 14:30:00 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from marvin.blogreen.org (marvin.blogreen.org [IPv6:2001:41d0:fe22:1a01::2]) by mx1.freebsd.org (Postfix) with ESMTP id BF1DA1B5 for ; Tue, 24 Jan 2017 14:29:59 +0000 (UTC) (envelope-from romain@blogreen.org) Received: by marvin.blogreen.org (Postfix, from userid 1001) id 63BA61167F; Tue, 24 Jan 2017 15:29:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blogreen.org; s=marvin; t=1485268189; bh=DExnV4lfdDIeetyD9hm9XyqiT+reNMD9lBgXdV43k/c=; h=Date:From:To:Subject:References:In-Reply-To; b=coNiaNxoU7XFiaf+q1N9Ks9+egDXxopNZlx2rxKbTss5sYTNKiwDv76OzIt3WE70U yyFUiFGRw1fczjowkGd/yh96KeEjufaGOW0CYEFymkwdHqpOCI8nfLHx69sWM6Tij2 Ij8axAaalj0vFBXsX94Zyo8c9QDK1oCtAf2gA9uA= Date: Tue, 24 Jan 2017 15:29:49 +0100 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: mono@freebsd.org Subject: Re: SIGSEGV crash on SMP Xeon E5, can't build from ports Message-ID: <20170124142949.GB87248@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="H1spWtNR+x+ondvy" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://romain.blogreen.org/pubkey.asc User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2017 14:30:00 -0000 --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 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--