mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
d1d2409fb5
With more recent version of ASAN, the updater program shows multiple leaks, for different reasons. One is that the updater code heavily relies on pointers into a large buffer, with exceptions, making things difficult to avoid leaks of those exceptions. At least it requires more effort than I'm willing to put for the sake of upgrading the compiler we use for ASAN. Another is that the leak suppressions are not currently used for xpcshell tests, and some leaks attributed to libglib, that would normally be suppressed, are not. Moreover, even if the suppressions were used, it looks like some are not rooted to already suppressed system libraries, and would require investigation. Ideally, we'd have debug symbols installed for the system libraries and would have full stack traces, but we don't, so this makes the whole process harder than necessary. All in all, the updater is a separate short-lived program, and until we can address all the problems above, we can just ignore memory leaks in it (which aren't new anyways and are ignored by not being detected by the ASAN currently used on automation). We don't disable ASAN entirely, though, only leak detection, and only for the updater program. |
||
---|---|---|
.. | ||
components | ||
content | ||
crashreporter | ||
forgetaboutsite | ||
identity | ||
library | ||
locales | ||
modules | ||
mozapps | ||
obsolete | ||
pluginproblem | ||
profile | ||
system | ||
themes | ||
xre | ||
.eslintrc | ||
moz.build | ||
moz.configure | ||
toolkit.mozbuild |