Closed Bug 1743315 Opened 2 years ago Closed 2 years ago

Intermittent toolkit/components/aboutmemory/tests/test_aboutmemory5.xhtml | application crashed [@ static AllocInfo::Get<1>(void const*)]

Categories

(Core :: Memory Allocator, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1722406

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: crash, intermittent-failure)

Crash Data

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


[task 2021-11-28T23:24:28.529Z] 23:24:28     INFO - TEST-START | toolkit/components/aboutmemory/tests/test_aboutmemory5.xhtml
[task 2021-11-28T23:24:29.384Z] 23:24:29     INFO - TEST-INFO | Main app process: exit 1
[task 2021-11-28T23:24:29.385Z] 23:24:29     INFO - Buffered messages logged at 23:24:28
[task 2021-11-28T23:24:29.385Z] 23:24:29     INFO - must wait for focus
[task 2021-11-28T23:24:29.386Z] 23:24:29     INFO - Buffered messages finished
[task 2021-11-28T23:24:29.386Z] 23:24:29    ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/aboutmemory/tests/test_aboutmemory5.xhtml | application terminated with exit code 1
[task 2021-11-28T23:24:29.387Z] 23:24:29     INFO - runtests.py | Application ran for: 0:00:06.822407
[task 2021-11-28T23:24:29.388Z] 23:24:29     INFO - zombiecheck | Reading PID log: C:\Users\task_163813880670600\AppData\Local\Temp\tmpio7mwed_pidlog
[task 2021-11-28T23:24:29.389Z] 23:24:29     INFO - ==> process 1864 launched child process 7332 ("Z:\task_163813880670600\build\application\firefox\firefox.exe" -contentproc --channel="1864.0.1168493600\931213589" -childID 1 -isForBrowser -prefsHandle 4796 -prefMapHandle 4772 -prefsLen 1 -prefMapSize 265194 -jsInitHandle 1356 -jsInitLen 280152 -parentBuildID 20211128214927 -appDir "Z:\task_163813880670600\build\application\firefox\browser" - 1864 "\\.\pipe\gecko-crash-server-pipe.1864" 4884 39e82f80 tab)
[task 2021-11-28T23:24:29.390Z] 23:24:29     INFO - ==> process 1864 launched child process 5192 ("Z:\task_163813880670600\build\application\firefox\firefox.exe" -contentproc --channel="1864.1.1480076652\127555024" -childID 2 -isForBrowser -prefsHandle 5192 -prefMapHandle 5188 -prefsLen 45 -prefMapSize 265194 -jsInitHandle 1356 -jsInitLen 280152 -parentBuildID 20211128214927 -appDir "Z:\task_163813880670600\build\application\firefox\browser" - 1864 "\\.\pipe\gecko-crash-server-pipe.1864" 5216 3ae778f0 tab)
[task 2021-11-28T23:24:29.391Z] 23:24:29     INFO - ==> process 1864 launched child process 4608 ("Z:\task_163813880670600\build\application\firefox\firefox.exe" -contentproc --channel="1864.2.1156287498\322412778" -childID 3 -isForBrowser -prefsHandle 5420 -prefMapHandle 5416 -prefsLen 45 -prefMapSize 265194 -jsInitHandle 1356 -jsInitLen 280152 -parentBuildID 20211128214927 -appDir "Z:\task_163813880670600\build\application\firefox\browser" - 1864 "\\.\pipe\gecko-crash-server-pipe.1864" 5424 3d391f80 tab)
[task 2021-11-28T23:24:29.391Z] 23:24:29     INFO - zombiecheck | Checking for orphan process with PID: 5192
[task 2021-11-28T23:24:29.392Z] 23:24:29     INFO - zombiecheck | Checking for orphan process with PID: 4608
[task 2021-11-28T23:24:29.392Z] 23:24:29     INFO - zombiecheck | Checking for orphan process with PID: 7332
[task 2021-11-28T23:24:29.393Z] 23:24:29     INFO - mozcrash Downloading symbols from: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UqTmH4ltQSqkF7OTBijPFQ/artifacts/public/build/target.crashreporter-symbols.zip
[task 2021-11-28T23:24:32.379Z] 23:24:32     INFO - mozcrash Copy/paste: Z:/task_163813880670600/fetches\minidump_stackwalk\minidump_stackwalk.exe --human C:\Users\task_163813880670600\AppData\Local\Temp\tmp7puzp50o.mozrunner\minidumps\bfd2ee64-e3c2-40d8-bfe2-09ea116fa974.dmp C:\Users\task_163813880670600\AppData\Local\Temp\tmpatp9w93t --symbols-url=https://symbols.mozilla.org/
[task 2021-11-28T23:24:38.487Z] 23:24:38     INFO - mozcrash Saved minidump as Z:\task_163813880670600\build\blobber_upload_dir\bfd2ee64-e3c2-40d8-bfe2-09ea116fa974.dmp
[task 2021-11-28T23:24:38.492Z] 23:24:38     INFO - mozcrash Saved app info as Z:\task_163813880670600\build\blobber_upload_dir\bfd2ee64-e3c2-40d8-bfe2-09ea116fa974.extra
[task 2021-11-28T23:24:38.991Z] 23:24:38     INFO - PROCESS-CRASH | toolkit/components/aboutmemory/tests/test_aboutmemory5.xhtml | application crashed [@ static AllocInfo::Get<1>(void const*)]
[task 2021-11-28T23:24:38.991Z] 23:24:38     INFO - Mozilla crash reason: MOZ_DIAGNOSTIC_ASSERT(size != 0)
[task 2021-11-28T23:24:38.991Z] 23:24:38     INFO - Crash dump filename: C:\Users\task_163813880670600\AppData\Local\Temp\tmp7puzp50o.mozrunner\minidumps\bfd2ee64-e3c2-40d8-bfe2-09ea116fa974.dmp
[task 2021-11-28T23:24:38.991Z] 23:24:38     INFO - Operating system: Windows NT
[task 2021-11-28T23:24:38.991Z] 23:24:38     INFO -                   10.0.19041 
[task 2021-11-28T23:24:38.991Z] 23:24:38     INFO - CPU: x86
[task 2021-11-28T23:24:38.991Z] 23:24:38     INFO -      GenuineIntel family 6 model 85 stepping 7
[task 2021-11-28T23:24:38.991Z] 23:24:38     INFO -      8 CPUs
[task 2021-11-28T23:24:38.991Z] 23:24:38     INFO - 
[task 2021-11-28T23:24:38.991Z] 23:24:38     INFO - Crash reason:  EXCEPTION_BREAKPOINT
[task 2021-11-28T23:24:38.991Z] 23:24:38     INFO - Crash address: 0x69f67d9d
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO - Process uptime: 7 seconds
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO - 
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO - Thread 0 GeckoMain (crashed)
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -  0  mozglue.dll!static AllocInfo::Get<1>(void const*) [mozjemalloc.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 3223 + 0x0]
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     eip = 0x69f67d9d   esp = 0x0097dfe0   ebp = 0x0097dfe8   ebx = 0x00036cb7
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     esi = 0x0097dff8   edi = 0x00000000   eax = 0x36c00000   ecx = 0x00000000
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     edx = 0x00000003   efl = 0x00000246
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     Found by: given as instruction pointer in context
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -  1  mozglue.dll!static Allocator<MozJemallocBase>::malloc_usable_size(void const*) [mozjemalloc.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 4367 + 0x6]
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     eip = 0x69f666bf   esp = 0x0097dff0   ebp = 0x0097e008   ebx = 0x6b083770
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     esi = 0x36cb75b4   edi = 0x00000000
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -  2  xul.dll!js::GlobalHelperThreadState::addSizeOfIncludingThis(JS::GlobalStats*, js::AutoLockHelperThreadState&) const [HelperThreads.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 1368 + 0x230]
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     eip = 0x6e725103   esp = 0x0097e010   ebp = 0x0097e068   ebx = 0x6b083770
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     esi = 0x36cb75b4   edi = 0x00000000
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -  3  xul.dll!JS::CollectGlobalStats(JS::GlobalStats*) [MemoryMetrics.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 746 + 0x6]
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     eip = 0x6e7aec96   esp = 0x0097e070   ebp = 0x0097e084   ebx = 0x10a14000
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     esi = 0x0097e120   edi = 0x00000000
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -  4  xul.dll!static xpc::JSReporter::CollectReports(nsBaseHashtable<nsIntegralHashKey<unsigned long long,0>,nsTString<char>,nsTString<char>,nsDefaultConverter<nsTString<char>,nsTString<char> > >*, nsBaseHashtable<nsIntegralHashKey<unsigned long long,0>,nsTString<char>,nsTString<char>,nsDefaultConverter<nsTString<char>,nsTString<char> > >*, nsIHandleReportCallback*, nsISupports*, bool) [XPCJSRuntime.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 2275 + 0x5]
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     eip = 0x6b8e4fd8   esp = 0x0097e08c   ebp = 0x0097e424   ebx = 0x10a14000
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     esi = 0x0097e154   edi = 0x00000000
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -  5  xul.dll!nsWindowMemoryReporter::CollectReports(nsIHandleReportCallback*, nsISupports*, bool) [nsWindowMemoryReporter.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 576 + 0x1b]
[task 2021-11-28T23:24:38.997Z] 23:24:38     INFO -     eip = 0x6be40cdb   esp = 0x0097e42c   ebp = 0x0097e9b8   ebx = 0x0000001c
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     esi = 0x2684fae0   edi = 0x00000000
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -  6  xul.dll!mozilla::detail::RunnableFunction<`lambda at /builds/worker/checkouts/gecko/xpcom/base/nsMemoryReporterManager.cpp:1843:7'>::Run() [nsThreadUtils.h:41ebfc5cf5f27910237ea07814455993d0576484 : 531 + 0x27]
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     eip = 0x6b08da44   esp = 0x0097e9c0   ebp = 0x0097e9e4   ebx = 0x2684fae0
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     esi = 0x138837c0   edi = 0x10b37650
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -  7  xul.dll!mozilla::RunnableTask::Run() [TaskController.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 468 + 0xd]
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     eip = 0x6b10ad20   esp = 0x0097e9ec   ebp = 0x0097ee38   ebx = 0x1cb15f00
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     esi = 0x1cb15f10   edi = 0x138837c0
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -  8  xul.dll!mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex &> const&) [TaskController.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 771 + 0x10]
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     eip = 0x6b0f7a12   esp = 0x0097ee40   ebp = 0x0097f064   ebx = 0x1cb15f10
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     esi = 0x6b10ac60   edi = 0x00d666e0
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -  9  xul.dll!mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex &> const&) [TaskController.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 607 + 0x7]
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     eip = 0x6b0f6a11   esp = 0x0097f06c   ebp = 0x0097f0b4   ebx = 0x00000001
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     esi = 0x00d66660   edi = 0x00d66660
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO - 10  xul.dll!mozilla::TaskController::ProcessPendingMTTask(bool) [TaskController.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 391 + 0x7]
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     eip = 0x6b0f6c5c   esp = 0x0097f0bc   ebp = 0x0097f0d8   ebx = 0x00000001
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     esi = 0x00d666a8   edi = 0x00d66660
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO - 11  xul.dll!mozilla::detail::RunnableFunction<`lambda at /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:124:7'>::Run() [nsThreadUtils.h:41ebfc5cf5f27910237ea07814455993d0576484 : 531 + 0xc]
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     eip = 0x6b10d430   esp = 0x0097f0e0   ebp = 0x0097f0e4   ebx = 0x00000001
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     esi = 0x00d26190   edi = 0x00d03740
[task 2021-11-28T23:24:38.998Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO - 12  xul.dll!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 1183 + 0xd]
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     eip = 0x6b102771   esp = 0x0097f0ec   ebp = 0x0097f228   ebx = 0x00000001
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     esi = 0x00d26190   edi = 0x00d03740
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO - 13  xul.dll!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 467 + 0x18]
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     eip = 0x6b106b4f   esp = 0x0097f230   ebp = 0x0097f24c   ebx = 0x6b63e800
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     esi = 0x00d26190   edi = 0x1d2f6270
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO - 14  xul.dll!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [MessagePump.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 85 + 0x9]
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     eip = 0x6b63e8e1   esp = 0x0097f254   ebp = 0x0097f27c   ebx = 0x6b63e801
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     esi = 0x00d02bb0   edi = 0x1d2f6270
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO - 15  xul.dll!MessageLoop::RunHandler() [message_loop.cc:41ebfc5cf5f27910237ea07814455993d0576484 : 324 + 0x13]
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     eip = 0x6b602f99   esp = 0x0097f284   ebp = 0x0097f2b4   ebx = 0x6b63e830
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     esi = 0x00d04100   edi = 0x00d02bb0
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO - 16  xul.dll!MessageLoop::Run() [message_loop.cc:41ebfc5cf5f27910237ea07814455993d0576484 : 306 + 0x4]
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     eip = 0x6b602ef8   esp = 0x0097f2bc   ebp = 0x0097f2d4   ebx = 0x1d2f6330
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     esi = 0x00d26190   edi = 0x00de5940
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO - 17  xul.dll!nsBaseAppShell::Run() [nsBaseAppShell.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 137 + 0xb]
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     eip = 0x6d287855   esp = 0x0097f2dc   ebp = 0x0097f2e4   ebx = 0x1d2f6330
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     esi = 0x00d26190   edi = 0x00de5940
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     Found by: call frame info
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO - 18  xul.dll!nsAppShell::Run() [nsAppShell.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 603 + 0x5]
[task 2021-11-28T23:24:38.999Z] 23:24:38     INFO -     eip = 0x6d30644b   esp = 0x0097f2ec   ebp = 0x0097f420   ebx = 0x1d2f6330
[task 2021-11-28T23:24:39.000Z] 23:24:38     INFO -     esi = 0x1d2f6330   edi = 0x00de5940
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     Found by: call frame info
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO - 19  xul.dll!nsAppStartup::Run() [nsAppStartup.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 295 + 0xd]
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     eip = 0x6e4e215b   esp = 0x0097f428   ebp = 0x0097f43c   ebx = 0x0097f5f0
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     esi = 0x00de5940   edi = 0x1150c680
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     Found by: call frame info
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO - 20  xul.dll!XREMain::XRE_mainRun() [nsAppRunner.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 5310 + 0xd]
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     eip = 0x6e598778   esp = 0x0097f444   ebp = 0x0097f720   ebx = 0x0097f5f0
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     esi = 0x1150c680   edi = 0x00d02730
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     Found by: call frame info
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO - 21  xul.dll!XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) [nsAppRunner.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 5495 + 0x6]
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     eip = 0x6e599c96   esp = 0x0097f728   ebp = 0x0097f77c   ebx = 0x00d09258
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     esi = 0x0097f790   edi = 0x0097f7a8
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     Found by: call frame info
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO - 22  xul.dll!XRE_main(int, char**, mozilla::BootstrapConfig const&) [nsAppRunner.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 5554 + 0x7]
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     eip = 0x6e599f65   esp = 0x0097f784   ebp = 0x0097f858   ebx = 0x0097f8b4
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     esi = 0x00000005   edi = 0x00d03220
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     Found by: call frame info
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO - 23  xul.dll!mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) [Bootstrap.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 45 + 0xd]
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     eip = 0x6e5a3281   esp = 0x0097f860   ebp = 0x0097f86c   ebx = 0x00d03220
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     esi = 0x00d09050   edi = 0x6e5a3270
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     Found by: call frame info
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO - 24  firefox.exe!NS_internal_main(int, char**, char**) [nsBrowserApp.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 395 + 0x15b]
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     eip = 0x00f31772   esp = 0x0097f874   ebp = 0x0097f9cc   ebx = 0x00d03220
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     esi = 0x00d09050   edi = 0x6e5a3270
[task 2021-11-28T23:24:39.000Z] 23:24:39     INFO -     Found by: call frame info
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO - 25  firefox.exe!wmain(int, wchar_t**) [nsWindowsWMain.cpp:41ebfc5cf5f27910237ea07814455993d0576484 : 147 + 0x10]
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     eip = 0x00f312dc   esp = 0x0097f9d4   ebp = 0x0097fc28   ebx = 0x00bb8c20
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     esi = 0x00d03220   edi = 0x00d03100
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     Found by: call frame info
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO - 26  firefox.exe!__scrt_common_main_seh() [exe_common.inl : 288 + 0x1b]
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     eip = 0x00f7ffec   esp = 0x0097fc30   ebp = 0x0097fc70   ebx = 0x00674000
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     esi = 0x76ae12f0   edi = 0x00bb8c20
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     Found by: call frame info
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO - 27  kernel32.dll!BaseThreadInitThunk + 0x18
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     eip = 0x7708fa29   esp = 0x0097fc78   ebp = 0x0097fc80   ebx = 0x00674000
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     esi = 0x76ae12f0   edi = 0x00bb8c20
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     Found by: call frame info
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO - 28  ntdll.dll!_RtlUserThreadStart + 0x2e
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     eip = 0x776d7a9e   esp = 0x0097fc88   ebp = 0x0097fcdc   ebx = 0x00674000
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     esi = 0x76ae12f0   edi = 0x00bb8c20
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     Found by: call frame info
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO - 29  ntdll.dll!_RtlUserThreadStart + 0x1a
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     eip = 0x776d7a6e   esp = 0x0097fce4   ebp = 0x0097fcec   ebx = 0x00674000
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     esi = 0x76ae12f0   edi = 0x00bb8c20
[task 2021-11-28T23:24:39.001Z] 23:24:39     INFO -     Found by: call frame info

