-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Fix ASAN reported leak in FPM config test #10296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ba6987a
to
aaf388c
Compare
I should note that the fix is not verified because I had some issues to recreate it locally. Tried with various versions of Clang (10, 12, 13, 14) but no luck. I also tried with image built from this Dockerfile https://github.com/bukka/php-util/blob/00c90767f30bed9cb5c4757203dd8cb23db4e64d/docker/sanitize-ubuntu-22-04.dockerfile specially created for this purpose but running following was also fine (no error):
Not sure if I'm doing anything wrong so any help to get it failing locally would be appreciated. |
Would it help ? tried with clang 15 on debian unstable |
@devnexen Are you able to get it insider Docker? I would just need a way to reliable recreate but no idea why it doesn't work there... |
Otherwise if you have got some build instructions, that would be awesome too. |
Nothing particular
|
Don't you need to disable pcre-jit and some other bits...? Do you get the same for those options? |
I did not pass anymore configure options than those, wanted to have smallest reproductible build. |
Ok with those options I'm actually able to recreate it and can confirm that the fix actually fixes the issue. Thanks! I just see that I was actually trying to test MSAN which was fine. Must have somehow misread the pipeline config... |
Just a noted that I picked only 8.2+ just in case there are some strange scenarios when someone would expect no shutdown during the config test. Also the tests using config test are in 8.2 only. |
This is an attempt to fix https://github.com/php/php-src/actions/runs/3843039843/jobs/6544956534 including some failures for tests running under root.