From nobody Mon Apr 6 13:37:08 2026 X-Original-To: dev-commits-ports-main@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 4fq9Nj2QQtz6Y2dv for ; Mon, 06 Apr 2026 13:37:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fq9Nh5Npsz3fgd for ; Mon, 06 Apr 2026 13:37:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775482628; 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=yI99GTjt7ByZN1r7FXme5Pgweb+1vJ7j6sovIqBxuwI=; b=WB68xq8FaaRLK53dETpfIbXdRo6+HwH5W5oj1zVTms+sMbxKqnoVeKY/8yfA0Q93MShF5s isMQttQSI5yS/bPzdnxUJwzowyHr4eEQH50FBKA6FMso4EukTJQ/8Aw2ypsQ9/C2o/IaNt H5isQ6i2PXB+03fJnUiX49ONs5BqfpYRol07ZzqhM+XDyG58iocS0RS3sV1/sg856Eo0F/ oYiXW1wxS4x90vidhRtvA9SsnAYuPUI7MYGRPgxcUlu0PveWOhznled081gbslm70OTETY +HmD8gWH6tWMkDeOLGms8MH95KhrVWa2HrVDZfou/b+V3YpZLUhoUNI9FRfOTQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775482628; a=rsa-sha256; cv=none; b=pImOQTSrueUPT1/8XMFloIsaml8aGG0iKbHlXR/PJ0XIgNkVXGgbaIK7qeDHui8ucD/7fc weThy2+4qcMcXhNXi/2Rh1CyyQHTU7OCuiKzQVYX67TC9xZ3BHQxNCqC9VlULRiZ0jRcFf TTxbJEP5EXjq/Er8sddmkn1M79VOyt1KM4lwiL8oCPrjovU7reUzmLA91/cieZlePbOive 4rZwrtB8/96hd3aTOz5LiZ/ta8mIY9jgS0Hq+PkgR1KwQ1iLDNeoC4txIng6RaIu7GqV5H +2uiZMzMKAncTjTWFmQcFMDvuTwLJrdZ2uDEsAHrdxgMCnk0Pn6vXiFcnE1GXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775482628; 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=yI99GTjt7ByZN1r7FXme5Pgweb+1vJ7j6sovIqBxuwI=; b=SalUVElDUabdwXTxIUaSkX9qMQtDyX0iMszIupwPc5/3Tt+l6eJgRzUAr/Pti2Kw0oBCo4 upWdKRXgPkTviFe0Sgo14nVlhst8aE4B+wwBWd/RzIMxWZrO0isRIwI1kBeKZixkeJK1Qn QXzcavUWBKrtSpCgVrJed23cxbDRTxXx1Wspp7+2S1aHof3N65N4V2G8SHH16bGb/A5Ccs pq6TooyaPmsx3Rijzzw7Aiy3LNN1BLb30nA9Zn+zUmbIUNA71SjcHE3J0wPLc+RsrdFB3q lgQNj5FawT7ALecjaeEPf6DUAk0hcO0HGt5zhXdbKy9tBMF/UdO+hC3gnt8kGg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fq9Nh4mYpzvyg for ; Mon, 06 Apr 2026 13:37:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 38083 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 06 Apr 2026 13:37:08 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 8a2f42718ddd - main - textproc/php83-xsl: Remove xsltCleanupGlobals call in ext/xsl MSHUTDOWN List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8a2f42718ddd83687a1fe7646343652e7c681977 Auto-Submitted: auto-generated Date: Mon, 06 Apr 2026 13:37:08 +0000 Message-Id: <69d3b704.38083.72fd0591@gitrepo.freebsd.org> The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=8a2f42718ddd83687a1fe7646343652e7c681977 commit 8a2f42718ddd83687a1fe7646343652e7c681977 Author: Muhammad Moinur Rahman AuthorDate: 2026-04-06 12:36:58 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2026-04-06 13:36:38 +0000 textproc/php83-xsl: Remove xsltCleanupGlobals call in ext/xsl MSHUTDOWN The call to xsltCleanupGlobals() during module shutdown can cause a segfault in xmlHashFree() when freeing libxslt internal hash tables. This is the same class of shutdown cleanup issue that led to xmlCleanupParser() being removed from ext/libxml. The process is about to exit and the OS will reclaim all memory, making the explicit cleanup both unnecessary and harmful. --- textproc/php83-xsl/Makefile | 1 + textproc/php83-xsl/files/patch-php__xsl.c | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/textproc/php83-xsl/Makefile b/textproc/php83-xsl/Makefile index 13cf30a12fa5..59cb10d26d57 100644 --- a/textproc/php83-xsl/Makefile +++ b/textproc/php83-xsl/Makefile @@ -1,3 +1,4 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php83 diff --git a/textproc/php83-xsl/files/patch-php__xsl.c b/textproc/php83-xsl/files/patch-php__xsl.c new file mode 100644 index 000000000000..35c8952352de --- /dev/null +++ b/textproc/php83-xsl/files/patch-php__xsl.c @@ -0,0 +1,10 @@ +--- php_xsl.c.orig 2026-04-04 20:11:31 UTC ++++ php_xsl.c +@@ -212,7 +212,6 @@ PHP_MSHUTDOWN_FUNCTION(xsl) + xsltUnregisterExtModuleFunction ((const xmlChar *) "function", + (const xmlChar *) "http://php.net/xsl"); + xsltSetGenericErrorFunc(NULL, NULL); +- xsltCleanupGlobals(); + + return SUCCESS; + }