Re: Apache segmentation fault when loading libphp7.so

"Christoph M. Becker" <[email protected]> Tue, 11 Aug 2020 15:09:53 +0200
Newsgroups gmane.comp.php.install
Message-ID <[email protected]>
On 11.08.2020 at 12:21, Kai F=C3=BCrstenberg wrote:

> Hello,
>
> I run a server with Debian Buster. I used to compile some of the needed
> programs, so that I am able to use more recent versions than provided by
> my distribution. Two of these are PHP and Apache httpd.
>
> Now I have updated my httpd to version 2.4.46 and wanted to update PHP
> from 7.2.9 to 7.4.9.
>
> Unfortunately httpd dies with segmentation fault, so I reinstalled 7.2.9
> again, which works good.
> (gdb) bt
> #0  resolve_base64_decode () at
> /usr/src/apache_testing/php-7.4.9/Zend/zend_cpuinfo.h:141
> #1  0xb7f82aa2 in elf_machine_rel (skip_ifunc=3D<optimized out>,
> reloc_addr_arg=3D<optimized out>, version=3D<optimized out>, sym=3D<opti=
mized
> out>, reloc=3D0xb76a44f8, map=3D0x230d420) at ../sysdeps/i386/dl-machine=
.h:353
> #2  elf_dynamic_do_Rel (skip_ifunc=3D<optimized out>, lazy=3D<optimized
> out>, nrelative=3D<optimized out>, relsize=3D<optimized out>,
> reladdr=3D<optimized out>, map=3D<optimized out>) at do-rel.h:137
> #3  _dl_relocate_object (scope=3D<optimized out>, reloc_mode=3D<optimize=
d
> out>, consider_profiling=3D<optimized out>) at dl-reloc.c:258
> #4  0xb7f89efa in dl_open_worker (a=3D<optimized out>) at dl-open.c:377

You may be hitting <https://bugs.php.net/78228> or something related to
the dynamic resolution of base64_decode (introduced as of PHP 7.3.0).

=2D-
Christoph M. Becker