Closed Bug 1794161 Opened 2 years ago Closed 2 years ago

Intermittent Assertion failure: size != 0, at /builds/worker/checkouts/gecko/memory/build/mozjemalloc.cpp:3332

Categories

(Core :: JavaScript Engine, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: assertion, intermittent-failure)

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=392625620&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SbDhjeufR-aZGh_6LGPymQ/runs/0/artifacts/public/logs/live_backing.log


[task 2022-10-07T19:29:29.070Z] 19:29:29     INFO - TEST-START | toolkit/components/aboutmemory/tests/test_sqliteMultiReporter.xhtml
[task 2022-10-07T19:29:29.072Z] 19:29:29     INFO - GECKO(4822) | [Parent 4822, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:180
[task 2022-10-07T19:29:29.074Z] 19:29:29     INFO - GECKO(4822) | [Parent 4822, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/dom/security/nsCSPService.cpp:190
[task 2022-10-07T19:29:29.348Z] 19:29:29     INFO - GECKO(4822) | Assertion failure: size != 0, at /builds/worker/checkouts/gecko/memory/build/mozjemalloc.cpp:3332
[task 2022-10-07T19:29:29.349Z] 19:29:29     INFO - GECKO(4822) | #01: ??? [/builds/worker/workspace/build/application/firefox/firefox + 0x556af]
[task 2022-10-07T19:29:29.350Z] 19:29:29     INFO - GECKO(4822) | #02: ??? [/builds/worker/workspace/build/application/firefox/firefox + 0x6c47a]
[task 2022-10-07T19:29:29.352Z] 19:29:29     INFO - GECKO(4822) | #03: js::GlobalHelperThreadState::addSizeOfIncludingThis(JS::GlobalStats*, js::AutoLockHelperThreadState const&) const [js/src/vm/HelperThreads.cpp:1878]
[task 2022-10-07T19:29:29.354Z] 19:29:29     INFO - GECKO(4822) | #04: JS::CollectGlobalStats(JS::GlobalStats*) [js/src/vm/MemoryMetrics.cpp:750]
[task 2022-10-07T19:29:29.355Z] 19:29:29     INFO - GECKO(4822) | #05: 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) [js/xpconnect/src/XPCJSRuntime.cpp:2266]
[task 2022-10-07T19:29:29.356Z] 19:29:29     INFO - GECKO(4822) | #06: nsWindowMemoryReporter::CollectReports(nsIHandleReportCallback*, nsISupports*, bool) [dom/base/nsWindowMemoryReporter.cpp:577]
[task 2022-10-07T19:29:29.358Z] 19:29:29     INFO - GECKO(4822) | #07: mozilla::detail::RunnableFunction<nsMemoryReporterManager::DispatchReporter(nsIMemoryReporter*, bool, nsIHandleReportCallback*, nsISupports*, bool)::$_1>::Run() [xpcom/threads/nsThreadUtils.h:531]
[task 2022-10-07T19:29:29.359Z] 19:29:29     INFO - GECKO(4822) | #08: mozilla::RunnableTask::Run() [xpcom/threads/TaskController.cpp:539]
[task 2022-10-07T19:29:29.359Z] 19:29:29     INFO - GECKO(4822) | #09: mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) [xpcom/threads/TaskController.cpp:851]
[task 2022-10-07T19:29:29.360Z] 19:29:29     INFO - GECKO(4822) | #10: mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) [xpcom/threads/TaskController.cpp:0]
[task 2022-10-07T19:29:29.361Z] 19:29:29     INFO - GECKO(4822) | #11: mozilla::TaskController::ProcessPendingMTTask(bool) [xpcom/threads/TaskController.cpp:461]
[task 2022-10-07T19:29:29.362Z] 19:29:29     INFO - GECKO(4822) | #12: mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_0>::Run() [xpcom/threads/nsThreadUtils.h:532]
[task 2022-10-07T19:29:29.363Z] 19:29:29     INFO - GECKO(4822) | #13: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1209]
[task 2022-10-07T19:29:29.364Z] 19:29:29     INFO - GECKO(4822) | #14: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:465]
[task 2022-10-07T19:29:29.364Z] 19:29:29     INFO - GECKO(4822) | #15: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:86]
[task 2022-10-07T19:29:29.365Z] 19:29:29     INFO - GECKO(4822) | #16: MessageLoop::RunInternal() [ipc/chromium/src/base/message_loop.cc:0]
[task 2022-10-07T19:29:29.366Z] 19:29:29     INFO - GECKO(4822) | #17: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:357]
[task 2022-10-07T19:29:29.368Z] 19:29:29     INFO - GECKO(4822) | #18: nsBaseAppShell::Run() [widget/nsBaseAppShell.cpp:152]
[task 2022-10-07T19:29:29.371Z] 19:29:29     INFO - GECKO(4822) | #19: nsAppStartup::Run() [toolkit/components/startup/nsAppStartup.cpp:296]
[task 2022-10-07T19:29:29.372Z] 19:29:29     INFO - GECKO(4822) | #20: XREMain::XRE_mainRun() [toolkit/xre/nsAppRunner.cpp:5723]
[task 2022-10-07T19:29:29.372Z] 19:29:29     INFO - GECKO(4822) | #21: XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) [toolkit/xre/nsAppRunner.cpp:5916]
[task 2022-10-07T19:29:29.372Z] 19:29:29     INFO - GECKO(4822) | #22: XRE_main(int, char**, mozilla::BootstrapConfig const&) [toolkit/xre/nsAppRunner.cpp:5972]
[task 2022-10-07T19:29:29.373Z] 19:29:29     INFO - GECKO(4822) | #23: ??? [/builds/worker/workspace/build/application/firefox/firefox + 0x472f6]
[task 2022-10-07T19:29:29.373Z] 19:29:29     INFO - GECKO(4822) | #24: __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6 + 0x21b97]
[task 2022-10-07T19:29:29.374Z] 19:29:29     INFO - GECKO(4822) | #25: ??? [/builds/worker/workspace/build/application/firefox/firefox + 0x46ea9]
[task 2022-10-07T19:29:29.374Z] 19:29:29     INFO - GECKO(4822) | #26: ??? (???:???)
[task 2022-10-07T19:29:29.375Z] 19:29:29     INFO - GECKO(4822) | ExceptionHandler::GenerateDump cloned child 5099
[task 2022-10-07T19:29:29.375Z] 19:29:29     INFO - GECKO(4822) | ExceptionHandler::SendContinueSignalToChild sent continue signal to child
[task 2022-10-07T19:29:29.376Z] 19:29:29     INFO - GECKO(4822) | ExceptionHandler::WaitForContinueSignal waiting for continue signal...
[task 2022-10-07T19:29:29.492Z] 19:29:29     INFO - GECKO(4822) | [Socket 4857, IPC I/O Child] WARNING: [FB7298A46C9AA9AE.67123F26CAA217F7]: Ignoring message 'EVENT_MESSAGE' to peer 1.1 due to a missing broker: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:352
[task 2022-10-07T19:29:29.493Z] 19:29:29     INFO - GECKO(4822) | [Socket 4857, IPC I/O Child] WARNING: [FB7298A46C9AA9AE.67123F26CAA217F7]: Ignoring message 'EVENT_MESSAGE' to peer 1.1 due to a missing broker: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:352
[task 2022-10-07T19:29:29.493Z] 19:29:29     INFO - GECKO(4822) | [Socket 4857, IPC I/O Child] WARNING: [FB7298A46C9AA9AE.67123F26CAA217F7]: Ignoring message 'EVENT_MESSAGE' to peer 1.1 due to a missing broker: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:352
[task 2022-10-07T19:29:29.495Z] 19:29:29     INFO - GECKO(4822) | [Socket 4857, IPC I/O Child] WARNING: [FB7298A46C9AA9AE.67123F26CAA217F7]: Ignoring message 'EVENT_MESSAGE' to peer 1.1 due to a missing broker: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:352
[task 2022-10-07T19:29:29.496Z] 19:29:29     INFO - GECKO(4822) | [Socket 4857, Main Thread] WARNING: Shutting down Socket process early due to a crash!: file /builds/worker/checkouts/gecko/netwerk/ipc/SocketProcessChild.cpp:176
[task 2022-10-07T19:29:29.534Z] 19:29:29     INFO - TEST-INFO | Main app process: exit 11
[task 2022-10-07T19:29:29.535Z] 19:29:29     INFO - Buffered messages finished
[task 2022-10-07T19:29:29.536Z] 19:29:29    ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/aboutmemory/tests/test_sqliteMultiReporter.xhtml | application terminated with exit code 11
Component: about:memory → JavaScript Engine
Product: Toolkit → Core

Another instance of the GlobalHelperThreadState::addSizeOfIncludingThis crash.

:rkraesig, since you are the author of the regressor, bug 1785162, could you take a look?

For more information, please visit auto_nag documentation.

Flags: needinfo?(rkraesig)

This assertion has been happening for years in various forms, so unless the rate increased a lot I don't think it is a regression.

Also, this crash was on a Linux build. I think it's very unlikely that the entirely-Windows-specific patches for bug 1785162 could have resulted in a new crash... although they'd definitely have changed the line number at the end.

@mccr8: should this just be merged into bug 1722406, then?

Flags: needinfo?(rkraesig) → needinfo?(continuation)

Maybe. I'm not sure why new bugs keep getting filed for this issue. I'll mark the see-also at least.

Flags: needinfo?(continuation)
Keywords: regression
No longer regressed by: 1785162
See Also: → 1722406
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.