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
XFAIL payload_test.phpt when run with ASan #6966
Conversation
The test leaks memory for yet unknown reasons. Maybe these are caused by a incomplete payload. For no we mark the test as xfail, to avoid failing CI for the nightly runs.
Output with debug symbols if it helps: https://gist.github.com/nikic/3c058e3fbe90e4c4eb82f9cc494f502f |
It looks like the same leaks occur on all firebird tests, we just don't currently run them in CI. |
Ah! Then I'll have a closer look later. Thanks for the debug output! |
Indeed, I can reproduce the leaks with a minimal |
Thanks for looking into it. I think in that case we might be best off with adding a suppression for isc_attach_database to https://github.com/php/php-src/blob/master/azure/lsan-suppressions.txt. Otherwise we'd have to skip all firebird tests under asan, which is not ideal. |
I've pushed that, but locally I still get something like:
|
That's unfortunate :( We'd have to use So I think the best thing we can do is disable leak checking (while still running asan) using:
|
ACK |
The test leaks memory for yet unknown reasons. Maybe these are caused
by a incomplete payload. For no we mark the test as xfail, to avoid
failing CI for the nightly runs.
I'm not able to reproduce the leak on Windows (while there is ASan support, there is no support for LSan yet). I can reproduce in a Ubuntu VM, but I'm not able to get debug symbols (version mismatch of latest packages), so this is the best I can come up with for now.