-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlsan.supp
More file actions
26 lines (23 loc) · 1.25 KB
/
lsan.supp
File metadata and controls
26 lines (23 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# LeakSanitizer suppressions
# Run: LSAN_OPTIONS=suppressions=lsan.supp:fast_unwind_on_malloc=0 ./build/asan/src/app/goggles
# SDL DBus integration
# libdbus allocates global state (connection pools, auth buffers) that requires
# dbus_shutdown() to free. SDL intentionally does NOT call dbus_shutdown() because
# other parts of the process may still be using dbus.
# Ref: https://github.com/libsdl-org/SDL/issues/8272
# https://github.com/libsdl-org/SDL/pull/12190
leak:SDL_DBus_Init
# SDL EGL/OpenGL initialization
# Mesa/EGL drivers allocate global dispatch tables and ICU converters via
# pthread_once() - one-time initializations that are never freed. No public API
# exists to clean up EGL global state; eglTerminate() doesn't free everything.
# Ref: https://github.com/libsdl-org/SDL/issues/10322
leak:SDL_EGL_LoadLibrary
# Slang compiler runtime
# Slang 2025.23.2 leaves process-global worker/TLS state behind after
# createGlobalSession(); LeakSanitizer reports these as leaks under ASan.
# The public cleanup entrypoint `slang_shutdown()` currently double-frees the
# same profiler state during process teardown in this environment, so suppress
# the known global allocations instead.
leak:slang_createGlobalSessionImpl
leak:PerformanceProfilerFuncRAIIContext