Skip to content
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

ASAN: Disable memory leak detection by default. v7.0.8 #4154

Merged
merged 3 commits into from
Aug 22, 2024

Conversation

winlinvip
Copy link
Member

By setting the env ASAN_OPTIONS=halt_on_error=0, we can ignore memory leaks, see https://github.com/google/sanitizers/wiki/AddressSanitizerFlags

By setting env ASAN_OPTIONS=detect_leaks=0, we can disable memory leaking detection in parent process when forking for daemon.

@winlinvip winlinvip linked an issue Aug 22, 2024 that may be closed by this pull request
@winlinvip winlinvip changed the title ASAN: Disalbe memory leak detection by default. ASAN: Disabbe memory leak detection by default. Aug 22, 2024
@winlinvip winlinvip changed the title ASAN: Disabbe memory leak detection by default. ASAN: Disable memory leak detection by default. Aug 22, 2024
@winlinvip winlinvip changed the title ASAN: Disable memory leak detection by default. ASAN: Disable memory leak detection by default. v7.0.8 Aug 22, 2024
@winlinvip winlinvip added the RefinedByAI Refined by AI/GPT. label Aug 22, 2024
@winlinvip winlinvip merged commit d424850 into ossrs:develop Aug 22, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RefinedByAI Refined by AI/GPT.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERROR: LeakSanitizer: detected memory leaks for daemon
1 participant