Skip to content

debug LSAN failure #11986

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

Closed
wants to merge 4 commits into from
Closed

debug LSAN failure #11986

wants to merge 4 commits into from

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Aug 16, 2023

No description provided.

@Girgias Girgias force-pushed the debug-leaksanitizer branch from 0e9e36e to e0265d2 Compare August 16, 2023 08:16
@@ -33,14 +33,16 @@ runs:
export SKIP_IO_CAPTURE_TESTS=1
export TEST_PHP_JUNIT=junit.out.xml
export STACK_LIMIT_DEFAULTS_CHECK=1
export LSAN_OPTIONS=verbosity=1:log_threads=1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This variable is overwritten by run-tests, so you should extend it there.

@iluuu1994
Copy link
Member

CI uses Clang 14, I only have Clang 16. Maybe it's related to the older version.

@ju1ius
Copy link
Contributor

ju1ius commented Aug 18, 2023

@Girgias I may have found a lead: please read #11980 (comment).

@Girgias Girgias force-pushed the debug-leaksanitizer branch from e0265d2 to a7cc220 Compare August 21, 2023 12:49
@iluuu1994
Copy link
Member

@Girgias Btw you can stop investegating here. I've been looking into this and it seems to be an LSan bug. I've been trying to work around it with use_tls=0 but it's tough, because some external libs may still be using thread locals. #11995 I'm not sure what to do here atm.

@iluuu1994 iluuu1994 closed this Aug 22, 2023
@Girgias Girgias deleted the debug-leaksanitizer branch August 22, 2023 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants