Closed
Bug 1028382
Opened 10 years ago
Closed 10 years ago
Ignore LSan leaks that involve system libraries
Categories
(Testing :: General, defect)
Testing
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: mccr8, Unassigned)
References
(Blocks 1 open bug)
Details
System libraries don't always free everything they use, so there are a variety of weird little leaks like this:
Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x470ad1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74
#1 0x7f82ff1d87ea (/usr/lib/x86_64-linux-gnu/libXrandr.so.2+0x17ea)
...with no more frames shown. I've added a bunch of these to the suppression list, but it appears the list is not entirely stable. For instance, libXrandr only showed up for the first time this week. It would be crummy for somebody to get backed out because of a leak like this.
It should be easy enough to alter the LSan report parser to detect these kinds of leaks and not report an error for them. Then periodically somebody could go through and add suppressions, to reduce the spamminess of logs.
Reporter | ||
Comment 1•10 years ago
|
||
LSan has been enabled for a little over a month, and new leaks with system libraries hasn't been a problem, so I'm going to WONTFIX this.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•