From owner-freebsd-bugs@freebsd.org Tue Feb 11 15:39:00 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4615B23913D for ; Tue, 11 Feb 2020 15:39:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48H6Pw1D1mz49RZ for ; Tue, 11 Feb 2020 15:39:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 29BDD23913B; Tue, 11 Feb 2020 15:39:00 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2982A23913A for ; Tue, 11 Feb 2020 15:39:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48H6Pw0P1wz49RX for ; Tue, 11 Feb 2020 15:39:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 04748A403 for ; Tue, 11 Feb 2020 15:39:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01BFcxPR027088 for ; Tue, 11 Feb 2020 15:38:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01BFcxxi027087 for bugs@FreeBSD.org; Tue, 11 Feb 2020 15:38:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 244049] php 7.3.14 crashes under ASLR enabled, on FreeBSD 12.1 Date: Tue, 11 Feb 2020 15:38:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ozgur@kazancci.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2020 15:39:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244049 Bug ID: 244049 Summary: php 7.3.14 crashes under ASLR enabled, on FreeBSD 12.1 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Keywords: crash Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ozgur@kazancci.com CC: bugs@FreeBSD.org Created attachment 211564 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211564&action= =3Dedit truss trace dump of the command When I execute: /usr/local/bin/php -q /var/www/mysite/whmcs/crons/cron.php, PHP crashes giving: Segmentation Fault (Core Dumped) However, under /etc/sysctl.conf when I remove/disable the following lines related to ASLR (they were activated/added by me): kern.elf64.aslr.pie_enable=3D1 kern.elf64.aslr.honor_sbrk=3D0 kern.elf64.aslr.enable=3D1 kern.elf32.aslr.pie_enable=3D1 kern.elf32.aslr.honor_sbrk=3D0 kern.elf32.aslr.enable=3D1 PHP executes the cron.php script fine without crashing. OS: FreeBSD 12.1, latest stable branch. PHP version: 7.3.14 Thank you, Regards. --=20 You are receiving this mail because: You are on the CC list for the bug.=