Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2020 15:38:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 244049] php 7.3.14 crashes under ASLR enabled, on FreeBSD 12.1
Message-ID:  <bug-244049-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244049-227>