From nobody Wed Jun 21 03:17:53 2023 X-Original-To: apache@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 4Qm7wx4s8Qz4fwdQ for ; Wed, 21 Jun 2023 03:17:53 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qm7wx1gCtz3pJN for ; Wed, 21 Jun 2023 03:17:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687317473; 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: in-reply-to:in-reply-to:references:references; bh=Bmz422bRbaE3/Xrhgz/wLSK8HNjQsvgv1Vbj8DrJqik=; b=jrI2trdDMgEd4bpZPjXq3Gr/CsTT4TXFSemfeGnOhXkbfASf3jYmefwQYcxVxtpgUaGHyq 75o8vaMnoCaJmoY0lIkSp+3TvYG31IEiq7qcuCyBw4Ti8HNTOi0BHrmSOIJqgYPmVgIzkS QmEQvvXkZZb4eCvmPfEduI105tbw94uPMK8mBXP6C+7G5kZ9oFK3MWeK/zz0mJsCRGIWcw v/Ow7KUPAyAYlxCTnczLcVUFLMdeNOEOYNDPjUXPMqqixD4vEg/qjmO0/Jv4OVM3r48vLQ DTwbnDkw5418byqw24QnjJlI0TzI23AO17gB1IF7vde8sP0UIeT4Mg/mEdDSrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687317473; a=rsa-sha256; cv=none; b=bbc4JABbyGq+WbBBRgXrc+aYVLkNJDD8o2gjm3y5Y7Zp0vIL+z8dKy5/o5WF8A1Pjk2TH4 zzlnaeY+xNwnxisLzXTYUsv7he4TytImeyuMHWVtKh59+GjKNGJT/F2JHE2EBMluo5k7Iv xTpQRnnvXw+8ItR7DUqkM10xADVsZ2A3MwEZQ1AwsHpzybHPAN5/go40OKsRINAh28ZRE9 8Y6BszvIzh/4fQLqs+c14nW/CmBYaW450Jn3IhPmjZTKy/UVpd0LdWMKeD9XIYmpNcKemy tT+wHGGFpVvHICdISTfZ0O2IxOWlNkdYoCSKtMwe2/BIRIBVhWoSsHFzZW60hg== 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 4Qm7wx0lkDzQRm for ; Wed, 21 Jun 2023 03:17:53 +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 35L3Hr46078069 for ; Wed, 21 Jun 2023 03:17:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35L3HrVf078068 for apache@FreeBSD.org; Wed, 21 Jun 2023 03:17:53 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: apache@FreeBSD.org Subject: [Bug 267435] www/apache24 core dumps when mod_perl, mod_php8, mod_dbd, and GD active Date: Wed, 21 Jun 2023 03:17:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tatsuki_makino@hotmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Support of apache-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-apache List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-apache@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267435 --- Comment #26 from Tatsuki Makino --- In php, it seems to be possible to work around this by enclosing the 4 functions (imageftbbox, imagefttext, imagettfbbox and imagettftext) in semaphores, etc. However, it would seem that if different languages are running on the same process, they must use the same semaphore. The gd bundled with php seems to have a workaround for the problem when font cache is used in multi-threading. But if mod_php uses it, I don't know what happens when a different language (mod_perl2) tries to use gd (p5-GD) in the same process. So I prepared something like bug 272091. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272091 It patches libgd to work equivalent to the one bundled with php. Could it be a workaround? Someone please try it out ahead of time :) --=20 You are receiving this mail because: You are the assignee for the bug.=