Closed Bug 1602645 Opened 4 years ago Closed 4 years ago

Add leak suppression for libfreetype.so

Categories

(Firefox Build System :: General, task, P2)

task

Tracking

(firefox73 fixed)

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

egao is working on upgrading the OS we run ASan on from ubuntu1604 to ubuntu1804, and some new LSan leaks show up, in pretty much every suite.

==950==ERROR: LeakSanitizer: detected memory leaks
Indirect leak of 617120 byte(s) in 7600 object(s) allocated from:
#0 0x560a0b8d8b9d in malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:145:3
#1 0x7f902652dd6c (/usr/lib/x86_64-linux-gnu/libfreetype.so.6+0x11d6c)
#2 0x9fe5ed9b1c16cfff (<unknown module>)
Indirect leak of 191520 byte(s) in 3420 object(s) allocated from:
#0 0x560a0b8d8b9d in malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:145:3
#1 0x7f902652dd6c (/usr/lib/x86_64-linux-gnu/libfreetype.so.6+0x11d6c)
Indirect leak of 12160 byte(s) in 380 object(s) allocated from:
#0 0x560a0b8d8b9d in malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:145:3
#1 0x7f9026528cdd (/usr/lib/x86_64-linux-gnu/libfreetype.so.6+0xccdd)

Presumably this is a variation on one of the existing font leaks, so I'll add it to the suppression list.

Changing the OS we run Linux ASan on from ubuntu1604 to ubuntu1804
causes 820800 bytes of leaks with libfreetype.so in the stack in
almost every test suite. Presumably this is just a variation on
existing leaks we get because we don't shut down fonts properly, so
just whitelist it.

Thanks for your email reply and this bug, I really appreciate it!

Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/abca1ede6c2d
Add leak suppression for libfreetype.so. r=decoder
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: