Closed Bug 1442877 Opened 6 years ago Closed 6 years ago

Intermittent tools/profiler/tests/chrome/test_profile_worker_bug_1428076.html | application crashed [@ js::FreeScriptData] after Assertion failure: table.empty()

Categories

(Core :: Gecko Profiler, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Summary: Intermittent tools/profiler/tests/chrome/test_profile_worker_bug_1428076.html | application terminated with exit code 11 → Intermittent tools/profiler/tests/chrome/test_profile_worker_bug_1428076.html | application terminated with exit code 11 after Assertion failure: table.empty()
It's failing this assertion:

> void
> js::FreeScriptData(JSRuntime* rt)
> {
>     AutoLockScriptData lock(rt);
> 
>     ScriptDataTable& table = rt->scriptDataTable(lock);
>     if (!table.initialized())
>         return;
> 
>     // The table should be empty unless the embedding leaked GC things.
>     MOZ_ASSERT_IF(rt->gc.shutdownCollectedEverything(), table.empty());

It looks like we're leaking stuff. There are also lots of messages of the following kind:

> ERROR: GC found live Cell 0x7f44eb508040 of kind FUNCTION at shutdown
This happens when we call JS_DestroyContext on the main thread. So somehow, the profiler having run at some point causes leaks even after the profiler is stopped.
Summary: Intermittent tools/profiler/tests/chrome/test_profile_worker_bug_1428076.html | application terminated with exit code 11 after Assertion failure: table.empty() → Intermittent tools/profiler/tests/chrome/test_profile_worker_bug_1428076.html | application crashed [@ js::FreeScriptData] after Assertion failure: table.empty()
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.