From nobody Tue Dec 14 08:17:39 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2D24418E2CC5 for ; Tue, 14 Dec 2021 08:17:40 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:7ae3:b5ff:fe1b:23b4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.lerctr.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JCrpX0h0pz4vFC for ; Tue, 14 Dec 2021 08:17:40 +0000 (UTC) (envelope-from ler@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=ler2019; h=Content-Transfer-Encoding:Content-Type:Message-ID:References: In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=E9pA9vBReWNUz+GTLtFgyMLNb6Bsf9iBBeaFslHxMdg=; b=TJtqDB6i4AAr12U9x2K3S7kVtc PGxORqp9YoqurtnkFnMliPa/b2eNhEe9WnXl7/s4ylJ2zV35Pfm5VVSUC1/ByC6YoB0H8wcNeSi+9 Fp4k4SzB2mzoAVEdwnnpksg2QGRkoDkNjswXhAkgZGxAVjhKM0CCzMHp8hMfj2k9OO7EXPQpf4jZu SKU0ZQ+2ik344+sKvK8eBuCYIdYj0DBaWpFqjK3nNgchFRz0ED5PoedCybkSJjvSeKujZbGuo7hiM bQxXUDXv4I5ZE/TzjUR20T6M4iJaJ4Hk+7YK2Rj6eW5rsrf4WIazW4spb1u5O4LnuofqtXUP0DtWB f0AcZ9gg==; Received-SPF: softfail (thebighonker.lerctr.org: transitioning domain of FreeBSD.org does not designate 2001:470:1f0f:3ad:bb:dcff:fe50:d900 as permitted sender) client-ip=2001:470:1f0f:3ad:bb:dcff:fe50:d900; envelope-from=ler@FreeBSD.org; helo=webmail.lerctr.org; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:bb:dcff:fe50:d900]:32027 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1mx30F-0008a0-4s; Tue, 14 Dec 2021 02:17:39 -0600 Received: from 76-250-255-117.lightspeed.austtx.sbcglobal.net ([76.250.255.117]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 14 Dec 2021 02:17:39 -0600 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Date: Tue, 14 Dec 2021 02:17:39 -0600 From: Larry Rosenman To: Mark Millard Cc: freebsd-ports@freebsd.org Subject: Re: lang/go: sigbus on 13-Stable Jail? In-Reply-To: <3D942FF9-F517-42AB-8C25-027F696913AF@yahoo.com> References: <3D942FF9-F517-42AB-8C25-027F696913AF.ref@yahoo.com> <3D942FF9-F517-42AB-8C25-027F696913AF@yahoo.com> Message-ID: X-Sender: ler@FreeBSD.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4JCrpX0h0pz4vFC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 12/14/2021 1:16 am, Mark Millard wrote: > From: Larry Rosenman wrote on > Date: Mon, 13 Dec 2021 18:48:52 -0600 : > >> https://home.lerctr.org:8888/data/p130-S-amd64-host-ports/2021-12-13_18h14m58s/logs/errors/go-1.17.5,1.log >> >> >> # cmd/compile/internal/ssa >> fatal error: unexpected signal during runtime execution >> [signal SIGBUS: bus error code=0xc addr=0x8198d4000 pc=0x429121] >> >> runtime stack: >> runtime.throw(0xc2702b, 0x2a) >> /usr/local/go/src/runtime/panic.go:1112 +0x72 >> runtime.sigpanic() >> /usr/local/go/src/runtime/signal_unix.go:671 +0x46a >> runtime.(*pageAlloc).alloc(0x1206c48, 0x8, 0x0, 0x0) >> /usr/local/go/src/runtime/mpagealloc.go:767 +0x81 >> runtime.(*mheap).allocSpan(0x1206c40, 0x8, 0x420000, 0x121c5a8, 0x48) >> /usr/local/go/src/runtime/mheap.go:1122 +0x62f >> runtime.(*mheap).alloc.func1() >> /usr/local/go/src/runtime/mheap.go:871 +0x64 >> runtime.(*mheap).alloc(0x1206c40, 0x8, 0x460100, 0x1206c40) >> /usr/local/go/src/runtime/mheap.go:865 +0x81 >> runtime.largeAlloc(0xf8a0, 0x1210001, 0x882348ae0) >> /usr/local/go/src/runtime/malloc.go:1152 +0x92 >> runtime.mallocgc.func1() >> /usr/local/go/src/runtime/malloc.go:1047 +0x46 >> runtime.systemstack(0x0) >> /usr/local/go/src/runtime/asm_amd64.s:370 +0x66 >> runtime.mstart() >> /usr/local/go/src/runtime/proc.go:1041 >> >> >> Ideas? >> >> Today's 13-Stable, and today's ports tree >> (Poudriere hosted on 14-Current) > > I tried building lang/go for stable/13 (from main) via > poudreire-devel in/for a somewhat older amd64 context: > (from the build's log file) > > Ports top last git commit: 9bed79e86972 > Ports top unclean checkout: yes > Port dir last git commit: 66b73ca2e1fa > Port dir unclean checkout: no > Poudriere version: poudriere-git-3.3.99.20211130 > Host OSVERSION: 1400043 > Jail OSVERSION: 1300522 > > For reference: > > # cd /usr/ports/ > # ~/fbsd-based-on-what-commit.sh > branch: main > merge-base: 9bed79e869721b4ca8a15c527db8d40969867c2c > merge-base: CommitDate: 2021-12-06 03:45:47 +0000 > 9bed79e86972 (HEAD -> main, freebsd/main, freebsd/HEAD) www/drupal9: > update to 9.2.10 > n567671 (--first-parent --count for merge-base) > > # cd /usr/13S-src/ > # ~/fbsd-based-on-what-commit.sh > branch: stable/13 > merge-base: c89c8b894cffd033d6409f7bf0bdb7543bbf78f9 > merge-base: CommitDate: 2021-12-07 18:53:33 +0000 > c89c8b894cff (HEAD -> stable/13, freebsd/stable/13) net80211(4): Fix a > typo in a sysctl description > n248443 (--first-parent --count for merge-base) > > # cd /usr/main-src/ > # ~/fbsd-based-on-what-commit.sh > branch: main > merge-base: 22c4ab6cb015dc99eb82504e5fd957662cded3c3 > merge-base: CommitDate: 2021-12-07 19:29:26 +0000 > 22c4ab6cb015 (HEAD -> main, freebsd/main, freebsd/HEAD) sys/_bitset.h: > Fix fall-out from commit 5e04571cf3c > n251456 (--first-parent --count for merge-base) > > lang/go is older as a consequence: 1.17.4,1 > > No CCACHE use in my context, unlike yours. > > The log shows a smaller stack size limit: stack size > (kbytes, -s) 524288 > The log shows a larger open files limit : open files > (-n) 4096 > > Result: > > [00:04:23] [01] [00:03:01] Finished lang/go | go-1.17.4,1: Success > > > > (This happened to separately be a useful test of a newly set > up part of my environment. But my context being only about a > week back, I figured that the status for such a short time > back might prove useful.) > A second run worked fine. I wonder if it was a freak and/or ASLR picking bad numbers? Regardless, it built now. https://home.lerctr.org:8888/data/p130-S-amd64-host-ports/2021-12-14_02h10m23s/logs/go-1.17.5,1.log -- Larry Rosenman http://people.freebsd.org/~ler Phone: +1 214-642-9640 E-Mail: ler@FreeBSD.org US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106