You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
docker build -f Dockerfile-broken -t test . && docker run -it -v $PWD/script.php:/script.php test
While this is not:
docker build -f Dockerfile-working -t test . && docker run -it -v $PWD/script.php:/script.php test
The only difference is installing the opencensus PHP extension. The script.php doesn't use tracing at all, the only difference is installing the module.
Sidenote: In the original code it also made a difference weather i specified a third parameter for the results to preg_match. I wasn't able to create a simple case for that, but i guess the issue is in both cases the same.
After setting up opencensus-php for a project i noticed segfaults of a specific url.
After a bit of debugging it's seems to be partially related to call depth. I was able to reproduce this with a simple example:
https://github.com/foosinn/opencensus-segfault
This is throwing an segfault:
While this is not:
The only difference is installing the opencensus PHP extension. The
script.phpdoesn't use tracing at all, the only difference is installing the module.Sidenote: In the original code it also made a difference weather i specified a third parameter for the results to
preg_match. I wasn't able to create a simple case for that, but i guess the issue is in both cases the same.Thanks for your help!