-
Notifications
You must be signed in to change notification settings - Fork 33
Description
I have successfully integrated Salience vendor shared library for analyzing text version 6.1. Due to deprecation the version, I'm trying to upgrade up to the latest version, but got an error for FFI::load the header of this library and immidiately abort
free(): invalid pointer
Meanwhile the latest version of the library successfully work with C written scripts, SDK Python and Java wrappers.
I suspect the issue is caused by FFI during the loading library. I've glanced a source code of php-ffi, but didn't see a way to grab some logs or additional infomation. Not sure I can find a way to debug the issue.
Also have tried to write a simple wrapper as a shared library as well, but got an error, that function from the original library cannot be loaded due to not loaded original shared library.
Can you please suggest a way to get more information about issue and the possible way to get around the issue?
Unforuneatelly support doesn't support any other excepting C,Python,Java.
PHP versions: 7.4.24, 8.0.12