browser_application_panel_start-service-worker.js leaks on linux64 asan tests



2 months ago
28 days ago


(Reporter: yulia, Unassigned)



Firefox Tracking Flags

(Not tracked)



(1 attachment)

We get the following error when running linux64 asan tests

[task 2019-06-14T18:39:21.409Z] 18:39:21     INFO - GECKO(1126) | SUMMARY: AddressSanitizer: 128 byte(s) leaked in 1 allocation(s).
[task 2019-06-14T18:39:22.233Z] 18:39:22     INFO - GECKO(1126) | Empty service worker registered
[task 2019-06-14T18:39:24.876Z] 18:39:24     INFO - GECKO(1126) | MEMORY STAT | vsize 20975207MB | residentFast 1227MB
[task 2019-06-14T18:39:24.878Z] 18:39:24     INFO - TEST-OK | devtools/client/application/test/browser_application_panel_start-service-worker.js | took 7948ms
[task 2019-06-14T18:39:25.094Z] 18:39:25     INFO - checking window state
[task 2019-06-14T18:39:25.131Z] 18:39:25     INFO - TEST-START | devtools/client/application/test/browser_application_panel_unregister-worker.js
[task 2019-06-14T18:39:26.223Z] 18:39:26     INFO - GECKO(1126) | Empty service worker registered
[task 2019-06-14T18:39:26.432Z] 18:39:26     INFO - GECKO(1126) | =================================================================
[task 2019-06-14T18:39:26.432Z] 18:39:26    ERROR - GECKO(1126) | ==1417==ERROR: LeakSanitizer: detected memory leaks
[task 2019-06-14T18:39:26.433Z] 18:39:26     INFO - GECKO(1126) | Indirect leak of 128 byte(s) in 1 object(s) allocated from:
[task 2019-06-14T18:39:26.433Z] 18:39:26     INFO - GECKO(1126) |     #0 0x557e083d6773 in __interceptor_malloc /builds/worker/workspace/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/
[task 2019-06-14T18:39:26.434Z] 18:39:26     INFO - GECKO(1126) |     #1 0x7f0ca19171a8 in Alloc /builds/worker/workspace/build/src/xpcom/string/nsSubstring.cpp:222:42
[task 2019-06-14T18:39:26.434Z] 18:39:26     INFO - GECKO(1126) |     #2 0x7f0ca19171a8 in nsTSubstring<char>::StartBulkWriteImpl(unsigned int, unsigned int, bool, unsigned int, unsigned int, unsigned int) /builds/worker/workspace/build/src/xpcom/string/nsTSubstring.cpp:203
[task 2019-06-14T18:39:26.434Z] 18:39:26     INFO - GECKO(1126) |     #3 0x7f0ca191fbd3 in Gecko_StartBulkWriteCString /builds/worker/workspace/build/src/xpcom/string/nsSubstring.cpp:397:17
[task 2019-06-14T18:39:26.434Z] 18:39:26     INFO - GECKO(1126) |     #4 0x7f0cb05a4c21 in nsstring::nsACString::start_bulk_write_impl::he99d005634d0a693 /builds/worker/workspace/build/src/xpcom/rust/nsstring/src/
[task 2019-06-14T18:39:26.434Z] 18:39:26     INFO - GECKO(1126) |     #5 0x7f0cb05a4c21 in nsstring::nsACString::bulk_write::hef60add3bcda5e87 /builds/worker/workspace/build/src/xpcom/rust/nsstring/src/
[task 2019-06-14T18:39:26.439Z] 18:39:26     INFO - GECKO(1126) |     #6 0x7f0cb05a4c21 in nsstring::conversions::_$LT$impl$u20$nsstring..nsACString$GT$::fallible_append_utf16_to_utf8_impl::h55aa70b5ff7c2af4 /builds/worker/workspace/build/src/xpcom/rust/nsstring

It is unclear what is going on, but we are manually changing the number of processes to trigger multie10s. We will need to investigate this further

The test has been disabled for now

Keywords: leave-open

cc :jdescottes

Pushed by
disable browser_application_panel_start-service-worker.js test on linux asan r=jdescottes

The priority flag is not set for this bug.
:pbro, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(pbrosset)

this test is disabled, and was written recently for deprecated functionality. We may remove it at some point so i am setting this to P3, until patrick gets back from vacation.

Priority: -- → P3
Flags: needinfo?(pbrosset)
You need to log in before you can comment on or make changes to this bug.