From nobody Thu Nov 21 17:39:03 2024 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 4XvQTN3zGFz5dN4Z for ; Thu, 21 Nov 2024 17:39:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-22.consmr.mail.gq1.yahoo.com (sonic301-22.consmr.mail.gq1.yahoo.com [98.137.64.148]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XvQTM3VzRz4VXq for ; Thu, 21 Nov 2024 17:39:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=ZMZov68i; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.148 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1732210757; bh=Gs9oIFhZ3e2Hxt5T4CZ6LqPSyFsvDvkP2pc+S+QITYQ=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=ZMZov68iDBsJv+iZrMD6lO7o0p0IwNqPaA56AhC45DB1RbIjG+Q2xGPj4IY8rXrDaitiUrGvKwVJj5kUHrJCqysvtoksDxx0GmOA0QKkbRDLvNQX3LirAI/daS2VAadRREl6//xuW/9+0Dz9nJ8J9N6HI2//tIWFcdZIIgPEUMGlojj/Hr6GtyWzmt9tSJGH+NtjL2ChMFq5e/UHBjSQnRm6yJJ3EePDo+AV8XXZP37X9+TO+5zg2TkXHTRdjSVgORU4ReyKRhEi/BEqEgkC7uZQmEh83rddl64V0hn3ymvZj+/J2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PyDu7YXsI9bszro2cMr03QJ54xXnQCPI6qZknQwfeLqPFANcBQC_Uv8iBg8 u3pYimzHUzr0kteDEAS2wVuJfWSXxxbKyGS8Nhrgf6u6Hf4mrRB0P.jrrOLJulCPKJnAWBf6vMm4 C6i_qthD_VtC8a81vG7agsuTgtp0VDyJoCwkdmcrHK2NpY5me3DjGQ_Hooemq9cX41cWxBwFPYyB YafvYiP060PI3q0BmwitTrL1Utlie.WHWpBGBflnSKZD1f8ssoH1wBmnCg_NPRN98He6M.OHEdOa g1bm_QIm8wdvKliGUivcEK5FqkGbP0qaPKE7ZdrBefa12iF9PAN93P7d0048UhMOVDhkfLEVP2w7 2ewXX5Kd.VYSvbpzKEj4a9UTaSXWabE6VWhsaU9nlonbQVnMh3sBH5kvvCF19NOGLUFkH3Ndwr6_ POH1dcIFg3.dcIALVi8Gd42mcUDgaqrp9DCNZjWs.XAWPW3WWGTed.WrSRBne1G9KZ30qqgFzXfG Cng5xYmzuBgHTGrOXIjoN_d8JR.SaoAPQhA9_2dn_XhUbUqs2xhCYGGRkw4kie8M_y2iiqM1Nby5 anwRVznSQSLka0Ndhd75EETjUwsHalpa1xFYGGoq9eS3irwsi5LWdVDiFtCySK4xHAxUWzXsaWxO Qd8KKD_BDJekunRb17aBIIba9LRqvK8l1e9NmYKYY3l67wCUOIVI2Ig3fuZhhzUThsYawNMJcN9W gj.ihtnvjQmYNVmzEjlxSiDT6ccJgaEg3_as- X-Sonic-MF: X-Sonic-ID: c5369f3f-88d6-49c4-943e-f291ecb36e42 Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Thu, 21 Nov 2024 17:39:17 +0000 Received: by hermes--production-gq1-5dd4b47f46-5xsmt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 266f9956ce99365a6aa1980ef192f167; Thu, 21 Nov 2024 17:39:14 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: port binary dumping core on recent head in poudriere Message-Id: <5B4B362E-EF6A-4847-8B7D-FEFD97A65F52@yahoo.com> Date: Thu, 21 Nov 2024 09:39:03 -0800 Cc: Guido Falsi To: Dimitry Andric , Current FreeBSD , FreeBSD Mailing List X-Mailer: Apple Mail (2.3776.700.51) References: <5B4B362E-EF6A-4847-8B7D-FEFD97A65F52.ref@yahoo.com> X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[yahoo.com:+]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_THREE(0.00)[4]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.148:from]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.148:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-Rspamd-Queue-Id: 4XvQTM3VzRz4VXq X-Spamd-Bar: --- Dimitry Andric wrote on Date: Thu, 21 Nov 2024 17:27:36 UTC : > On 21 Nov 2024, at 18:17, Guido Falsi wrote: > >=20 > > On 20/11/24 23:50, Guido Falsi wrote: > >> On 20/11/24 22:14, Dimitry Andric wrote: > >>> On 20 Nov 2024, at 18:32, Guido Falsi wrote: > >>>> I've noticed that recently some ports are dumping core during = builds of dependencies in head in poudriere. > >>>>=20 > >>>> I'm seeing this for example with sassc crashing while trying to = build x11-themes/greybird-theme. > >>>>=20 > >>>> My first suspect was the llvm upgrade in head, but forcing sassc = and libsass to build with older clang via USES=3Dllvm:max=3D18 is not = helping. > >>>>=20 > >>>> I did recompile the offending programs with debug and tried a = backtrace and got this: > >>>>=20 > >>>> ``` > >>>> (lldb) bt > >>>> * thread #1, name =3D 'sassc', stop reason =3D signal SIGSEGV: = invalid permissions for mapped object (fault address: 0x82374a000) > >>>> * frame #0: 0x000000082374a000 libsass.so.1 > >>>> frame #1: 0x0000000823865a86 libsass.so.1`_GLOBAL__sub_I_ast.cpp = [inlined] double std::__1::__math::acos[abi:se190102](__x=3D-1) = at inverse_trigonometric_functions.h:40:10 > >>>> frame #2: 0x0000000823865a81 libsass.so.1`_GLOBAL__sub_I_ast.cpp = [inlined] __cxx_global_var_init at units.hpp:11:21 > >>>> frame #3: 0x0000000823865a81 libsass.so.1`_GLOBAL__sub_I_ast.cpp = at ast.cpp:0 > >>>> frame #4: 0x00001eac6e3f078d ld-elf.so.1 > >>>> frame #5: 0x00001eac6e3ef349 ld-elf.so.1 > >>>> frame #6: 0x00001eac6e3ec099 ld-elf.so.1`___lldb_unnamed_symbol27 = + 25 > >>>> ``` > >>>>=20 > >>>> which points me to this upstream line of code: = https://github.com/ = sass/libsass/blob/7037f03fabeb2b18b5efa84403f5a6d7a990f460/src/ = units.hpp#L11 > >>>>=20 > >>>> I could change the way it derives PI, but I'm not sure this is = the correct fix. > >>>=20 > >>> At first sight this looks like some sort of initialization order = fiasco, but without a full backtrace and some indications on what it is = exactly segfaulting on it is hard to say. Is it reproducible? > >> It is fully reproducible here by just compiling the sassc port and = trying to run it. It segfaults on startup. > >=20 > > I'm following up to myself to note that I'm observing the same issue = in textproc/opensp if trying to run anything linked with the library, = for example its own binary "osx". > >=20 > > I noticed it because it is required by libosp and then by gnucash = which I use and maintain. libosp fails during configure due to a test = binary compiled by configure script dumping core. > >=20 > > I suspect there are more around the ports tree. >=20 > I cannot reproduce this at all. For me the sassc binary runs fine, and = also the x11-themes/greybird-theme port builds fine. Then again, my base = system is probably older than yours? Which revision are you running? Per my detailed report of gdb session information, I reproduced this via my poudriere-devel build of textproc/sassc in/for the amd64 context: System: # uname -apKU you have mail FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT #151 = main-n273696-43e045c1733d-dirty: Mon Nov 18 14:46:15 PST 2024 = root@7950X3D-ZFS:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64= .amd64/sys/GENERIC-NODBG amd64 amd64 1500027 1500027 # ~/fbsd-based-on-what-commit.sh -C /usr/main-src/ 43e045c1733d (HEAD -> main, freebsd/main, freebsd/HEAD) atf: Guard = libexec/atf with WITH_TESTS_SUPPORT Author: Franco Fichtner Commit: Mark Johnston CommitDate: 2024-11-18 18:36:46 +0000 branch: main merge-base: 43e045c1733d50fad79f3a53e05140b8dc0d7fa6 merge-base: CommitDate: 2024-11-18 18:36:46 +0000 n273696 (--first-parent --count for merge-base) Ports: # ~/fbsd-based-on-what-commit.sh -C /usr/ports/ ae2ef5f4fb6d (HEAD -> main, freebsd/main, freebsd/HEAD) www/opengist: = Mark as broken on i386 Author: Santhosh Raju Commit: Santhosh Raju CommitDate: 2024-11-19 07:07:08 +0000 branch: main merge-base: ae2ef5f4fb6d367a3002c1339d523bc7f8e07e34 merge-base: CommitDate: 2024-11-19 07:07:08 +0000 n686395 (--first-parent --count for merge-base) =3D=3D=3D Mark Millard marklmi at yahoo.com