Re: Issue with php81-extensions and aslr

From: Greg Balfour <greg.bal4_at_gmail.com>
Date: Thu, 16 Jun 2022 04:23:44 UTC
On Wed, Jun 15, 2022 at 1:22 PM Dimitry Andric <dim@freebsd.org> wrote:
>
> On 5 Jun 2022, at 17:08, Greg Balfour <greg.bal4@gmail.com> wrote:
> >
> > Running 13.1-RELEASE with everything installed from packages and aslr
> > enabled, apache24 will core dump on a graceful restart after installing
> > php81-extensions.
> >
> > Start with apache24, php81 and mod_php81 installed
> > /usr/local/etc/rc.d/apache24 start
> > apache is running
> > /usr/local/etc/rc.d/apache24 graceful
> > apache is still running
> >
> > Then install php81-extensions:
> >
> > /usr/local/etc/rc.d/apache24 stop
> > pkg install php81-extensions
> > /usr/local/etc/rc.d/apache24 start
> > apache is running
> > /usr/local/etc/rc.d/apache24 graceful
> > kernel: pid 2122 (httpd), jid 0, uid 0: exited on signal 11 (core dumped)
>
> Since php81-extensions is a meta-port which installs quite a lot of extensions, can you attempt to narrow it down to one of the following?
>
> php81-ctype-8.1.7
> php81-dom-8.1.7
> php81-filter-8.1.7
> php81-iconv-8.1.7
> php81-opcache-8.1.7
> php81-pdo-8.1.7
> php81-pdo_sqlite-8.1.7
> php81-phar-8.1.7
> php81-posix-8.1.7
> php81-session-8.1.7
> php81-simplexml-8.1.7
> php81-sqlite3-8.1.7
> php81-tokenizer-8.1.7
> php81-xml-8.1.7
> php81-xmlreader-8.1.7
> php81-xmlwriter-8.1.7
>
> -Dimitry

I tried each one individually andi it's only php81-opcache-8.1.7 that
causes the problem.