bogel
Joined: 04 Dec 2020 Posts: 1
|
Posted: Fri Dec 04, 2020 11:47 am Post subject: segmentation fault |
|
|
Hello. I got the following error with ioncube encoder:
Dec 4 12:43:11 debian kernel: [5007218.763421] php[21147]: segfault at 70 ip 00007fefefb18665 sp 00007fefef147a70 error 4
Dec 4 12:43:11 debian kernel: [5007218.763429] Code: 48 89 4c 24 10 48 89 44 24 20 74 27 e8 1c 7e fa ff 48 63 15 4d e0 1d 00 48 8b 00 48 8b 44 d0 f8 48 63 d5 48 8b 80 d0 00 00 00 <48> 8b 14 d0 48 89 54 24 18 f6 43 2b 01 0f 84 c8 00 00 00 48 83 7b
compiled php 7.4.11 with above. local test with debug enable is working (PHP 7.4.11-dev (cli) (built: Nov 13 2020 13:06:3 ( ZTS DEBUG )
).
if i compile without debug enable (PHP 7.4.11-dev (cli) (built: Dec 4 2020 12:39:15) ( ZTS ) there is no ioncubeloader available (not found). Any solution ?
PHP Warning: Failed loading Zend extension 'ioncube_loader_lin_7.4_ts.so' (tried: /root/bin/php-latest/lib/php/extensions/debug-zts-20190902/ioncube_loader_lin_7.4_ts.so (/root/bin/php-latest/lib/php/extensions/debug-zts-20190902/ioncube_loader_lin_7.4_ts.so: undefined symbol: _emalloc_24), /root/bin/php-latest/lib/php/extensions/debug-zts-20190902/ioncube_loader_lin_7.4_ts.so.so (/root/bin/php-latest/lib/php/extensions/debug-zts-20190902/ioncube_loader_lin_7.4_ts.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Warning: Failed loading Zend extension 'ioncube_loader_lin_7.4_ts.so' (tried: /root/bin/php-latest/lib/php/extensions/debug-zts-20190902/ioncube_loader_lin_7.4_ts.so (/root/bin/php-latest/lib/php/extensions/debug-zts-20190902/ioncube_loader_lin_7.4_ts.so: undefined symbol: _emalloc_24), /root/bin/php-latest/lib/php/extensions/debug-zts-20190902/ioncube_loader_lin_7.4_ts.so.so (/root/bin/php-latest/lib/php/extensions/debug-zts-20190902/ioncube_loader_lin_7.4_ts.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 7.4.11-dev (cli) (built: Nov 13 2020 13:06:3 ( ZTS DEBUG )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.11-dev, Copyright (c), by Zend Technologies
./buildconf --force
./configure --prefix=$HOME/bin/php-latest \
--enable-sockets \
--enable-json \
--enable-opcache \
--enable-cli \
--enable-maintainer-zts \
--with-config-file-path=$HOME/bin/php-latest/cli \
--with-config-file-scan-dir=$HOME/bin/php-latest/etc \
--with-pdo-mysql \
--with-openssl \
--with-fpm-user=www-data \
--with-fpm-group=www-data
cd parallel
/root/bin/phpize
./configure --enable-parallel --with-php-config=$HOME/bin/php-config
php.ini:
zend_extension=ioncube_loader_lin_7.4_ts.so
extension=parallel.so
zend_extension=opcache.so |
|