radianceteam / everscale-client-php-ext Goto Github PK
View Code? Open in Web Editor NEWPHP extension for TON-SDK Client
License: Apache License 2.0
PHP extension for TON-SDK Client
License: Apache License 2.0
https://github.com/radianceteam/ton-client-php/actions/runs/454418160
Original cause (probably): accessing already freed data pointer.
Possible solution: use integer request ids instead of data pointers + zend dictionary for requests + check if the request data exists (not freed) before trying to use it.
Indicator of success would be: absence of Segmentation faults in ton-client-php
tests.
$ sudo php installer.php -v 1.25.0 -o install.log -V
...
$ cat install.log
TON SDK 1.25.0 PHP EXTENSION INSTALLER
PHP version: 7.4.21
Download URL: https://github.com/radianceteam/ton-client-php-ext/archive/1.25.0.tar.gz
Version: 1.25.0
Windows OS:
Arch:
Output file: install.log
Extension directory: /usr/lib64/php/modules
PHP binary directory: /usr/bin
SDK directory: /usr/lib64/php/modules/ton-sdk
Temp directory: /tmp/ton_client_php_ext.1636721364.tmp
INI file: /etc/php.ini
INI dir: /etc/php.d
Thread safety: false
Skip download: false
Skip cleanup: false
Skip unpack: false
Skip INI: false
Skip backup: false
Skip build: false
Force install: false
Silent: false
Verbose: true
Test: false
Debug: false
No extension previously installed
Installing new version: 1.25.0
phpize command exists: OK
PHP version 7.4.21 >= 7.4: OK
OpenSSL extension is enabled.
Directory /usr/lib64/php/modules is writable: OK
Directory /usr/bin is writable: OK
Downloading https://github.com/radianceteam/ton-client-php-ext/archive/1.25.0.tar.gz...
Downloaded to /tmp/ton_client_php_ext.1636721364.tmp/1.25.0.tar.gz.
Unpacking and installing files...
Building PHP extension...
[ERROR] Cannot find TON Client PHP extension file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/modules/ton_client.so.
Removing tmp dir /tmp/ton_client_php_ext.1636721364.tmp.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/1.25.0.tar.gz.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/.github/workflows/release.yml.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/.gitignore.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/CMakeLists.txt.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/DEVELOPMENT.md.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/INSTALL.md.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/LICENSE.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/README.md.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/CMakeLists.txt.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/Makefile.fragments.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/Makefile.objects.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/autom4te.cache/output.0.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/autom4te.cache/requests.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/autom4te.cache/traces.0.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/build/Makefile.global.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/build/ax_check_compile_flag.m4.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/build/ax_gcc_func_attribute.m4.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/build/config.guess.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/build/config.sub.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/build/libtool.m4.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/build/ltmain.sh.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/build/php.m4.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/build/php_cxx_compile_stdcxx.m4.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/build/pkg.m4.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/build/shtool.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/config.h.in.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/config.log.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/config.m4.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/config.nice.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/config.w32.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/configure.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/configure.ac.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/debug.h.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/os.h.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/php_ton_client.h.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/rpa_queue.c.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/rpa_queue.h.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/run-tests.php.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build/ton_client.c.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build.bat.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/build.sh.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/cmake-modules/FindTON.cmake.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/bin/x64/pthreadVC2.dll.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/bin/x64/ton_client.dll.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/bin/x86/pthreadVC2.dll.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/bin/x86/ton_client.dll.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/include/pthread.h.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/include/sched.h.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/include/semaphore.h.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/include/tonclient.h.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/lib/x64/libton_client.dylib.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/lib/x64/libton_client.so.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/lib/x64/pthreadVC2.lib.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/lib/x64/ton_client.lib.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/lib/x86/pthreadVC2.lib.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/deps/lib/x86/ton_client.lib.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/images/win32-release-version.png.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/install-sdk.sh.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/installer.php.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/platform.bat.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/src/CMakeLists.txt.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/src/config.m4.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/src/config.w32.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/src/debug.h.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/src/os.h.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/src/php_ton_client.h.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/src/rpa_queue.c.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/src/rpa_queue.h.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/src/ton_client.c.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/tests/001.phpt.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/tests/002.phpt.
Removing file /tmp/ton_client_php_ext.1636721364.tmp/ton-client-php-ext-1.25.0/tests/003.phpt.
TON SDK 1.25.0 PHP EXTENSION INSTALLER
PHP version: 7.4.21
Download URL: https://github.com/radianceteam/ton-client-php-ext/archive/1.25.0.tar.gz
Version: 1.25.0
Windows OS:
Arch:
Output file: install.log
Extension directory: /usr/lib64/php/modules
PHP binary directory: /usr/bin
SDK directory: /usr/lib64/php/modules/ton-sdk
Temp directory: /tmp/ton_client_php_ext.1636721916.tmp
INI file: /etc/php.ini
INI dir: /etc/php.d
Thread safety: false
Skip download: false
Skip cleanup: false
Skip unpack: false
Skip INI: false
Skip backup: false
Skip build: false
Force install: false
Silent: false
Verbose: true
Test: false
Debug: false
No extension previously installed
Installing new version: 1.25.0
phpize command exists: OK
PHP version 7.4.21 >= 7.4: OK
OpenSSL extension is enabled.
Directory /usr/lib64/php/modules is writable: OK
Directory /usr/bin is writable: OK
Downloading https://github.com/radianceteam/ton-client-php-ext/archive/1.25.0.tar.gz...
Downloaded to /tmp/ton_client_php_ext.1636721916.tmp/1.25.0.tar.gz.
Unpacking and installing files...
Building PHP extension...
[ERROR] Cannot find TON Client PHP extension file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/modules/ton_client.so.
Removing tmp dir /tmp/ton_client_php_ext.1636721916.tmp.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/1.25.0.tar.gz.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/.github/workflows/release.yml.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/.gitignore.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/CMakeLists.txt.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/DEVELOPMENT.md.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/INSTALL.md.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/LICENSE.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/README.md.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/CMakeLists.txt.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/Makefile.fragments.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/Makefile.objects.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/autom4te.cache/output.0.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/autom4te.cache/requests.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/autom4te.cache/traces.0.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/build/Makefile.global.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/build/ax_check_compile_flag.m4.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/build/ax_gcc_func_attribute.m4.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/build/config.guess.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/build/config.sub.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/build/libtool.m4.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/build/ltmain.sh.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/build/php.m4.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/build/php_cxx_compile_stdcxx.m4.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/build/pkg.m4.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/build/shtool.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/config.h.in.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/config.log.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/config.m4.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/config.nice.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/config.w32.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/configure.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/configure.ac.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/debug.h.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/os.h.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/php_ton_client.h.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/rpa_queue.c.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/rpa_queue.h.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/run-tests.php.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build/ton_client.c.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build.bat.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/build.sh.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/cmake-modules/FindTON.cmake.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/bin/x64/pthreadVC2.dll.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/bin/x64/ton_client.dll.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/bin/x86/pthreadVC2.dll.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/bin/x86/ton_client.dll.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/include/pthread.h.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/include/sched.h.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/include/semaphore.h.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/include/tonclient.h.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/lib/x64/libton_client.dylib.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/lib/x64/libton_client.so.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/lib/x64/pthreadVC2.lib.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/lib/x64/ton_client.lib.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/lib/x86/pthreadVC2.lib.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/deps/lib/x86/ton_client.lib.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/images/win32-release-version.png.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/install-sdk.sh.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/installer.php.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/platform.bat.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/src/CMakeLists.txt.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/src/config.m4.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/src/config.w32.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/src/debug.h.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/src/os.h.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/src/php_ton_client.h.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/src/rpa_queue.c.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/src/rpa_queue.h.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/src/ton_client.c.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/tests/001.phpt.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/tests/002.phpt.
Removing file /tmp/ton_client_php_ext.1636721916.tmp/ton-client-php-ext-1.25.0/tests/003.phpt.
Build script + installer.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.