ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder

segmentation fault

Author Message
bogel



Joined: 04 Dec 2020
Posts: 1

PostPosted: Fri Dec 04, 2020 11:47 am    Post subject: segmentation fault Reply with quote

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:3Cool ( 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:3Cool ( 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
Back to top
View user's profile Send private message
alastair



Joined: 23 Feb 2010
Posts: 405

PostPosted: Fri Dec 04, 2020 4:20 pm    Post subject: Reply with quote

Hi,

It is best top raise such issues in our Support Help Desk at https://support.ioncube.com
Please note though that the ionCube Loader will not work with a debug build of PHP.

When creating your ticket please attach the following to the ticket:

1. The full phpinfo output as a single text file.

2. The actual loader file you have at /root/bin/php-latest/lib/php/extensions/debug-zts-20190902/ioncube_loader_lin_7.4_ts.so
_________________
Alastair

ionCube
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum