Re: Apache segmentation fault when loading libphp7.so
Kai Fürstenberg <[email protected]> Tue, 11 Aug 2020 15:19:36 +0200
| Newsgroups | gmane.comp.php.install |
|---|---|
| Message-ID | <[email protected]> |
Am 11.08.2020 um 15:09 schrieb Christoph M. Becker: > On 11.08.2020 at 12:21, Kai F=C3=BCrstenberg wrote: >=20 >> Hello, >> >> I run a server with Debian Buster. I used to compile some of the neede= d >> 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= =2E9 >> 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<op= timized >> out>, reloc=3D0xb76a44f8, map=3D0x230d420) at ../sysdeps/i386/dl-machi= ne.h:353 >> #2 elf_dynamic_do_Rel (skip_ifunc=3D<optimized out>, lazy=3D<optimize= d >> 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<optimi= zed >> 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:37= 7 >=20 > 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). no,... this works well: root@xserv01:~# nano /root/test.php (exactly the code mentioned in the bug report) root@xserv01:~# /usr/local/php-test/bin/php /root/test.php NTY0ZGFjZTAtMzkxYy00MmI2LWQwOTgtNWI3NzQyY2IxOWVl --=20 Kai