[Bug 219445] www/mod_auth_mysql_another segfaults when PHP mysql is compiled with ZTS (Thread-Safety)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 22 03:06:06 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219445

            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 at FreeBSD.org
          Reporter: amistry at am-productions.biz
          Assignee: apache at FreeBSD.org
             Flags: maintainer-feedback?(apache at FreeBSD.org)

Created attachment 182789
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182789&action=edit
Link against thread-safe libmysqlclient

When this module is built and PHP is also build with ZTS (Thread-Safety) then
this will cause Apache to segfault.   Forcing it to link against the _r
thread-safe version of the libmysqlclient library fixes the problem.  A crude
patch is attached, but there should be a better way to specify WITH_THREADS or
something like that.

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


More information about the freebsd-apache mailing list