Bug: Perma browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js | application crashed [@ mozalloc_handle_oom(unsigned int)] | application terminated with exit code 1
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-09-24 16:07:16+00:00
Resolved: 2023-01-30 06:44:16+00:00

**Filed by:** mlaza [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=352661822&repo=try
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/BaeW_GnrQAuuS3mTUJflrw/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2021-09-24T14:24:41.448Z] 14:24:41     INFO - TEST-START | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js
[task 2021-09-24T14:24:42.032Z] 14:24:42     INFO - GECKO(3844) | JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
[task 2021-09-24T14:24:42.453Z] 14:24:42     INFO - GECKO(3844) | out of memory: 0x0000000000100000 bytes requested
[task 2021-09-24T14:24:42.793Z] 14:24:42     INFO - TEST-INFO | Main app process: exit 1
[task 2021-09-24T14:24:42.793Z] 14:24:42     INFO - Buffered messages logged at 14:24:41
[task 2021-09-24T14:24:42.794Z] 14:24:42     INFO - TEST-PASS | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js | Opening a private window from reg window does not open the sidebar - 
[task 2021-09-24T14:24:42.795Z] 14:24:42     INFO - Buffered messages logged at 14:24:42
[task 2021-09-24T14:24:42.796Z] 14:24:42     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.jsm" line: 66}]
[task 2021-09-24T14:24:42.796Z] 14:24:42     INFO - load@resource://gre/modules/XULStore.jsm:66:15
[task 2021-09-24T14:24:42.796Z] 14:24:42     INFO - XULStore@resource://gre/modules/XULStore.jsm:24:10
[task 2021-09-24T14:24:42.796Z] 14:24:42     INFO - 
[task 2021-09-24T14:24:42.797Z] 14:24:42     INFO - Buffered messages finished
[task 2021-09-24T14:24:42.798Z] 14:24:42    ERROR - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js | application terminated with exit code 1
[task 2021-09-24T14:24:42.798Z] 14:24:42     INFO - runtests.py | Application ran for: 0:01:08.259649
[task 2021-09-24T14:24:42.799Z] 14:24:42     INFO - zombiecheck | Reading PID log: C:\Users\task_1632492344\AppData\Local\Temp\tmptx_0t7xppidlog
[task 2021-09-24T14:24:42.800Z] 14:24:42     INFO - ==> process 6120 launched child process 2608 ("Z:\task_1632492344\build\application\firefox\firefox.exe" -contentproc --channel="6120.0.1776535704\1374005820" -childID 1 -isForBrowser -prefsHandle 2032 -prefMapHandle 2028 -prefsLen 1 -prefMapSize 251958 -jsInit 864 278680 -parentBuildID 20210924122753 -appdir "Z:\task_1632492344\build\application\firefox\browser" - 6120 "\\.\pipe\gecko-crash-server-pipe.6120" 2116 16543108 tab)
[task 2021-09-24T14:24:42.802Z] 14:24:42     INFO - ==> process 6120 launched child process 5432 ("Z:\task_1632492344\build\application\firefox\firefox.exe" -contentproc --channel="6120.1.524965892\531154353" -childID 2 -isForBrowser -prefsHandle 2452 -prefMapHandle 2448 -prefsLen 184 -prefMapSize 251958 -jsInit 864 278680 -parentBuildID 20210924122753 -appdir "Z:\task_1632492344\build\application\firefox\browser" - 6120 "\\.\pipe\gecko-crash-server-pipe.6120" 2464 1964de28 tab)
[task 2021-09-24T14:24:42.803Z] 14:24:42     INFO - ==> process 6120 launched child process 5652 ("Z:\task_1632492344\build\application\firefox\firefox.exe" -contentproc --channel="6120.2.279142078\1027026762" -childID 3 -isForBrowser -prefsHandle 2572 -prefMapHandle 2568 -prefsLen 224 -prefMapSize 251958 -jsInit 864 278680 -parentBuildID 20210924122753 -appdir "Z:\task_1632492344\build\application\firefox\browser" - 6120 "\\.\pipe\gecko-crash-server-pipe.6120" 2584 19360798 tab)
[task 2021-09-24T14:24:42.804Z] 14:24:42     INFO - ==> process 6120 launched child process 3216 ("Z:\task_1632492344\build\application\firefox\firefox.exe" -contentproc --channel="6120.3.463202963\2106653474" -parentBuildID 20210924122753 -prefsHandle 2856 -prefMapHandle 2852 -prefsLen 1410 -prefMapSize 251958 -appdir "Z:\task_1632492344\build\application\firefox\browser" - 6120 "\\.\pipe\gecko-crash-server-pipe.6120" 2868 f7b0318 rdd)
[task 2021-09-24T14:24:42.805Z] 14:24:42     INFO - ==> process 6120 launched child process 3180 ("Z:\task_1632492344\build\application\firefox\firefox.exe" -contentproc --channel="6120.5.1626267581\662385899" -childID 4 -isForBrowser -prefsHandle 3576 -prefMapHandle 3572 -prefsLen 8959 -prefMapSize 251958 -jsInit 864 278680 -parentBuildID 20210924122753 -appdir "Z:\task_1632492344\build\application\firefox\browser" - 6120 "\\.\pipe\gecko-crash-server-pipe.6120" 3588 231f8f78 tab)
[task 2021-09-24T14:24:42.807Z] 14:24:42     INFO - ==> process 6120 launched child process 3688 ("Z:\task_1632492344\build\application\firefox\firefox.exe" -contentproc --channel="6120.6.931851023\1672163803" -childID 5 -isForBrowser -prefsHandle 3868 -prefMapHandle 3880 -prefsLen 9202 -prefMapSize 251958 -jsInit 864 278680 -parentBuildID 20210924122753 -appdir "Z:\task_1632492344\build\application\firefox\browser" - 6120 "\\.\pipe\gecko-crash-server-pipe.6120" 3864 25b814f8 tab)
[task 2021-09-24T14:24:42.808Z] 14:24:42     INFO - ==> process 6120 launched child process 3976 ("Z:\task_1632492344\build\application\firefox\firefox.exe" -contentproc --channel="6120.7.999418785\1551956408" -childID 6 -isForBrowser -prefsHandle 4180 -prefMapHandle 4176 -prefsLen 9429 -prefMapSize 251958 -jsInit 864 278680 -parentBuildID 20210924122753 -appdir "Z:\task_1632492344\build\application\firefox\browser" - 6120 "\\.\pipe\gecko-crash-server-pipe.6120" 4192 1c429f78 tab)
[task 2021-09-24T14:24:42.809Z] 14:24:42     INFO - ==> process 6120 launched child process 2928 ("Z:\task_1632492344\build\application\firefox\firefox.exe" -contentproc --channel="6120.8.1023594869\1548923102" -childID 7 -isForBrowser -prefsHandle 2848 -prefMapHandle 4128 -prefsLen 10227 -prefMapSize 251958 -jsInit 864 278680 -parentBuildID 20210924122753 -appdir "Z:\task_1632492344\build\application\firefox\browser" - 6120 "\\.\pipe\gecko-crash-server-pipe.6120" 3348 225fe8e8 tab)
[task 2021-09-24T14:24:42.810Z] 14:24:42     INFO - ==> process 6120 launched child process 6060 ("Z:\task_1632492344\build\application\firefox\firefox.exe" -contentproc --channel="6120.9.242878185\418953951" -childID 8 -isForBrowser -prefsHandle 4680 -prefMapHandle 4424 -prefsLen 10324 -prefMapSize 251958 -jsInit 864 278680 -parentBuildID 20210924122753 -appdir "Z:\task_1632492344\build\application\firefox\browser" - 6120 "\\.\pipe\gecko-crash-server-pipe.6120" 4692 445fbb88 tab)
[task 2021-09-24T14:24:42.811Z] 14:24:42     INFO - ==> process 6120 launched child process 5348 ("Z:\task_1632492344\build\application\firefox\firefox.exe" -contentproc --channel="6120.10.120202735\1835513725" -childID 9 -isForBrowser -prefsHandle 4836 -prefMapHandle 4840 -prefsLen 10324 -prefMapSize 251958 -jsInit 864 278680 -parentBuildID 20210924122753 -appdir "Z:\task_1632492344\build\application\firefox\browser" - 6120 "\\.\pipe\gecko-crash-server-pipe.6120" 4852 32dfd4f8 tab)
[task 2021-09-24T14:24:42.812Z] 14:24:42     INFO - zombiecheck | Checking for orphan process with PID: 5348
[task 2021-09-24T14:24:42.812Z] 14:24:42     INFO - zombiecheck | Checking for orphan process with PID: 3688
[task 2021-09-24T14:24:42.813Z] 14:24:42     INFO - zombiecheck | Checking for orphan process with PID: 3976
[task 2021-09-24T14:24:42.814Z] 14:24:42     INFO - zombiecheck | Checking for orphan process with PID: 3180
[task 2021-09-24T14:24:42.814Z] 14:24:42     INFO - zombiecheck | Checking for orphan process with PID: 6060
[task 2021-09-24T14:24:42.815Z] 14:24:42     INFO - zombiecheck | Checking for orphan process with PID: 2608
[task 2021-09-24T14:24:42.815Z] 14:24:42     INFO - zombiecheck | Checking for orphan process with PID: 3216
[task 2021-09-24T14:24:42.816Z] 14:24:42     INFO - zombiecheck | Checking for orphan process with PID: 2928
[task 2021-09-24T14:24:42.816Z] 14:24:42     INFO - zombiecheck | Checking for orphan process with PID: 5652
[task 2021-09-24T14:24:42.817Z] 14:24:42     INFO - zombiecheck | Checking for orphan process with PID: 5432
[task 2021-09-24T14:24:42.818Z] 14:24:42     INFO - mozcrash Downloading symbols from: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/K9udAgx9Q2iFNLxtsZhYSw/artifacts/public/build/target.crashreporter-symbols.zip
[task 2021-09-24T14:24:46.632Z] 14:24:46     INFO - mozcrash Copy/paste: Z:/task_1632492344/fetches\minidump_stackwalk\minidump_stackwalk.exe C:\Users\task_1632492344\AppData\Local\Temp\tmpel0rhktm.mozrunner\minidumps\120ae3d3-f5c4-4d05-84e1-abc3fcca82a9.dmp C:\Users\task_1632492344\AppData\Local\Temp\tmptvzm2no9
[task 2021-09-24T14:25:04.174Z] 14:25:04     INFO - mozcrash Saved minidump as Z:\task_1632492344\build\blobber_upload_dir\120ae3d3-f5c4-4d05-84e1-abc3fcca82a9.dmp
[task 2021-09-24T14:25:04.179Z] 14:25:04     INFO - mozcrash Saved app info as Z:\task_1632492344\build\blobber_upload_dir\120ae3d3-f5c4-4d05-84e1-abc3fcca82a9.extra
[task 2021-09-24T14:25:04.569Z] 14:25:04     INFO - PROCESS-CRASH | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js | application crashed [@ mozalloc_handle_oom(unsigned int)]
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO - Mozilla crash reason: MOZ_CRASH()
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO - Crash dump filename: C:\Users\task_1632492344\AppData\Local\Temp\tmpel0rhktm.mozrunner\minidumps\120ae3d3-f5c4-4d05-84e1-abc3fcca82a9.dmp
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO - Operating system: Windows NT
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO -                   6.1.7601 Service Pack 1
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO - CPU: x86
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO -      GenuineIntel family 6 model 63 stepping 2
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO -      8 CPUs
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO - 
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO - GPU: UNKNOWN
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO - 
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO - Crash reason:  EXCEPTION_BREAKPOINT
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO - Crash address: 0x6acf8320
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO - Process uptime: 68 seconds
[task 2021-09-24T14:25:04.570Z] 14:25:04     INFO - 
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO - Thread 30 tid 1588 (crashed) 0  mozglue.dll!mozalloc_abort(char const* const) [mozalloc_abort.cpp:42ea3702edd318dced34f2dde59d3520a3ed7617 : 33 + 0x0]
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO -     eip = 0x6acf8320   esp = 0x0be9e3c8   ebp = 0x0be9e3d4   ebx = 0x6aa1f9b0
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO -     esi = 0x0be9e3e0   edi = 0x00000002   eax = 0x0000000a   ecx = 0x6aa27af0
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO -     edx = 0x00000000   efl = 0x00000202
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO -     Found by: given as instruction pointer in context
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO -  1  mozglue.dll!mozalloc_handle_oom(unsigned int) [mozalloc_oom.cpp:42ea3702edd318dced34f2dde59d3520a3ed7617 : 51 + 0x9]
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO -     eip = 0x6acf8392   esp = 0x0be9e3dc   ebp = 0x0be9e414   ebx = 0x00000000
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO -     esi = 0x0be9e68c   edi = 0x00000000
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO -     Found by: call frame info
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO -  2  xul.dll + 0x3ead85b
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO -     eip = 0x55a6d85b   esp = 0x0be9e41c   ebp = 0x0be9e420
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO -     Found by: call frame info
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO -  3  xul.dll + 0x470889
[task 2021-09-24T14:25:04.571Z] 14:25:04     INFO -     eip = 0x52030889   esp = 0x0be9e428   ebp = 0x0be9e6d8
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -  4  xul.dll + 0x13d16f7
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -     eip = 0x52f916f7   esp = 0x0be9e6e0   ebp = 0x0be9e8d8
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -  5  xul.dll + 0x1beb9b6
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -     eip = 0x537ab9b6   esp = 0x0be9e8e0   ebp = 0x0be9ed4c
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -  6  xul.dll + 0x13d0fec
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -     eip = 0x52f90fec   esp = 0x0be9ed54   ebp = 0x0be9f1d4
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -  7  xul.dll + 0x10fe948
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -     eip = 0x52cbe948   esp = 0x0be9f1dc   ebp = 0x0be9f300
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -  8  xul.dll + 0xa2ebbf
[task 2021-09-24T14:25:04.572Z] 14:25:04     INFO -     eip = 0x525eebbf   esp = 0x0be9f308   ebp = 0x0be9f4e8
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO -  9  xul.dll + 0xa2e4f6
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO -     eip = 0x525ee4f6   esp = 0x0be9f4f0   ebp = 0x0be9f5bc
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO - 10  xul.dll + 0xa34a19
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO -     eip = 0x525f4a19   esp = 0x0be9f5c4   ebp = 0x0be9f5e4
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO - 11  xul.dll + 0x1465472
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO -     eip = 0x53025472   esp = 0x0be9f5ec   ebp = 0x0be9f884
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO - 12  xul.dll + 0x14647f3
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO -     eip = 0x530247f3   esp = 0x0be9f88c   ebp = 0x0be9f8dc
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO - 13  xul.dll + 0x858dcf
[task 2021-09-24T14:25:04.573Z] 14:25:04     INFO -     eip = 0x52418dcf   esp = 0x0be9f8e4   ebp = 0x0be9f914
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO - 14  xul.dll + 0x1f4ff
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO -     eip = 0x51bdf4ff   esp = 0x0be9f91c   ebp = 0x0be9f938
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO - 15  xul.dll + 0x728b78
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO -     eip = 0x522e8b78   esp = 0x0be9f940   ebp = 0x0be9fa20
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO - 16  nss3.dll!_PR_NativeRunThread(void*) [pruthr.c:42ea3702edd318dced34f2dde59d3520a3ed7617 : 399 + 0x11]
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO -     eip = 0x6aec9080   esp = 0x0be9fa28   ebp = 0x0be9fa54
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO - 17  nss3.dll!pr_root(void*) [w95thred.c:42ea3702edd318dced34f2dde59d3520a3ed7617 : 139 + 0xf]
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO -     eip = 0x6aedf326   esp = 0x0be9fa5c   ebp = 0x0be9fa64   ebx = 0x0056c390
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO -     esi = 0x0f4f4190   edi = 0x0056c390
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO -     Found by: call frame info
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO - 18  ucrtbase.dll!__RtlConvertUlongToLargeInteger + 0x8489
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO -     eip = 0x6aa2e16f   esp = 0x0be9fa6c   ebp = 0x0be9faa0   esi = 0x6aedf310
[task 2021-09-24T14:25:04.574Z] 14:25:04     INFO -     Found by: call frame info
[task 2021-09-24T14:25:04.575Z] 14:25:04     INFO - 19  kernel32.dll!RtlEnterCriticalSection + 0x7cac
[task 2021-09-24T14:25:04.575Z] 14:25:04     INFO -     eip = 0x75b1ef3c   esp = 0x0be9faa8   ebp = 0x0be9faac
[task 2021-09-24T14:25:04.575Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.575Z] 14:25:04     INFO - 20  ntdll.dll!__RtlUserThreadStart + 0x27
[task 2021-09-24T14:25:04.575Z] 14:25:04     INFO -     eip = 0x776f3618   esp = 0x0be9fab4   ebp = 0x0be9faec
[task 2021-09-24T14:25:04.575Z] 14:25:04     INFO -     Found by: previous frame's frame pointer
[task 2021-09-24T14:25:04.575Z] 14:25:04     INFO - 21  ntdll.dll!_RtlUserThreadStart + 0x1b
[task 2021-09-24T14:25:04.575Z] 14:25:04     INFO -     eip = 0x776f35eb   esp = 0x0be9faf4   ebp = 0x0be9fb04
[task 2021-09-24T14:25:04.575Z] 14:25:04     INFO -     Found by: call frame info
```