Intermittent LeakSanitizer JavascriptException: SecurityError: Permission denied to access property "testdriver_callback" on cross-origin object
Categories
(Core :: Security, defect, P3)
Tracking
()
People
(Reporter: bogdan_tara, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: intermittent-failure, memory-leak)
+++ This bug was initially created as a clone of Bug #1480799 +++
Filed by: btara [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=191829908&repo=mozilla-central
[task 2018-08-03T11:43:38.404Z] 11:43:38 INFO - LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2018-08-03T11:43:38.405Z] 11:43:38 INFO - This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2018-08-03T11:43:38.405Z] 11:43:38 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_calloc, js_pod_arena_calloc, maybe_pod_calloc, AllocScriptData
[task 2018-08-03T11:43:38.406Z] 11:43:38 INFO - INFO | LeakSanitizer | Frame js_arena_calloc matched a expected leak
[task 2018-08-03T11:43:38.407Z] 11:43:38 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_realloc, js_pod_realloc, maybe_pod_realloc, js::Nursery::reallocateBuffer
[task 2018-08-03T11:43:38.407Z] 11:43:38 INFO - INFO | LeakSanitizer | Frame js_pod_realloc matched a expected leak
[task 2018-08-03T11:43:38.408Z] 11:43:38 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at alloc_system::platform::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$alloc_system..System$GT$::alloc::h5a1f0db41e296502, __rdl_alloc, alloc::alloc::alloc::hb6317adf94d93093, _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Alloc$GT$::alloc::hd131ddf56291b3cf
[task 2018-08-03T11:43:38.410Z] 11:43:38 INFO - TEST-FAIL | LeakSanitizer | leak at js_pod_arena_malloc, js_pod_malloc, maybe_pod_malloc, js::TenuringTracer::moveSlotsToTenured
[task 2018-08-03T11:43:38.410Z] 11:43:38 INFO - INFO | LeakSanitizer | Frame js_pod_malloc matched a expected leak
[task 2018-08-03T11:43:38.411Z] 11:43:38 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_realloc, js_pod_realloc, maybe_pod_realloc, ExtractWellSized
[task 2018-08-03T11:43:38.412Z] 11:43:38 INFO - INFO | LeakSanitizer | Frame js_pod_realloc matched a expected leak
[task 2018-08-03T11:43:38.412Z] 11:43:38 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_calloc, js_pod_arena_calloc, maybe_pod_calloc, pod_calloc
[task 2018-08-03T11:43:38.413Z] 11:43:38 INFO - INFO | LeakSanitizer | Frame js_arena_calloc matched a expected leak
[task 2018-08-03T11:43:38.413Z] 11:43:38 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_calloc, js_pod_arena_calloc, maybe_pod_calloc, pod_callocCanGC
[task 2018-08-03T11:43:38.413Z] 11:43:38 INFO - INFO | LeakSanitizer | Frame js_arena_calloc matched a expected leak
[task 2018-08-03T11:43:38.414Z] 11:43:38 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring
[task 2018-08-03T11:43:38.416Z] 11:43:38 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_realloc, js_pod_realloc, maybe_pod_realloc, ReallocateObjectBuffer
[task 2018-08-03T11:43:38.417Z] 11:43:38 INFO - INFO | LeakSanitizer | Frame js_pod_realloc matched a expected leak
[task 2018-08-03T11:43:38.417Z] 11:43:38 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_new, MakeUnique, HashChildren
[task 2018-08-03T11:43:38.417Z] 11:43:38 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2018-08-03T11:43:38.418Z] 11:43:38 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::Performance::CreateForMainThread, nsPIDOMWindowInner::CreatePerformanceObjectIfNeeded, nsPIDOMWindowInner::GetPerformance, mozilla::dom::Window_Binding::get_performance
[task 2018-08-03T11:43:38.418Z] 11:43:38 INFO - TEST-FAIL | LeakSanitizer | leak at js_pod_arena_malloc, js_pod_malloc, maybe_pod_malloc, tryNewTenuredObject
[task 2018-08-03T11:43:38.418Z] 11:43:38 INFO - INFO | LeakSanitizer | Frame js_pod_malloc matched a expected leak
[task 2018-08-03T11:43:38.418Z] 11:43:38 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, js_pod_malloc, maybe_pod_malloc
[task 2018-08-03T11:43:38.419Z] 11:43:38 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2018-08-03T11:43:38.419Z] 11:43:38 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_realloc, js_pod_realloc, maybe_pod_realloc, pod_realloc
[task 2018-08-03T11:43:38.420Z] 11:43:38 INFO - INFO | LeakSanitizer | Frame js_pod_realloc matched a expected leak
[task 2018-08-03T11:43:38.420Z] 11:43:38 WARNING - u'runner_teardown': ()
[task 2018-08-03T11:43:38.421Z] 11:43:38 INFO - STDOUT: Setting up LSAN
[task 2018-08-03T11:43:38.421Z] 11:43:38 INFO - INFO | runtests.py | ASan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2018-08-03T11:43:38.422Z] 11:43:38 INFO - LSan enabled.
[task 2018-08-03T11:43:38.422Z] 11:43:38 INFO - LSan using suppression file /builds/worker/workspace/build/tests/web-platform/prefs/lsan_suppressions.txt
[task 2018-08-03T11:43:38.423Z] 11:43:38 INFO - INFO | runtests.py | ASan running in default memory configuration
[task 2018-08-03T11:43:38.423Z] 11:43:38 INFO - Setting up ssl
[task 2018-08-03T11:43:38.439Z] 11:43:38 INFO - certutil |
[task 2018-08-03T11:43:38.495Z] 11:43:38 INFO - certutil |
[task 2018-08-03T11:43:38.536Z] 11:43:38 INFO - certutil |
[task 2018-08-03T11:43:38.536Z] 11:43:38 INFO - Certificate Nickname Trust Attributes
[task 2018-08-03T11:43:38.537Z] 11:43:38 INFO - SSL,S/MIME,JAR/XPI
[task 2018-08-03T11:43:38.537Z] 11:43:38 INFO -
[task 2018-08-03T11:43:38.537Z] 11:43:38 INFO - web-platform-tests CT,,
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 1•6 years ago
|
||
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=221519900&repo=mozilla-inbound&lineNumber=9669
[task 2019-01-12T22:19:02.625Z] 22:19:02 INFO - PID 19463 | #36 0x7f716bf58789 in js::frontend::BytecodeEmitter::emitTree(js::frontend::ParseNode*, js::frontend::ValueUsage, js::frontend::BytecodeEmitter::EmitLineNumberNote) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:8879:12
[task 2019-01-12T22:19:02.626Z] 22:19:02 INFO - PID 19463 | #37 0x7f716bf58615 in emitStatementList /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:6583:10
[task 2019-01-12T22:19:02.627Z] 22:19:02 INFO - PID 19463 | #38 0x7f716bf58615 in js::frontend::BytecodeEmitter::emitTree(js::frontend::ParseNode*, js::frontend::ValueUsage, js::frontend::BytecodeEmitter::EmitLineNumberNote) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:8870
[task 2019-01-12T22:19:02.629Z] 22:19:02 INFO - PID 19463 | Direct leak of 720 byte(s) in 18 object(s) allocated from:
[task 2019-01-12T22:19:02.629Z] 22:19:02 INFO - Browser exited with return code -15
[task 2019-01-12T22:19:02.630Z] 22:19:02 INFO - PROCESS LEAKS None
[task 2019-01-12T22:19:02.631Z] 22:19:02 INFO - LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2019-01-12T22:19:02.632Z] 22:19:02 INFO - This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2019-01-12T22:19:02.632Z] 22:19:02 INFO - Allowed depth was 4
[task 2019-01-12T22:19:02.633Z] 22:19:02 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_malloc, CopyScopeData
[task 2019-01-12T22:19:02.634Z] 22:19:02 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-12T22:19:02.634Z] 22:19:02 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_realloc, js_pod_realloc, maybe_pod_realloc, js::Nursery::reallocateBuffer
[task 2019-01-12T22:19:02.635Z] 22:19:02 INFO - INFO | LeakSanitizer | Frame js_pod_realloc matched a expected leak
[task 2019-01-12T22:19:02.635Z] 22:19:02 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at alloc_system::platform::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$alloc_system..System$GT$::alloc, __rdl_alloc, alloc::alloc::alloc, _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Alloc$GT$::alloc
[task 2019-01-12T22:19:02.636Z] 22:19:02 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_malloc, js::Shape::hashify
[task 2019-01-12T22:19:02.636Z] 22:19:02 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-12T22:19:02.637Z] 22:19:02 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, NonVoidStringToJsval
[task 2019-01-12T22:19:02.637Z] 22:19:02 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_calloc, js_pod_arena_calloc, maybe_pod_calloc, pod_calloc
[task 2019-01-12T22:19:02.638Z] 22:19:02 INFO - INFO | LeakSanitizer | Frame js_arena_calloc matched a expected leak
[task 2019-01-12T22:19:02.639Z] 22:19:02 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_malloc, AllocChars
[task 2019-01-12T22:19:02.639Z] 22:19:02 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-12T22:19:02.640Z] 22:19:02 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_realloc, js_pod_realloc, maybe_pod_realloc, ExtractWellSized
[task 2019-01-12T22:19:02.641Z] 22:19:02 INFO - INFO | LeakSanitizer | Frame js_pod_realloc matched a expected leak
[task 2019-01-12T22:19:02.641Z] 22:19:02 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_malloc, pod_malloc
[task 2019-01-12T22:19:02.642Z] 22:19:02 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-12T22:19:02.642Z] 22:19:02 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_malloc, mozilla::UniquePtr
Updated•6 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•6 years ago
|
Comment 4•6 years ago
|
||
These leaks are happening in the trusted-types/ WPT directory.
Updated•6 years ago
|
Comment 5•6 years ago
|
||
The "JavascriptException: SecurityError: Permission denied to access property "testdriver_callback" on cross-origin object" message seems to be a permanent failure that the log parser just shows. The leak sanitizer stuff is the actual cause of the test failing.
Comment 6•6 years ago
|
||
The JavaScriptException is being tracked in bug 1522055 now.
Comment hidden (Intermittent Failures Robot) |
Updated•6 years ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Description
•