lsan_suppressions.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. ### !!! Please do not add suppressions for new leaks in Gecko code, unless they are intentional !!!
  2. ###
  3. ### Some of these leak in every test run.
  4. ###
  5. # LSan runs with a shallow stack depth and no debug symbols, so some small intentional
  6. # leaks in system libraries show up with this. You do not want this enabled
  7. # when running locally with a deep stack, as it can catch too much.
  8. leak:libc.so
  9. # nsComponentManagerImpl intentionally leaks factory entries, and probably some other stuff.
  10. leak:nsComponentManagerImpl
  11. # These two variants are needed when fast unwind is disabled and stack depth is limited.
  12. leak:mozJSComponentLoader::LoadModule
  13. leak:nsNativeModuleLoader::LoadModule
  14. # Bug 981220 - Pixman fails to free TLS memory.
  15. leak:pixman_implementation_lookup_composite
  16. # Bug 987918 - Font shutdown leaks when CLEANUP_MEMORY is not enabled.
  17. leak:libfontconfig.so
  18. leak:GI___strdup
  19. # The symbol is really __GI___strdup, but if you have the leading _, it doesn't suppress it.
  20. # Bug 1078015 - If the process terminates during a PR_Sleep, LSAN detects a leak
  21. leak:PR_Sleep
  22. ###
  23. ### Many leaks only affect some test suites. The suite annotations are not checked.
  24. ###
  25. # Bug 979928 - WebRTC leaks in different mochitest suites.
  26. leak:NR_reg_init
  27. # nr_reg_local_init should be redundant with NR_reg_init, but on Aurora
  28. # we get fewer stack frames for some reason.
  29. leak:nr_reg_local_init
  30. leak:r_log_register
  31. leak:nr_reg_set
  32. # This is a one-time leak in mochitest-bc, so it is probably okay to ignore.
  33. leak:GlobalPrinters::InitializeGlobalPrinters
  34. leak:nsPSPrinterList::GetPrinterList
  35. # Bug 1028456 - Various NSPR fd-related leaks in different mochitest suites.
  36. leak:_PR_Getfd
  37. # Bug 1028483 - The XML parser sometimes leaks an object. Mostly happens in toolkit/components/thumbnails.
  38. leak:processInternalEntity
  39. # Bug 1187421 - NSS does not always free the error stack in different mochitest suites.
  40. leak:nss_ClearErrorStack
  41. ###
  42. ### Leaks with system libraries in their stacks. These show up across a number of tests.
  43. ### Better symbols and disabling fast stackwalking may help diagnose these.
  44. ###
  45. leak:libcairo.so
  46. leak:libdl.so
  47. leak:libdricore.so
  48. leak:libdricore9.2.1.so
  49. leak:libGL.so
  50. leak:libglib-2.0.so
  51. leak:libglsl.so
  52. leak:libp11-kit.so
  53. leak:libpixman-1.so
  54. leak:libpulse.so
  55. leak:libpulsecommon-1.1.so
  56. leak:libresolv.so
  57. leak:libstdc++.so
  58. leak:libXrandr.so
  59. leak:pthread_setspecific_internal
  60. leak:swrast_dri.so