Open Bug 1929555 Opened 1 year ago Updated 1 year ago

Investigate RemoteLazyInputStream asan leaks at shutdown

Categories

(Core :: DOM: File, task)

task

Tracking

()

People

(Reporter: jstutte, Unassigned)

References

Details

RemoteLazyInputStream mechanics store strong references to event targets that can be kept alive during shutdown (because AsyncWait dispatches fail and their runnables are just dropped), leading to asan detected leaks as in bug 1926722's backout.

In particular failed dispatches of critical runnables to RemoteLazyInputStreamThread should be detected and accordingly honored with cleanup. In alternative we might also be able to paint over it with some IsInOrBeyond shutdown checks here and there.

See Also: → 1926722

Note that this has no other impact than failing leakchecks, as the situation that leads to this leak can only happen once during shutdown.

Blocks: 1930362
You need to log in before you can comment on or make changes to this bug.