[Bug 256844] www/nextcloud: apache/occ/php causes segmentation fault error

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 26 Jun 2021 14:46:11 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256844

            Bug ID: 256844
           Summary: www/nextcloud: apache/occ/php causes segmentation
                    fault error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd_at_freebsd.org
          Reporter: ohartmann_at_walstatt.org
             Flags: maintainer-feedback?(brnrd_at_freebsd.org)
          Assignee: brnrd_at_freebsd.org

Running latest port www/nextcloud (see below) on CURRENT (recently updated,
problem is present a couple of weeks for now: FreeBSD 14.0-CURRENT #18
main-n247572-9e4d9e4c4d7: Fri Jun 25 15:48:12 CEST 2021 amd64), the nextcloud
instance on that server is broken and inaccessible now for a while. When the
apache24 webserver (port info see below) is accessed, Mozilla Firefox as well
as any other browser reiceive "Error: Secure connection failed".
The error log of Apache 2.4 shows only this line:

[Sat Jun 26 14:41:11.684675 2021] [core:notice] [pid 60531:tid 34374492160]
AH00052: child pid 77545 exit signal Segmentation fault (11)

Other PHP based services on the very same server (refdb, phpldapadmin, icinga2,
webalizer for instance) do not show up with this seg fault.

Trying to use /usr/local/www/nextcloud/occ via
su -m www- c "php ./occ upgrade"
for instance also results in a segmentation fault.

I have already reinstalled www/apache24, www/nextcloud as well as lang/php74
with all php74-*packages via "portmaster -dfR" in the hope there is something
out of synchronisation so far.

The problem does occur on CURRENT and recent 13-STABLE hosts, it doesn't occur
on 12.2-RELENG-p8, 13.0-RELENG-p2. 


[...]
nextcloud-php74-21.0.2
Name           : nextcloud-php74
Version        : 21.0.2
Installed on   : Mon Jun  7 04:43:40 2021 CEST
Origin         : www/nextcloud
Architecture   : FreeBSD:14:*
Prefix         : /usr/local
Categories     : www
Licenses       : AGPLv3
Maintainer     : brnrd_at_FreeBSD.org
WWW            : https://nextcloud.com
Comment        : Personal cloud which runs on your own server
Options        :
        APCU           : on
        EXIF           : on
        IMAGICK        : off
        INTL           : on
        LDAP           : on
        MYSQL          : off
        OPCACHE        : on
        PCNTL          : off
        PGSQL          : on
        REDIS          : off
        SMB            : off
        SQLITE         : on
        SSL            : on
Annotations    :
        cpe            : cpe:2.3:a:nextcloud:nextcloud:21.0.2:::::freebsd14:x64
        flavor         : php74
Flat size      : 377MiB
Description    :
Nextcloud is a system for the creation and management of personal
cloud resources. It is a fork of Owncloud.

WWW: https://nextcloud.com



