Open mersinvald opened 5 years ago
Could you show source xml request and response?
@therealartz can you show me how I can get those? I'm not a PHP developer, just trying to run the examples.
Actually your error looks like php error, not this library at all. And there missing strlen compiled files. I guess it's something wrong with your installation of php
@therealartz that is quite weird, as I tried different versions on different operation systems, as well as the other person I asked tried it on Windows with the same segmentation fault.
strlen files aren't missing, it's a libc function, there just isn't any debuginfo in the libc (which is normal with the release build of libc on any modern OS). Missing file isn't an execution error, it's the gdb
error, it says that it can't find debuginfo to show.
What this stacktrace actually says is that something is causing the misuse of php soap
plug-in, which, in turn, uses the strlen
function incorrectly, leading to a segmentation fault.
@mersinvald Did you try to run some example soap function directly to see if the issue is with library or with your php installation?
For me looks like an issue with PHP installation, as we are using this library for some time on dockerized containers and have no issues whatsoever.
Hello, I am trying to use this library and I have encountered a segfault originating in PHP Soap extension.
PHP Version: tried every version readily available in Ubuntu 18.04 repository, both 7. and 5.. OS: Mac OS & Ubuntu 18.04
Code snippet (basically the example from this repo):
GDB backtrace: