Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2017 03:06:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219445] www/mod_auth_mysql_another segfaults when PHP mysql is compiled with ZTS (Thread-Safety)
Message-ID:  <bug-219445-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219445

            Bug ID: 219445
           Summary: www/mod_auth_mysql_another segfaults when PHP mysql is
                    compiled with ZTS (Thread-Safety)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: apache@FreeBSD.org
          Reporter: amistry@am-productions.biz
          Assignee: apache@FreeBSD.org
             Flags: maintainer-feedback?(apache@FreeBSD.org)

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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219445-13>