Date: Wed, 30 Jun 2021 20:31:22 +0200 From: Michael Gmelin <freebsd@grem.de> To: "O. Hartmann" <ohartmann@walstatt.org> Cc: Michael Gmelin <freebsd@grem.de>, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: 14-CURRENT: www/nextcloud: php occ/web access : Segmentation fault Message-ID: <20210630203122.45a451e9@bsd64.grem.de> In-Reply-To: <20210630200610.23ae9e5c@thor.intern.walstatt.dynvpn.de> References: <20210628223951.12230942@thor.intern.walstatt.dynvpn.de> <E4291D3E-460E-4C95-9A10-30C5E4B59B4A@grem.de> <20210630200610.23ae9e5c@thor.intern.walstatt.dynvpn.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Jun 2021 20:05:43 +0200 "O. Hartmann" <ohartmann@walstatt.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 >=20 > Am Mon, 28 Jun 2021 23:34:44 +0200 > Michael Gmelin <freebsd@grem.de> schrieb: >=20 > > > On 28. Jun 2021, at 22:41, O. Hartmann <ohartmann@walstatt.org> > > > wrote: > > >=20 > > > =EF=BB=BF-----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA512 > > >=20 > > >=20 > > > Hello, > > >=20 > > > we ran into serious trouble here with an www/nextcloud > > > installation on a recent 14-CURRENT (FreeBSD 14.0-CURRENT #23 > > > main-n247612-e6dd0e2e8d4: Mon Jun 28 18:08:20 CEST 2021 amd64). > > > Ports tree is up to date and ports are built via traditional > > > "make". Port www/nextcloud, all mod_ ports and even every php-* > > > port (php74 is installed and default) has been recompiled within > > > the last two weeks via "portmaster -f". > > >=20 > > > The phenomenon occured back a couple of weeks, when access from > > > the web via cjromoum and/or firefox reported out of the sudden > > > "Secure Connection Failed". I checked the Apache 2.4 server's > > > certificate (self signed,never had been an issue so far), but > > > there seems no issue to exist. It got very strange when I tried > > > to perfom an upgrade and/or check via > > >=20 > > > cd /usr/local/www/nextcloud > > > su -m -c "/usr/local/bin/php ./occ upgrade" > > >=20 > > > Whenever I access occ, I receive an @"Segmentation fault". > > > The I checked the server's error log and I found for each access > > > of the nextcloud instance an entry like > > >=20 > > > [Tue Jun 01 06:04:40.667026 2021] [core:notice] [pid 81123:tid > > > 34374492160] AH00052: child pid 24598 exit signal Segmentation > > > fault (11) > > >=20 > > > Well, I'm out of ideas, it seems nextcloud, php or apache ar all > > > in combination do have a serious problem hard to come by with > > > 14-CURRENT (another instance running on 12.2-RELENG doesn't have > > > any issues). > > >=20 > > > Can someone hint me to what to do track this nasty error? > > >=20 > > > Thanks in advance, > > > =20 > >=20 > > Do you have a minimal setup to reproduce? Could you try building > > all ports against OpenSSL from ports? > >=20 > > -m > >=20 > >=20 > > =20 > > > oh > > >=20 > > > - --=20 > > > O. Hartmann > > >=20 > > > Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3= =BCr > > > Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 2= 8 Abs. > > > 4 BDSG). -----BEGIN PGP SIGNATURE----- > > >=20 > > > iHUEARYKAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCYNozlwAKCRA4N1ZZPba5 > > > Rx2nAPwNf9014LCwIKdjN1lxdiESP0daa97tqvFsZiOM8OgpmAD+M6pmqlCVG6TE > > > HyuCprAwjwvP9zxov3BDaVmJRI3ZpAw=3D > > > =3Dz4d+ > > > -----END PGP SIGNATURE----- =20 > >=20 > > =20 >=20 > I had already filed a PR regarding this probleme, here is the link: >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256844 >=20 > Building all ports against OpenSSL from ports would exceed the > capabilities of my hosts, the box in question is under load and an > older Ivy-Bridge XEON with limited speed, so that would take days. I > hoped the problem could be isolated otherwise ... I found this issue on the nextcloud issue tracker: https://github.com/nextcloud/server/issues/25761 Based on that, you should enable apcu for php CLI by adding this to your php.ini: apc.enable_cli=3D1 which should fix `occ upgrade'. No idea if it works, but it sounds similar enough to give it a shot. Cheers Michael p.s. see also https://www.php.net/manual/en/apcu.configuration.php > - --=20 > O. Hartmann >=20 > Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr > Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Ab= s. 4 > BDSG). -----BEGIN PGP SIGNATURE----- >=20 > iHUEARYKAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCYNyykgAKCRA4N1ZZPba5 > R68PAPwIioYhbPZ4DXLbJXKsWuAYUr9oZRgwMiTqhpqqwBIwCgEAwmcxE/ZpQ3Og > 0mXO2DBqBNv+RAFQ7U/3qSnOlKeAdgQ=3D > =3D0VYB > -----END PGP SIGNATURE----- --=20 Michael Gmelin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210630203122.45a451e9>