From owner-freebsd-apache@freebsd.org Mon May 22 03:06:06 2017 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7AAB7D77818 for ; Mon, 22 May 2017 03:06:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 64D251614 for ; Mon, 22 May 2017 03:06:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 64347D77815; Mon, 22 May 2017 03:06:06 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63DCAD77811 for ; Mon, 22 May 2017 03:06:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53ECD1613 for ; Mon, 22 May 2017 03:06:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v4M366o4001189 for ; Mon, 22 May 2017 03:06:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: maintainer-feedback requested: [Bug 219445] www/mod_auth_mysql_another segfaults when PHP mysql is compiled with ZTS (Thread-Safety) Date: Mon, 22 May 2017 03:06:06 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2017 03:06:06 -0000 amistry@am-productions.biz has reassigned Bugzilla Automation 's request for maintainer-feedback to apache@FreeBSD.= org: Bug 219445: www/mod_auth_mysql_another segfaults when PHP mysql is compiled with ZTS (Thread-Safety) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219445 --- Description --- Created attachment 182789 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182789&action= =3Dedit Link against thread-safe libmysqlclient When this module is built and PHP is also build with ZTS (Thread-Safety) th= en this will cause Apache to segfault. Forcing it to link against the _r thread-safe version of the libmysqlclient library fixes the problem. A cru= de patch is attached, but there should be a better way to specify WITH_THREADS= or something like that.