diff --git a/scripts/ci/leaksanitizer.conf b/scripts/ci/leaksanitizer.conf index 9f0e08c19..27c16d04a 100644 --- a/scripts/ci/leaksanitizer.conf +++ b/scripts/ci/leaksanitizer.conf @@ -6,3 +6,12 @@ # #1 0x7f7ae595d13e (/usr/lib/x86_64-linux-gnu/libtbb.so.2+0x2213e) leak:libtbb.so + +# The extract-tests leak some memory in the tests to confirm that +# lua errors print tracebacks. +# This appears to be because when these tests throw exceptions, the +# osmium objects being processed are not freed. In production this doesn't +# matter, as the exceptions bring down the entire osrm-extract process. In the +# tests, we catch the error to make sure it occurs, which is why the +# leaksanitizer flags it. +leak:extract-tests \ No newline at end of file