It looks like this is the crash in GlobalHelperThreadState::addSizeOfIncludingThis() that we see occasional in about:memory tests.

Component: about:memory → JavaScript Engine
Product: Toolkit → Core

Hey Yoshi,

Any ideas as to what's going on with this one? (pinging you because of your work with threading recently)

Flags: needinfo?(allstars.chh)
Priority: -- → P3

I'll check the crash

Assignee: nobody → allstars.chh
Flags: needinfo?(allstars.chh)

In the log there's a MOZ_DIAGNOSTIC_ASSERT

Mozilla crash reason: MOZ_DIAGNOSTIC_ASSERT(size != 0)

that's from https://searchfox.org/mozilla-central/rev/9028b0458cc1f432870d2996b186b0938dda734a/memory/build/mozjemalloc.cpp#3223

looking into the assert, it asserts because the size is 0
my guess is that the mapbits needs to be investigated,
https://searchfox.org/mozilla-central/rev/9028b0458cc1f432870d2996b186b0938dda734a/memory/build/mozjemalloc.cpp#3213
which is from
https://searchfox.org/mozilla-central/rev/9028b0458cc1f432870d2996b186b0938dda734a/memory/build/mozjemalloc.cpp#339

ni? gcp for further information
as I check the commit history,
his commit in https://hg.mozilla.org/mozilla-central/rev/a5a3d9d8a54e898d234fc4cd5c254fe3fd755b87
has initialized the bits.
And the assertion failure happened just a few days after this commit.

