| 1 |
# Full list is tracked through meta bug 793882 |
| 2 |
|
| 3 |
#################### |
| 4 |
# Intended leaks # |
| 5 |
#################### |
| 6 |
|
| 7 |
{ |
| 8 |
PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 793534.) |
| 9 |
Memcheck:Leak |
| 10 |
... |
| 11 |
fun:_ZN7mozilla9SaveToEnvEPKc |
| 12 |
... |
| 13 |
} |
| 14 |
{ |
| 15 |
PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 793534.) |
| 16 |
Memcheck:Leak |
| 17 |
... |
| 18 |
fun:SaveToEnv |
| 19 |
... |
| 20 |
} |
| 21 |
{ |
| 22 |
PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 793549.) |
| 23 |
Memcheck:Leak |
| 24 |
... |
| 25 |
fun:_ZL13SaveWordToEnvPKcRK12nsTSubstringIcE |
| 26 |
... |
| 27 |
} |
| 28 |
{ |
| 29 |
PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 793549.) |
| 30 |
Memcheck:Leak |
| 31 |
... |
| 32 |
fun:SaveWordToEnv |
| 33 |
... |
| 34 |
} |
| 35 |
{ |
| 36 |
PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 944133.) |
| 37 |
Memcheck:Leak |
| 38 |
... |
| 39 |
fun:_ZN13CrashReporter14SetRestartArgsEiPPc |
| 40 |
... |
| 41 |
} |
| 42 |
{ |
| 43 |
PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 793548.) |
| 44 |
Memcheck:Leak |
| 45 |
fun:malloc |
| 46 |
... |
| 47 |
fun:_Z12ToNewCStringRK10nsACString |
| 48 |
fun:_ZN13CrashReporter14SetupExtraDataEP7nsIFileRK10nsACString |
| 49 |
... |
| 50 |
} |
| 51 |
{ |
| 52 |
PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 1345153.) |
| 53 |
Memcheck:Leak |
| 54 |
fun:malloc |
| 55 |
... |
| 56 |
fun:_ZN13CrashReporterL27SetupCrashReporterDirectoryEP7nsIFilePKcS3_PS1_ |
| 57 |
... |
| 58 |
} |
| 59 |
{ |
| 60 |
We purposely leak the StatisticsReporter object |
| 61 |
Memcheck:Leak |
| 62 |
fun:malloc |
| 63 |
fun:moz_xmalloc |
| 64 |
fun:operator new |
| 65 |
fun:_Z21XRE_CreateStatsObjectv |
| 66 |
... |
| 67 |
} |
| 68 |
{ |
| 69 |
We purposely leak copies of the initial argv/environ to implement setproctitle on Linux. (See bug 1878213.) |
| 70 |
Memcheck:Leak |
| 71 |
match-leak-kinds: definite |
| 72 |
fun:malloc |
| 73 |
fun:strdup |
| 74 |
fun:_Z17setproctitle_initPPc |
| 75 |
... |
| 76 |
} |
| 77 |
{ |
| 78 |
Leak of argv (bug 1925274) |
| 79 |
Memcheck:Leak |
| 80 |
match-leak-kinds: definite |
| 81 |
... |
| 82 |
fun:ForkedChildProcessInit |
| 83 |
... |
| 84 |
} |
| 85 |
|
| 86 |
#################################### |
| 87 |
# Leaks in third party libraries # |
| 88 |
#################################### |
| 89 |
|
| 90 |
{ |
| 91 |
See bug 793535 |
| 92 |
Memcheck:Leak |
| 93 |
fun:calloc |
| 94 |
fun:_dlerror_run |
| 95 |
fun:dlsym |
| 96 |
... |
| 97 |
} |
| 98 |
{ |
| 99 |
See bug 793611 |
| 100 |
Memcheck:Leak |
| 101 |
fun:memalign |
| 102 |
fun:tls_get_addr_tail |
| 103 |
fun:__tls_get_addr |
| 104 |
... |
| 105 |
} |
| 106 |
{ |
| 107 |
See bug 793611 |
| 108 |
Memcheck:Leak |
| 109 |
fun:memalign |
| 110 |
fun:tls_get_addr_tail |
| 111 |
fun:___tls_get_addr |
| 112 |
... |
| 113 |
} |
| 114 |
|
| 115 |
################# |
| 116 |
# Other leaks # |
| 117 |
################# |
| 118 |
|
| 119 |
{ |
| 120 |
Bug 794369 |
| 121 |
Memcheck:Leak |
| 122 |
fun:malloc |
| 123 |
fun:moz_xmalloc |
| 124 |
... |
| 125 |
fun:_ZN20mozJSComponentLoader10LoadModuleERN7mozilla12FileLocationE |
| 126 |
... |
| 127 |
} |
| 128 |
{ |
| 129 |
Bug 794370 |
| 130 |
Memcheck:Leak |
| 131 |
fun:malloc |
| 132 |
fun:moz_xmalloc |
| 133 |
... |
| 134 |
fun:_ZN22nsComponentManagerImpl15RegisterFactoryERK4nsIDPKcS4_P10nsIFactory |
| 135 |
... |
| 136 |
} |
| 137 |
{ |
| 138 |
Bug 794372 |
| 139 |
Memcheck:Leak |
| 140 |
fun:malloc |
| 141 |
fun:moz_xmalloc |
| 142 |
... |
| 143 |
fun:_ZN22nsComponentManagerImpl22RegisterCIDEntryLockedEPKN7mozilla6Module8CIDEntryEPNS_11KnownModuleE |
| 144 |
... |
| 145 |
} |
| 146 |
{ |
| 147 |
Bug 794374 |
| 148 |
Memcheck:Leak |
| 149 |
fun:malloc |
| 150 |
fun:moz_xmalloc |
| 151 |
... |
| 152 |
fun:_ZN22nsComponentManagerImpl17ManifestComponentERNS_25ManifestProcessingContextEiPKPc |
| 153 |
... |
| 154 |
} |
| 155 |
{ |
| 156 |
Bug 1017112 |
| 157 |
Memcheck:Leak |
| 158 |
fun:malloc |
| 159 |
... |
| 160 |
fun:PK11_InitPin |
| 161 |
fun:_ZN11nsPK11Token12InitPasswordEPKDs |
| 162 |
... |
| 163 |
} |
| 164 |
{ |
| 165 |
We intentionally leak bloom filter TLS data in the global servo thread-pool until we can free it consistently (https://github.com/rayon-rs/rayon/issues/688) |
| 166 |
Memcheck:Leak |
| 167 |
match-leak-kinds: definite |
| 168 |
fun:calloc |
| 169 |
... |
| 170 |
fun:_ZN3std*thread*local*fast*12Key$LT$T$GT$14try_initialize* |
| 171 |
... |
| 172 |
fun:_ZN5style5bloom19StyleBloom$LT$E$GT$3new* |
| 173 |
... |
| 174 |
} |
| 175 |
{ |
| 176 |
Same as above, but for rustc >= 1.80 |
| 177 |
Memcheck:Leak |
| 178 |
match-leak-kinds: definite |
| 179 |
fun:calloc |
| 180 |
... |
| 181 |
fun:_ZN3std3sys12thread_local10fast_local4lazy20Storage*10initialize* |
| 182 |
... |
| 183 |
fun:_ZN5style5bloom19StyleBloom$LT$E$GT$3new* |
| 184 |
... |
| 185 |
} |
| 186 |
{ |
| 187 |
Same as above, but for rustc >= 1.81 |
| 188 |
Memcheck:Leak |
| 189 |
match-leak-kinds: definite |
| 190 |
fun:calloc |
| 191 |
... |
| 192 |
fun:_ZN3std3sys12thread_local6native4lazy20Storage*10initialize* |
| 193 |
... |
| 194 |
fun:_ZN5style5bloom19StyleBloom$LT$E$GT$3new* |
| 195 |
... |
| 196 |
} |
| 197 |
{ |
| 198 |
We intentionally leak sharing cache TLS data in the global servo thread-pool until we can free it consistently (https://github.com/rayon-rs/rayon/issues/688) |
| 199 |
Memcheck:Leak |
| 200 |
match-leak-kinds: definite |
| 201 |
fun:malloc |
| 202 |
... |
| 203 |
fun:_ZN3std*thread*local*fast*12Key$LT$T$GT$14try_initialize* |
| 204 |
... |
| 205 |
fun:_ZN5style7sharing26StyleSharingCache$LT$E$GT$3new* |
| 206 |
... |
| 207 |
} |
| 208 |
{ |
| 209 |
Same as above, but for rustc >= 1.80 |
| 210 |
Memcheck:Leak |
| 211 |
match-leak-kinds: definite |
| 212 |
fun:malloc |
| 213 |
... |
| 214 |
fun:_ZN3std3sys12thread_local10fast_local4lazy20Storage*10initialize* |
| 215 |
... |
| 216 |
fun:_ZN5style7sharing26StyleSharingCache$LT$E$GT$3new* |
| 217 |
... |
| 218 |
} |
| 219 |
{ |
| 220 |
Same as above, but for rustc >= 1.81 |
| 221 |
Memcheck:Leak |
| 222 |
match-leak-kinds: definite |
| 223 |
fun:malloc |
| 224 |
... |
| 225 |
fun:_ZN3std3sys12thread_local6native4lazy20Storage*10initialize* |
| 226 |
... |
| 227 |
fun:_ZN5style7sharing26StyleSharingCache$LT$E$GT$3new* |
| 228 |
... |
| 229 |
} |
| 230 |
{ |
| 231 |
Leak in libfontconfig1 in Debian 8 and 9. See bug 1636003. |
| 232 |
Memcheck:Leak |
| 233 |
match-leak-kinds: definite |
| 234 |
fun:malloc |
| 235 |
fun:FcGetPrgname |
| 236 |
... |
| 237 |
} |
| 238 |
|
| 239 |
################# |
| 240 |
# Other leaks # |
| 241 |
################# |
| 242 |
{ |
| 243 |
Following frame pointers can lead us to uninitialized stack space |
| 244 |
Memcheck:Cond |
| 245 |
fun:DoFramePointerStackWalk |
| 246 |
} |