-
Notifications
You must be signed in to change notification settings - Fork 425
chore: upgrade to Go 1.25 #1811
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
|
Looks like go 1.25 will now report leaks in C on program exit see here. This probably will also pick up interned strings where leaking is intentional. |
|
Couldn't we free them on shutdown? |
|
We can probably free those we set ourselves (all |
|
Seems like only disabling end-of-process leak detection will make ASAN not fail ( Since the PHP main thread is meant as one-instance-per-process, there seems to be a lot of memory that is not explicitly freed at shutdown. Which is understandable since it's inefficient to free everything at the end of the process if the OS will do it for you anyways. |
* chore: upgrade to Go 1.25 * free all interned strings (test) * Revert "free all interned strings (test)" This reverts commit 34823ba. * Another test. * Another test * ASAN_OPTIONS: detect_leaks=0 * Update sanitizers.yaml * Update sanitizers.yaml * Update sanitizers.yaml --------- Co-authored-by: Alliballibaba <alliballibaba@gmail.com>
See https://go.dev/doc/go1.25