Assignee: allstars.chh → nobody
Component: JavaScript Engine → Memory Allocator
Flags: needinfo?(gpascutto)

The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.

Priority: P3 → --

From a look, it looks like this code indeed isn't aware of guard pages.

size_t pageind = (((uintptr_t)aPtr - (uintptr_t)chunk) >> gPageSize2Pow); will return the guard page index, and the code then later asserts that it can do an allocation in there, but asserts when it finds it can't.

Assignee: nobody → gpascutto
Flags: needinfo?(gpascutto)
Priority: -- → P1
Regressed by: 1546442

Set release status flags based on info from the regressing bug 1546442

Hmm, actually, that should assert earlier on: https://searchfox.org/mozilla-central/rev/9028b0458cc1f432870d2996b186b0938dda734a/memory/build/mozjemalloc.cpp#3214
Because the guard page is set as CHUNK_MAP_DECOMMITTED.
So it can't be the guard page (which solves the mystery why that code would be looking at it anyway).

Assignee: gpascutto → nobody
Keywords: regression
Priority: P1 → --
No longer regressed by: 1546442

I'm bouncing back the needinfo because from the above this is very unlikely to be caused by my patch: the only part of mapbits that it changed is guarded by an earlier assert.

Flags: needinfo?(allstars.chh)

This bug should not be related to GC

No longer blocks: GC.stability
Flags: needinfo?(allstars.chh)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.