Open Bug 1345568 Opened 8 years ago Updated 1 year ago

Windows content sandbox breaks refcount logging

Categories

(Core :: Security: Process Sandboxing, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: handyman, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: sb+)

Refcount logging [1] needs to be able to open log files [2] for write. It does it in each process but the current Windows sandbox settings don't allow it. The file-open needs to be remoted. This is not super-high priority but, in the interim, I changed the docs in [1] to mention that the tool only works with MOZ_DISABLE_CONTENT_SANDBOX=1 -- figuring this out isn't simple and refcount logging is slow enough that its annoying when it crashes. We need to track this to remove that from the docs when the remoting work is done. --- [1] https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Refcount_tracing_and_balancing [2] https://dxr.mozilla.org/mozilla-central/rev/58753259bfeb3b818eac7870871b0aae1f8de64a/xpcom/base/nsTraceRefcnt.cpp#670
See Also: → 1345046
Whiteboard: sb+
Blocks: sb-log
Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.