Closed Bug 1333359 Opened 7 years ago Closed 7 years ago

test-panel.js and test-context-menu.js leak on linux64-asan when run on ubuntu 16.04

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jmaher, Unassigned)

References

Details

we are trying to get all of our linux tests run on ubuntu 16.04, unfortunately there are tests which fail and need some attention.

in this log file for test-panel.js [0], we see this leak:
[task 2017-01-23T21:52:28.473575Z] 21:52:28     INFO -  =================================================================
[task 2017-01-23T21:52:28.475074Z] 21:52:28     INFO -  ==1315==ERROR: LeakSanitizer: detected memory leaks
[task 2017-01-23T21:52:28.475957Z] 21:52:28     INFO -  Direct leak of 40 byte(s) in 1 object(s) allocated from:
[task 2017-01-23T21:52:28.478546Z] 21:52:28     INFO -      #0 0x4b26f4 in calloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:66:3
[task 2017-01-23T21:52:28.479459Z] 21:52:28     INFO -      #1 0x7f931403e9ae in pa_xmalloc0 (/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so+0x149ae)
[task 2017-01-23T21:52:28.480236Z] 21:52:28     INFO -  -----------------------------------------------------
[task 2017-01-23T21:52:28.480630Z] 21:52:28     INFO -  Suppressions used:
[task 2017-01-23T21:52:28.481305Z] 21:52:28     INFO -    count      bytes template
[task 2017-01-23T21:52:28.482305Z] 21:52:28     INFO -      257       3493 libc.so
[task 2017-01-23T21:52:28.483567Z] 21:52:28     INFO -      800      25512 nsComponentManagerImpl
[task 2017-01-23T21:52:28.484514Z] 21:52:28     INFO -       48       6912 mozJSComponentLoader::LoadModule
[task 2017-01-23T21:52:28.485817Z] 21:52:28     INFO -        1        384 pixman_implementation_lookup_composite
[task 2017-01-23T21:52:28.486709Z] 21:52:28     INFO -      354      14016 libfontconfig.so
[task 2017-01-23T21:52:28.487388Z] 21:52:28     INFO -        1         32 libdl.so
[task 2017-01-23T21:52:28.488388Z] 21:52:28     INFO -       17       4348 libglib-2.0.so
[task 2017-01-23T21:52:28.489346Z] 21:52:28     INFO -        1         28 libresolv.so
[task 2017-01-23T21:52:28.490521Z] 21:52:28     INFO -  -----------------------------------------------------
[task 2017-01-23T21:52:28.491754Z] 21:52:28     INFO -  SUMMARY: AddressSanitizer: 40 byte(s) leaked in 1 allocation(s).
[task 2017-01-23T21:52:28.700341Z] 21:52:28     INFO -  TEST-INFO | Main app process: exit 0
[task 2017-01-23T21:52:28.701482Z] 21:52:28     INFO -  TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2017-01-23T21:52:28.702353Z] 21:52:28     INFO -  TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2017-01-23T21:52:28.703264Z] 21:52:28    ERROR -  0 ERROR TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at pa_xmalloc0


this is the same for test-context.menu.js as well.


[0] https://public-artifacts.taskcluster.net/fPmx2852TTGYy56lQVE26g/0/public/logs/live_backing.log
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.