From nobody Fri Nov 15 10:14:26 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XqXv42wGKz5cx09 for ; Fri, 15 Nov 2024 10:14:40 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XqXv4274Wz4NtK for ; Fri, 15 Nov 2024 10:14:40 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731665680; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mgGnXVxHfY115BGGa/dNjpKe7Eu+B5bwLAbbzEC53uU=; b=HIOV7Qzt63xF6M6K883uwR63b4j1BdkXBmb67g9xjC7rxPjzJMF/7BwUQDEF+ifCcJfqKp hA0I8Pw6vVGw5bRM3O8+IAEsXSPwHp1DANea8zDauzbTvV9kJKY6p0ozjgpAkRpACZH25e BLdpcK/cw4zIa1QHOc2albZqlDVW0Bgmb7rX3/LR+/wKgewAua7PDAYXuO/38qyB5s5I9w ynS9AZDp83CrpBp/8QuPvNPFAp1mJNH53vhENddzmiHsDjQQI7j9YGaToDiBFIfJiAG/Vz o8JpsPMcJQilUluuHSi8CDuZBtkfQtFZR7/Trow3B9ejFY+R9dNJdrMcKkOLZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731665680; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mgGnXVxHfY115BGGa/dNjpKe7Eu+B5bwLAbbzEC53uU=; b=XkrCTFqclJS8NwoxzD+V/vFI99WgrjXHshqBS+KdIsIBa7npX5rxyMom0r/LHQOURgeSyu 7AP8JPtpOVaxF1CIVo/sjUcy3C8fXyD36dsLbPQ+/2GxSKjQLYdbatsDipxR0sEXXRvvvG YpBXFbdflkilL+6BbTg2J8lvtqx2hKwtU45foebTAURQ+iOSN5qLfs29014IzaFxkwfr5D Xq+3SmLM915M+7JxzbOSHlo2xifbTPcSqUMLzbo1llBvdzKxHn85s2dje85GTh24kLPztf eRntuHCqCGp8xph+oTnLuQkSwLluUkB+N5+lSMKdFCHhz0Ll/7y76VEf3tjYEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731665680; a=rsa-sha256; cv=none; b=bTCUFSRZi4Z9CIrlI/RRDlJa7ph4iU+JIz84Qm4oWADuZn08/Fr0vWJ8GLeVjfWcN5aANq x8sNOnujdr1QqTjv87kIR1uTTpzjlVfkJ1BxOmhchp5Q/xLnVDNnmufgYkHA8w71Qz34h+ acO/N+zId/ubXFRqugdKw++YY4D7GmEEvonQ9/hFBCSG3hlCi9/zNXC3Wlx6NA3uLIgiuw t7fu8GZfzrF1EEtrtTw00zEigPrKnNsqEAksvRGnC0bxdcANsjbfUHx1y2doizmIbuQOAL J375U2T/ZRNhCLbEe0SyNh1V4JkJES3/AwJ9jasjXT5UgQKLTq79aK8Zig69dQ== Received: from mx.bofh.network (mx.bofh.network [5.9.249.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XqXv36XYfz1Nv1 for ; Fri, 15 Nov 2024 10:14:39 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple ( [217.117.226.147]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id 2445d946 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Fri, 15 Nov 2024 10:14:37 +0000 (UTC) From: Moin Rahman Content-Type: multipart/signed; boundary="Apple-Mail=_8C3795D1-30C3-4732-A58B-109CC1791B8E"; protocol="application/pgp-signature"; micalg=pgp-sha512 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.9\)) Subject: Re: Anybody seeing NextCloud crash? Date: Fri, 15 Nov 2024 11:14:26 +0100 References: To: FreeBSD Ports ML In-Reply-To: Message-Id: <734A07EA-44EB-4009-A7E9-082944CC1ABD@freebsd.org> X-Mailer: Apple Mail (2.3731.700.6.1.9) --Apple-Mail=_8C3795D1-30C3-4732-A58B-109CC1791B8E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Nov 14, 2024, at 13:29, Ronald Klop wrote: >=20 > Op 04-11-2024 om 05:39 schreef Kevin P. Neal: >> I'm seeing a problem with NextCloud's php-fpm instance crashes when = trying >> to handle a request over the web interface. My web server is Apache = 2.4 >> if it matters. The MacOS desktop sync client works just fine, and so = does >> the app from iOS 16 (I have an iPhone 8 that I'm upgrading soon). >> Apache responds with a "Service Unavailable" error page. >> In my /var/log/php-fpm.log I find this: >> [03-Nov-2024 11:06:45] WARNING: [pool www] child 68236 exited on = signal 4 (SIGILL) after 5.975134 seconds from start >=20 >=20 > SIGILL means that an instruction was executed that was not understood = by the CPU. > This can be something like the software using SSE2 instructions and = your CPU does not support that. >=20 > I'm not sure if there are other reasons for SIGILL. >=20 > It helps if you could share what FreeBSD version your are running and = on what architecture. >=20 > The output of 'uname -a' gives this. >=20 > /var/run/dmesg.boot gives information about your CPU. This helps in = determining the supported instructions. > Mine gives this: > CPU: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (2400.14-MHz K8-class = CPU) > Origin=3D"GenuineIntel" Id=3D0x406e3 Family=3D0x6 Model=3D0x4e = Stepping=3D3 > = Features=3D0x1783fbff > = Features2=3D0xdeda2203 > AMD Features=3D0x28100800 > AMD Features2=3D0x121 > Structured Extended = Features=3D0x842421 > Structured Extended Features3=3D0x10000400 > TSC: P-state invariant >=20 > If php-fpm gives a core dump it is also possible to analyze on what = instruction it is failing. I don't know the command on how to do that by = the top of my head. Maybe somebody else can help. >=20 > If you can find out what package update resulted in the crash then you = could ask the package maintainer to compile it for older CPUs by = default. >=20 > Regards, > Ronald. >=20 >=20 >=20 >=20 >> Every time I tried to reload a page on the web site I get a failure = like >> that one. The php-fpm processes are dying. >> I use the checkrestart package after every pkg upgrade and I restart >> anything that gets mentioned. This handy utility isn't foolproof, but >> I've had good luck with it. >> Reinstalling all my packages with pkg upgrade -f changed nothing. >> I rolled back my ZFS dataset to October 30's, rebooted (needed, don't = know >> why), and I have it back up and running now. >> I did "service php_fpm restart" after the bad update, but I forgot to = check >> that everything was still working. That's why I had to rollback so = far -- >> I have SMS messages on my phone that imply it was working on that = date. >> The problem was introduced with one of these updates: >> The following 11 package(s) will be affected (of 0 checked): >> New packages to be INSTALLED: >> openh264: 2.3.0,2 >> openjph: 0.17.0 >> Installed packages to be UPGRADED: >> ffmpeg: 6.1.2_4,1 -> 6.1.2_5,1 >> glib: 2.80.5,2 -> 2.80.5_1,2 >> libheif: 1.18.2_1 -> 1.19.1 >> libnghttp2: 1.63.0 -> 1.64.0 >> libssh2: 1.11.0_1,3 -> 1.11.1,3 >> libvpx: 1.14.1 -> 1.15.0 >> pciids: 20240920 -> 20241024 >> py311-redis: 5.1.1 -> 5.2.0 >> svt-av1: 2.2.0 -> 2.3.0 >> Number of packages to be installed: 2 >> Number of packages to be upgraded: 9 >> I do have my own poudriere setup, but I don't think I have any custom >> settings at this point. I can doublecheck if anyone is curious, = though. >> Anyone else seen this? Or should I file a bug report? >=20 >=20 Just for everyone else in the list, I have gone through some discussion with the original author of the mail and it seems to have some sort of regression with graphics/pecl-imagick. Whenever this php module is loaded php-fpm crashes on at least php82 and maybe later. This module actually may not support php82 and later. Or maybe there was some sort of new regression with some other commits down the line of ImageMagic. Kind regards, Moin --Apple-Mail=_8C3795D1-30C3-4732-A58B-109CC1791B8E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmc3HwJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJG04Q//dy/KGsMOTeCxpJHGmfb3BeBFts4nIzueJ9g3ujyqOljetYE+VJAcfjyi TDB7pvzjR1/eB8naUrtFNZv5P9Y9M8bhPKtigoIx61EzsPo58XnbXx6Wi59IDKea dsIjRR++reO3bCZ9/hjcJOTq1yXIEKaXy3DeF32wYIkVqGV5jXKuZxLSr0O7jNLd fAzi4rezkmYrpKhMWX+Zhne2bchafGW9WOWpYcimtGfIFn1Z7FqYxYeL4HJm9Qfs EiPsn8VoydO/MLfBkpoJImYOysVVqcFPNWxdQ/QwstfjwYOtTkuHN5Eo9tZfokeb 1s7WZU/0jxoLH4bQR6CkJEaJUEFJeHN2gVPNYX1XhehyPADRGS1SVujEo9u+4dxh CFjbM6M54GtIvDg4C2PhftEQuozVYCyrEgPsOJW5U3VMXb78k3h20EeDksE1AoRA mTf11CM7LA3MzxBYixF219dLe1M28iPWX4JgmD8HdVqOPssGxyZcvPJMDtFn6yG4 LLFpFLRnhN0Ekm2ZJ7qx+R28Bwj5NnBe/IJDFVVEmORcuPhE6YbmaX2unaKMyCoN HC4F4FwaJ7hiIJJyKv3cwu7rh28OEwjyowA7f1FXv66yXPJJteuRrTsIWEGVrZR8 6GlQNoMdrW++LjDHNgwN2tFPh45XQqsw/Pp7xodNjG/O8FBY2A8= =azK8 -----END PGP SIGNATURE----- --Apple-Mail=_8C3795D1-30C3-4732-A58B-109CC1791B8E--