Open Bug 1626749 Opened 5 years ago Updated 5 years ago

Assertion hit in shutdown profiler on debug build when running mochitest

Categories

(Core :: Gecko Profiler, defect, P3)

defect

Tracking

()

People

(Reporter: gregtatum, Unassigned)

Details

Mozilla crash reason: MOZ_ASSERT(!mBufferPositionWhenReceivedJSContext) (JSContext should have been cleared before the thread was unregistered)

https://searchfox.org/mozilla-central/rev/7fba7adfcd695343236de0c12e8d384c9b7cd237/tools/profiler/core/ProfiledThreadData.h#108

I haven't really looked into why we're hitting this assertion, but it happens when running :ochameau's STR from: Bug 1612309

  • Use a debug build of Firefox
  • Run MOZ_PROFILER_STARTUP_FEATURES=nativeallocations MOZ_PROFILER_STARTUP=1 MOZ_PROFILER_SHUTDOWN=mochitestprofile.json ./mach mochitest --headless devtools/client/debugger/test/mochitest/browser_dbg-asm.js

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.