From owner-freebsd-ports@freebsd.org Fri Dec 16 01:43:15 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E74CFC828BA for ; Fri, 16 Dec 2016 01:43:15 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A43C31234; Fri, 16 Dec 2016 01:43:15 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id E9E4A2847E; Fri, 16 Dec 2016 02:43:12 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 43A3428417; Fri, 16 Dec 2016 02:43:12 +0100 (CET) To: FreeBSD Ports From: Miroslav Lachman <000.fbsd@quip.cz> Subject: sysutils/php56-fileinfo exit signal Segmentation fault Cc: Alex Dupre Message-ID: <585346AF.3080400@quip.cz> Date: Fri, 16 Dec 2016 02:43:11 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2016 01:43:16 -0000 I am running webmail Roundcube on many machines but on one machine file upload (attachment) doesn't work. I tracked it down to PHP extension fileinfo. Everytime I tried to upload a file I got this error in Apache error log: [Fri Dec 16 02:35:27.775113 2016] [core:notice] [pid 6883] AH00052: child pid 6890 exit signal Segmentation fault (11) Sometimes [Fri Dec 16 02:36:02.110390 2016] [core:notice] [pid 6883] AH00052: child pid 6998 exit signal Bus error (10) If fileinfo extension is disabled (removed ext-20-fileinfo.ini from /usr/local/etc/php/) upload works fine. I tried to change the order of extension but it doesn't change anything if it is last or second or anywhere in the middle of the list. I don't know what can be wrong on this machine because all machines have pkgs from the same poudriere repo. All are running Apache 2.4 and PHP 5.6. Does anybody have some idea how to solve this? (I cannot disable fileinfo because it is needed by other websites on this machine) Miroslav Lachman