Closed Bug 1570019 Opened 5 years ago Closed 5 years ago

Turning on XPCOM_MEM_LOG_JS_STACK can cause startup crashes

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: mossop, Assigned: mossop)

Details

Attachments

(1 file)

If you turn on XPCOM_MEM_LOG_JS_STACK and one of the classes you are logging is used before nsContentUtils is initialized then Firefox will crash.

Pushed by dtownsend@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2aa1c3d0420a
Verify that nsContentUtils is initialized before calling into it. r=froydnj
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: