Re: Apache segmentation fault when loading libphp7.so

[email protected] (Kai Fürstenberg)
Newsgroups 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ürstenberg 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=<optimized out>,
>> reloc_addr_arg=<optimized out>, version=<optimized out>, sym=<optimized
>> out>, reloc=0xb76a44f8, map=0x230d420) at ../sysdeps/i386/dl-machine.h:353
>> #2  elf_dynamic_do_Rel (skip_ifunc=<optimized out>, lazy=<optimized
>> out>, nrelative=<optimized out>, relsize=<optimized out>,
>> reladdr=<optimized out>, map=<optimized out>) at do-rel.h:137
>> #3  _dl_relocate_object (scope=<optimized out>, reloc_mode=<optimized
>> out>, consider_profiling=<optimized out>) at dl-reloc.c:258
>> #4  0xb7f89efa in dl_open_worker (a=<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).

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


-- 
Kai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.