[...]
apache24-2.4.48
Name           : apache24
Version        : 2.4.48
Installed on   : Sat Jun 19 19:25:48 2021 CEST
Origin         : www/apache24
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : www
Licenses       : APACHE20
Maintainer     : apache_at_FreeBSD.org
WWW            : https://httpd.apache.org/
Comment        : Version 2.4.x of Apache web server
Options        :
        ACCESS_COMPAT  : on
        ACTIONS        : on
        ALIAS          : on
        ALLOWMETHODS   : on
        ASIS           : on
        AUTHNZ_FCGI    : on
        AUTHNZ_LDAP    : on
        AUTHN_ANON     : on
        AUTHN_CORE     : on
        AUTHN_DBD      : on
        AUTHN_DBM      : on
        AUTHN_FILE     : on
        AUTHN_SOCACHE  : on
        AUTHZ_CORE     : on
        AUTHZ_DBD      : on
        AUTHZ_DBM      : on
        AUTHZ_GROUPFILE: on
        AUTHZ_HOST     : on
        AUTHZ_OWNER    : on
        AUTHZ_USER     : on
        AUTH_BASIC     : on
        AUTH_DIGEST    : on
        AUTH_FORM      : on
        AUTOINDEX      : on
        BROTLI         : off
        BUCKETEER      : off
        BUFFER         : on
        CACHE          : on
        CACHE_DISK     : on
        CACHE_SOCACHE  : on
        CASE_FILTER    : off
        CASE_FILTER_IN : off
        CERN_META      : on
        CGI            : on
        CGID           : on
        CHARSET_LITE   : on
        DATA           : on
        DAV            : on
        DAV_FS         : on
        DAV_LOCK       : on
        DBD            : on
        DEFLATE        : on
        DIALUP         : on
        DIR            : on
        DOCS           : on
        DUMPIO         : on
        ECHO           : off
        ENV            : on
        EXAMPLE_HOOKS  : off
        EXAMPLE_IPC    : off
        EXPIRES        : on
        EXT_FILTER     : on
        FILE_CACHE     : on
        FILTER         : on
        HEADERS        : on
        HEARTBEAT      : on
        HEARTMONITOR   : on
        HTTP2          : on
        IDENT          : off
        IMAGEMAP       : on
        INCLUDE        : on
        INFO           : on
        IPV4_MAPPED    : off
        LBMETHOD_BYBUSYNESS: on
        LBMETHOD_BYREQUESTS: on
        LBMETHOD_BYTRAFFIC: on
        LBMETHOD_HEARTBEAT: on
        LDAP           : on
        LOGIO          : on
        LOG_DEBUG      : on
        LOG_FORENSIC   : on
        LUA            : off
        LUAJIT         : off
        MACRO          : on
        MD             : on
        MIME           : on
        MIME_MAGIC     : on
        MPM_EVENT      : off
        MPM_PREFORK    : on
        MPM_SHARED     : on
        MPM_WORKER     : off
        NEGOTIATION    : on
        OPTIONAL_FN_EXPORT: off        OPTIONAL_FN_IMPORT: off
        OPTIONAL_HOOK_EXPORT: off
        OPTIONAL_HOOK_IMPORT: off
        PROXY          : on
        PROXY_AJP      : on
        PROXY_BALANCER : on
        PROXY_CONNECT  : on
        PROXY_EXPRESS  : on
        PROXY_FCGI     : on
        PROXY_FDPASS   : on
        PROXY_FTP      : on
        PROXY_HCHECK   : on
        PROXY_HTML     : on
        PROXY_HTTP     : on
        PROXY_HTTP2    : on
        PROXY_SCGI     : on
        PROXY_UWSGI    : on
        PROXY_WSTUNNEL : on
        RATELIMIT      : on
        REFLECTOR      : on
        REMOTEIP       : on
        REQTIMEOUT     : on
        REQUEST        : on
        REWRITE        : on
        SED            : on
        SESSION        : on
        SESSION_COOKIE : on
        SESSION_CRYPTO : on
        SESSION_DBD    : on
        SETENVIF       : on
        SLOTMEM_PLAIN  : on
        SLOTMEM_SHM    : on
        SOCACHE_DBM    : on
        SOCACHE_DC     : off
        SOCACHE_MEMCACHE: on
        SOCACHE_REDIS  : off
        SOCACHE_SHMCB  : on
        SPELING        : on
        SSL            : on
        STATUS         : on
        SUBSTITUTE     : on
        SUEXEC         : off
        SUEXEC_SYSLOG  : off
        UNIQUE_ID      : on
        USERDIR        : on
        USERTRACK      : on
        VERSION        : on
        VHOST_ALIAS    : on
        WATCHDOG       : on
        XML2ENC        : onShared Libs required:
        libcurl.so.4
        libpcre.so.1
        libnghttp2.so.14
        libgdbm.so.6
        libldap-2.4.so.2
        libexpat.so.1
        libaprutil-1.so.0
        libapr-1.so.0
        liblber-2.4.so.2
        libdb-5.3.so.0
        libxml2.so.2
        libjansson.so.4
Annotations    :
        FreeBSD_version: 1400023
        cpe            : cpe:2.3:a:apache:http_server:2.4.48:::::freebsd14:x64
Flat size      : 27.2MiB
Description    :
The Apache HTTP Server Project is an effort to develop and maintain an
open-source HTTP server for various modern desktop and server operating
systems, such as UNIX and Windows NT. The goal of this project is to
provide a secure, efficient and extensible server which provides HTTP
services in sync with the current HTTP standards.
The 2.x branch of Apache Web Server includes several improvements like
threading, use of APR, native IPv6 and SSL support, and many more.

WWW: https://httpd.apache.org/

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sat Jun 26 2021 - 14:46:11 UTC

Original text of this message