S_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d5bjn5KcHz47JT for ; Tue, 11 Nov 2025 19:11:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762888285; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gpq89oHtyQx4q75t+l+sFH24PSMZ106n6pfpjgVyTg0=; b=egG9ZLgV9q1ayDMKV/88k++25l2N3ERwQ0o7LIAbcAQz6Ee75KW8GQKGWrW/lT1mKzEAjy RC6quGrR2fBOqiV0+gu/fz71ct+qJhqLU2I5RZ7iK+FJtWVuGOlaTmfQlRzMOrWOPats2w LxSbfas+DqSDMYG7fw0EjZK6UlGAT5DJw8B0fAhmDrEFMkEaTJhBrDg+PoOS6kk5g+WQNG 5idZn6Z9NFKMaQ2h6GmFnhbVsG3ot8t2SBXGvLbuFi5v8DlGxjkILTKNVfvRqzzfnaK8Gb LMZ29dkbN8Zvx9SynVB3VnCQjMK8xD16cF2iO8P0I22FqKqwJQHQjxnU6QhP3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762888285; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gpq89oHtyQx4q75t+l+sFH24PSMZ106n6pfpjgVyTg0=; b=lfi4IHc6LuG/ECScOD9WIDPmIB5c4jgPZYnZHivI/kRoxedT4pg+PlsWjJxhqwREHy2y8q mr9XJzOQu1vbWlUVvQmvYbu+u7nvH/mUKcFvuPeQq41O9YJYIq65JjdsgecMHJ0ZKqS57i dw+/xMF+TQC1DKM1tN20rjLNWzck2NT01FjtOyr8P+yHu8ZpTVLdy+d+JEkFG/GJbPSRFw xGsEDAgleSyskYmZLOc54whFf032TPoF8V+mGctfCsHP6ZQMaOfBMtFUunfOcq1uJ1VW5i twPRlO5tuX6LQeDsRVUdefQHSSz4ks9v0lLtsGHNrrizRp8UNmgw61WZN+3nWw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762888285; a=rsa-sha256; cv=none; b=eLJwjkNV97mQCOYxVifK3ovV6B/uXiUf+7GZAPfxzKGcU4dmvOAZnNEJzZcgZ/ZGRByN/i R1a8qNOYkFwXatpq28NaxDVBb1LeJegiaxiEu/t/vM9E3EzPed/oGLBKyGMgkpZhsJ+M79 EbkzxAafkNfM6KJ1kn+RTDzNYC6fXGO1BTmLU9P/mbOmsEzqp9ELaPyu6FcUjOGd/4cK1k yjoaKJ8xCxOwi3RydpJxKfC/aSdIsySoCLcWyWIzllxRV+JdJGBBgulnOTOLsLX18XFgO4 cUxjvjpIDWYRSQGT8n+baQYzBxuOeRniztsr4yFCMY/g4DeeYGXZ896r5Ui8CQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4d5bjn4SSbz1G49 for ; Tue, 11 Nov 2025 19:11:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5ABJBPfa064010 for ; Tue, 11 Nov 2025 19:11:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5ABJBPGs064009 for bugs@FreeBSD.org; Tue, 11 Nov 2025 19:11:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 290958] ctfmerge: random Segmentation fault: 11 for `make buildkernel' on macOS Date: Tue, 11 Nov 2025 19:11:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: wosch@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290958 Bug ID: 290958 Summary: ctfmerge: random Segmentation fault: 11 for `make buildkernel' on macOS Product: Base System Version: 14.3-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: wosch@FreeBSD.org I'm running `make buildkernel' on macOS (cross compiling) and sometimes ctfmerge crashes with a Segmentation fault: 11. The errors are random, and = not for the same call. libsystem_pthread.dylib Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00004bbc62118008 Exception Codes: 0x0000000000000001, 0x00004bbc62118008 Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 This seems to be a problem with the macOS pthread library, or the use of the lib. It happens on arm and intel, and the latest macOS 26. I run `make cleankernel; make buildkernel' in a loop 100 times (ca. 2hours)= and usually in 3-5 cases ctfmerge will crash. Example: for i in $(seq 1 100); do printf "."; env logrotate_max=3D100 debug=3D0 build_targets=3D'cleankernel;buildkernel' cross-build-macos.sh >/dev/null 2= >&1 || echo " i=3D$i exit=3D$?";done .......... i=3D10 exit=3D2 . i=3D11 exit=3D2 .............................................. i=3D57 exit=3D2 ....... i=3D64 exit=3D2 ............................ i=3D92 exit=3D2 ........ sh: line 2: 64617 Segmentation fault: 11 ctfmerge -L VERSION -g -o ipl.kld mlfk_ipl.o ip_nat.o ip_frag.o ip_state.o ip_proxy.o ip_auth.o ip_log.o ip_fil_freebsd.o fil.o ip_lookup.o ip_pool.o ip_htable.o ip_sync.o ip_nat6.o ip_rules.o ip_scan.o ip_dstlist.o radix_ipf.o *** [ipl.kld] Error code 139 zegrep -l 'Segmentation fault' macos.buildkernel*gz macos.buildkernel.35.gz macos.buildkernel.42.gz macos.buildkernel.7.gz macos.buildkernel.88.gz macos.buildkernel.89.gz --=20 You are receiving this mail because: You are the assignee for the bug.=