Assertion failure: gcTotal == rtStats.gcHeapChunkTotal when generating a memory report
Categories
(Core :: XPConnect, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox101 | --- | affected |
People
(Reporter: pbone, Assigned: pbone)
References
()
Details
STR:
- In a built with assertions
- open: https://www.fastcompany.com/90732166/what-happened-to-starbucks-how-a-progressive-company-lost-its-way?utm_source=pocket-newtab-intl-en
- wait for the page to load. scroll down somewhat as if reading the article, the crash is intermittent, this seems to help.
- In a new tab, open about:memory and click Measure.
- Observe that the first tab has crashed.
- If it didn't crash scroll a little further/wait/wait for some other elements to come in (I don't know the cause) then click "Measure" in about:memory again.
Assertion failure: gcTotal == rtStats.gcHeapChunkTotal, at /mnt/dev/moz/memcount/js/xpconnect/src/XPCJSRuntime.cpp:2049
#01: xpc::ReportJSRuntimeExplicitTreeStats(JS::RuntimeStats const&, nsTSubstring<char> const&, nsIHandleReportCallback*, nsISupports*, bool, unsigned long*) (/mnt/dev/moz/memcount/js/xpconnect/src/XPCJSRuntime.cpp:2049)
#02: xpc::JSReporter::CollectReports(nsBaseHashtable<nsIntegralHashKey<unsigned long, 0>, nsTString<char>, nsTString<char>, nsDefaultConverter<nsTString<char>, nsTString<char> > >, nsBaseHashtable<nsIntegralHashKey<unsigned long, 0>, nsTString<char>, nsTString<char>, nsDefaultConverter<nsTString<char>, nsTString<char> > >, nsIHandleReportCallback*, nsISupports*, bool) (/mnt/dev/moz/memcount/js/xpconnect/src/XPCJSRuntime.cpp:2305)
#03: nsWindowMemoryReporter::CollectReports(nsIHandleReportCallback*, nsISupports*, bool) (/mnt/dev/moz/memcount/dom/base/nsWindowMemoryReporter.cpp:577)
#04: nsMemoryReporterManager::DispatchReporter(nsIMemoryReporter*, bool, nsIHandleReportCallback*, nsISupports*, bool)::$_1::operator()() const (/mnt/dev/moz/memcount/xpcom/base/nsMemoryReporterManager.cpp:1865)
#05: mozilla::detail::RunnableFunction<nsMemoryReporterManager::DispatchReporter(nsIMemoryReporter*, bool, nsIHandleReportCallback*, nsISupports*, bool)::$_1>::Run() (/mnt/dev/moz/memcount/objdir-debug/dist/include/nsThreadUtils.h:532)
#06: mozilla::RunnableTask::Run() (/mnt/dev/moz/memcount/xpcom/threads/TaskController.cpp:467)
#07: mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) (/mnt/dev/moz/memcount/xpcom/threads/TaskController.cpp:778)
#08: mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) (/mnt/dev/moz/memcount/xpcom/threads/TaskController.cpp:612)
#09: mozilla::TaskController::ProcessPendingMTTask(bool) (/mnt/dev/moz/memcount/xpcom/threads/TaskController.cpp:390)
#10: mozilla::TaskController::InitializeInternal()::$_0::operator()() const (/mnt/dev/moz/memcount/xpcom/threads/TaskController.cpp:124)
#11: mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_0>::Run() (/mnt/dev/moz/memcount/objdir-debug/dist/include/nsThreadUtils.h:532)
#12: nsThread::ProcessNextEvent(bool, bool*) (/mnt/dev/moz/memcount/xpcom/threads/nsThread.cpp:1190)
#13: NS_ProcessNextEvent(nsIThread*, bool) (/mnt/dev/moz/memcount/xpcom/threads/nsThreadUtils.cpp:465)
#14: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) (/mnt/dev/moz/memcount/ipc/glue/MessagePump.cpp:85)
#15: mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) (/mnt/dev/moz/memcount/ipc/glue/MessagePump.cpp:269)
#16: MessageLoop::RunInternal() (/mnt/dev/moz/memcount/ipc/chromium/src/base/message_loop.cc:380)
#17: MessageLoop::RunHandler() (/mnt/dev/moz/memcount/ipc/chromium/src/base/message_loop.cc:374)
#18: MessageLoop::Run() (/mnt/dev/moz/memcount/ipc/chromium/src/base/message_loop.cc:355)
#19: nsBaseAppShell::Run() (/mnt/dev/moz/memcount/widget/nsBaseAppShell.cpp:139)
#20: XRE_RunAppShell() (/mnt/dev/moz/memcount/toolkit/xre/nsEmbedFunctions.cpp:870)
#21: mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) (/mnt/dev/moz/memcount/ipc/glue/MessagePump.cpp:235)
#22: MessageLoop::RunInternal() (/mnt/dev/moz/memcount/ipc/chromium/src/base/message_loop.cc:380)
#23: MessageLoop::RunHandler() (/mnt/dev/moz/memcount/ipc/chromium/src/base/message_loop.cc:374)
#24: MessageLoop::Run() (/mnt/dev/moz/memcount/ipc/chromium/src/base/message_loop.cc:355)
#25: XRE_InitChildProcess(int, char**, XREChildData const*) (/mnt/dev/moz/memcount/toolkit/xre/nsEmbedFunctions.cpp:733)
#26: mozilla::BootstrapImpl::XRE_InitChildProcess(int, char**, XREChildData const*) (/mnt/dev/moz/memcount/toolkit/xre/Bootstrap.cpp:67)
#27: content_process_main(mozilla::Bootstrap*, int, char**) (/mnt/dev/moz/memcount/ipc/contentproc/plugin-container.cpp:57)
#28: main (/mnt/dev/moz/memcount/browser/app/nsBrowserApp.cpp:327)
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
Doesn't reproduce anymore.
Description
•