-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[skip ci] Mark test as XFAIL due to LSAN bug on Clang 14 #12018
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
sapi/cli/tests/ext_loading.phpt
Outdated
@@ -7,6 +7,8 @@ if (!file_exists($extDir . '/opcache.so') && !file_exists($extDir . '/php_opcach | |||
die('skip Opcache shared object not found in extension_dir'); | |||
} | |||
?> | |||
--XFAIL-- | |||
LSAN bug on Clang 14 marks this as leaking |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move this to skipif and only xfail if we're actually using asan.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
sapi/cli/tests/ext_loading.phpt
Outdated
@@ -7,6 +7,8 @@ if (!file_exists($extDir . '/opcache.so') && !file_exists($extDir . '/php_opcach | |||
die('skip Opcache shared object not found in extension_dir'); | |||
} | |||
?> | |||
--SKIPIF-- | |||
<?php if (getenv('SKIP_ASAN')) die('xfail LSAN bug on Clang 14 marks this as leaking'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, and also, it doesn't report a leak, it crashes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, and also use xleak please 😄 Sorry for the fragmented comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, also we have trailing whitespaces in the test output so... changed that too
Change formatting of output to not have trailing whitespaces
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good if tests pass. It would be nice if LSan wasn't crashing, but I don't have a solution...
Yeah that would be ideal :[ |
Can be reverted in #12034 😄 (or the skipif removed rather) |
This is due to apparently some combination of glibc and Clang 14 which we are unfortunately hitting
This is due to apparently some combination of glibc and Clang 14 which we are unfortunately hitting
No description provided.