Bug: Intermittent browser/components/sessionstore/test/browser_forget_async_closings.js | application crashed [@ ___NSRunLoopTimerCreateWithHandler_block_invoke + 0x22]
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-10-06 11:08:23+00:00
Resolved: 2024-10-07 12:04:56+00:00

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

---
```
[task 2021-10-06T10:32:16.752Z] 10:32:16     INFO - TEST-PASS | browser/components/sessionstore/test/browser_forget_async_closings.js | Should have forgotten the closed window - 
[task 2021-10-06T10:32:16.752Z] 10:32:16     INFO - Buffered messages finished
[task 2021-10-06T10:32:16.752Z] 10:32:16    ERROR - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_forget_async_closings.js | application terminated with exit code 1
[task 2021-10-06T10:32:16.753Z] 10:32:16     INFO - runtests.py | Application ran for: 0:01:21.537274
[task 2021-10-06T10:32:16.753Z] 10:32:16     INFO - zombiecheck | Reading PID log: /var/folders/5q/2kwsz2d549qg6gw4bwxftvvm000014/T/tmp0r8mlk_bpidlog
[task 2021-10-06T10:32:16.754Z] 10:32:16     INFO - ==> process 1881 launched child process 1882
[task 2021-10-06T10:32:16.754Z] 10:32:16     INFO - ==> process 1881 launched child process 1883
[task 2021-10-06T10:32:16.754Z] 10:32:16     INFO - ==> process 1881 launched child process 1884
[task 2021-10-06T10:32:16.754Z] 10:32:16     INFO - ==> process 1881 launched child process 1885
[task 2021-10-06T10:32:16.755Z] 10:32:16     INFO - ==> process 1881 launched child process 1886
[task 2021-10-06T10:32:16.755Z] 10:32:16     INFO - ==> process 1881 launched child process 1897
[task 2021-10-06T10:32:16.755Z] 10:32:16     INFO - ==> process 1881 launched child process 1902
[task 2021-10-06T10:32:16.756Z] 10:32:16     INFO - ==> process 1881 launched child process 1903
[task 2021-10-06T10:32:16.756Z] 10:32:16     INFO - ==> process 1881 launched child process 1904
[task 2021-10-06T10:32:16.756Z] 10:32:16     INFO - ==> process 1881 launched child process 1905
[task 2021-10-06T10:32:16.757Z] 10:32:16     INFO - ==> process 1881 launched child process 1906
[task 2021-10-06T10:32:16.757Z] 10:32:16     INFO - ==> process 1881 launched child process 1939
[task 2021-10-06T10:32:16.757Z] 10:32:16     INFO - ==> process 1881 launched child process 1940
[task 2021-10-06T10:32:16.758Z] 10:32:16     INFO - ==> process 1881 launched child process 1941
[task 2021-10-06T10:32:16.758Z] 10:32:16     INFO - ==> process 1881 launched child process 1942
[task 2021-10-06T10:32:16.758Z] 10:32:16     INFO - ==> process 1881 launched child process 1947
[task 2021-10-06T10:32:16.758Z] 10:32:16     INFO - ==> process 1881 launched child process 1953
[task 2021-10-06T10:32:16.759Z] 10:32:16     INFO - ==> process 1881 launched child process 1954
[task 2021-10-06T10:32:16.759Z] 10:32:16     INFO - ==> process 1881 launched child process 1956
[task 2021-10-06T10:32:16.759Z] 10:32:16     INFO - ==> process 1881 launched child process 1958
[task 2021-10-06T10:32:16.760Z] 10:32:16     INFO - ==> process 1881 launched child process 1960
[task 2021-10-06T10:32:16.760Z] 10:32:16     INFO - ==> process 1881 launched child process 1962
[task 2021-10-06T10:32:16.761Z] 10:32:16     INFO - ==> process 1881 launched child process 1963
[task 2021-10-06T10:32:16.761Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1939
[task 2021-10-06T10:32:16.761Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1940
[task 2021-10-06T10:32:16.762Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1941
[task 2021-10-06T10:32:16.762Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1942
[task 2021-10-06T10:32:16.762Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1947
[task 2021-10-06T10:32:16.763Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1953
[task 2021-10-06T10:32:16.763Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1954
[task 2021-10-06T10:32:16.763Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1956
[task 2021-10-06T10:32:16.764Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1958
[task 2021-10-06T10:32:16.764Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1960
[task 2021-10-06T10:32:16.765Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1962
[task 2021-10-06T10:32:16.765Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1963
[task 2021-10-06T10:32:16.765Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1882
[task 2021-10-06T10:32:16.766Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1883
[task 2021-10-06T10:32:16.766Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1884
[task 2021-10-06T10:32:16.766Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1885
[task 2021-10-06T10:32:16.767Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1886
[task 2021-10-06T10:32:16.767Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1897
[task 2021-10-06T10:32:16.767Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1902
[task 2021-10-06T10:32:16.768Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1903
[task 2021-10-06T10:32:16.768Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1904
[task 2021-10-06T10:32:16.768Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1905
[task 2021-10-06T10:32:16.769Z] 10:32:16     INFO - zombiecheck | Checking for orphan process with PID: 1906
[task 2021-10-06T10:32:16.769Z] 10:32:16     INFO - mozcrash Downloading symbols from: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TqTWfr7WQrKq6X_z9Gmu8g/artifacts/public/build/target.crashreporter-symbols.zip
[task 2021-10-06T10:32:18.494Z] 10:32:18     INFO - mozcrash Copy/paste: /opt/worker/tasks/task_163351562473977/fetches/minidump_stackwalk/minidump_stackwalk /var/folders/5q/2kwsz2d549qg6gw4bwxftvvm000014/T/tmp4n14njn2.mozrunner/minidumps/AEFF4251-29CF-4FFB-AB64-7F6EFD619E9A.dmp /var/folders/5q/2kwsz2d549qg6gw4bwxftvvm000014/T/tmpm_fwvix9
[task 2021-10-06T10:32:24.436Z] 10:32:24     INFO - mozcrash Saved minidump as /opt/worker/tasks/task_163351562473977/build/blobber_upload_dir/AEFF4251-29CF-4FFB-AB64-7F6EFD619E9A.dmp
[task 2021-10-06T10:32:24.437Z] 10:32:24     INFO - mozcrash Saved app info as /opt/worker/tasks/task_163351562473977/build/blobber_upload_dir/AEFF4251-29CF-4FFB-AB64-7F6EFD619E9A.extra
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO - PROCESS-CRASH | browser/components/sessionstore/test/browser_forget_async_closings.js | application crashed [@ ___NSRunLoopTimerCreateWithHandler_block_invoke + 0x22]
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO - Crash dump filename: /var/folders/5q/2kwsz2d549qg6gw4bwxftvvm000014/T/tmp4n14njn2.mozrunner/minidumps/AEFF4251-29CF-4FFB-AB64-7F6EFD619E9A.dmp
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO - Operating system: Mac OS X
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO -                   10.15.7 19H524
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO - CPU: amd64
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO -      family 6 model 158 stepping 10
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO -      12 CPUs
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO - 
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO - GPU: UNKNOWN
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO - 
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO - Crash reason:  EXC_BAD_ACCESS / EXC_I386_GPFLT
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO - Crash address: 0x0
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO - Process uptime: 81 seconds
[task 2021-10-06T10:32:24.906Z] 10:32:24     INFO - 
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO - Thread 82 tid 146315 (crashed) 0  AppKit!-[NSScreenDisplayLink _fire] + 0xb1
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     rax = 0x0000000000000010   rdx = 0x0000000000023b8b
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     rcx = 0x0000000000000030   rbx = 0x0000000000000038
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     rsi = 0x000000016fcfa800   rdi = 0x000000016d5bc3a0
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     rbp = 0x000070000713aee0   rsp = 0x000070000713aec0
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -      r8 = 0x0000000000000001    r9 = 0x0000000000d82a8a
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     r10 = 0x00007fff88c59510   r11 = 0x00007fff2ed97eb9
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     r12 = 0x000000016fcfa800   r13 = 0x0000000167fac958
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     r14 = 0x000000016fcfa820   r15 = 0x00000001083b3060
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     rip = 0x00007fff2ed97e31
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     Found by: given as instruction pointer in context
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -  1  AppKit!___NSRunLoopTimerCreateWithHandler_block_invoke + 0x22
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     rbp = 0x000070000713af10   rsp = 0x000070000713aef0
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     rip = 0x00007fff2f4e56c2
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     Found by: previous frame's frame pointer
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -  2  CoreFoundation!__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 0x14
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     rbp = 0x000070000713af20   rsp = 0x000070000713af20
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     rip = 0x00007fff3193d7f9
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     Found by: previous frame's frame pointer
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -  3  CoreFoundation!__CFRunLoopDoTimer + 0x35b
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     rbp = 0x000070000713bfd0   rsp = 0x000070000713af30
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     rip = 0x00007fff3193d35f
[task 2021-10-06T10:32:24.907Z] 10:32:24     INFO -     Found by: previous frame's frame pointer
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -  4  CoreFoundation!__CFRunLoopDoTimers + 0x142
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     rbp = 0x000070000713c050   rsp = 0x000070000713bfe0
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     rip = 0x00007fff3193ce47
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     Found by: previous frame's frame pointer
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -  5  CoreFoundation!__CFRunLoopRun + 0x74f
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     rbp = 0x000070000713cd60   rsp = 0x000070000713c060
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     rip = 0x00007fff31921bea
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     Found by: previous frame's frame pointer
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -  6  CoreFoundation!CFRunLoopRunSpecific + 0x1ce
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     rbp = 0x000070000713cdf0   rsp = 0x000070000713cd70
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     rip = 0x00007fff31920e3e
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     Found by: previous frame's frame pointer
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -  7  Foundation!-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 0xd4
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     rbp = 0x000070000713ce30   rsp = 0x000070000713ce00
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     rip = 0x00007fff33fbc1d8
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     Found by: previous frame's frame pointer
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -  8  AppKit!-[NSAnimation(NSInternal) _runBlocking] + 0x158
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     rbp = 0x000070000713ce80   rsp = 0x000070000713ce40
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     rip = 0x00007fff2ee3a150
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     Found by: previous frame's frame pointer
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -  9  AppKit!__42-[NSAnimation(NSInternal) _runInNewThread]_block_invoke + 0x61
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     rbp = 0x000070000713ced0   rsp = 0x000070000713ce90
[task 2021-10-06T10:32:24.908Z] 10:32:24     INFO -     rip = 0x00007fff2ee39e2d
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO -     Found by: previous frame's frame pointer
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO - 10  libdispatch.dylib!_dispatch_call_block_and_release + 0xc
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO -     rbp = 0x000070000713cef0   rsp = 0x000070000713cee0
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO -     rip = 0x00007fff6b7cf6c4
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO -     Found by: previous frame's frame pointer
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO - 11  libdispatch.dylib!_dispatch_client_callout + 0x8
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO -     rbx = 0x0000000000002000   rbp = 0x000070000713cf10
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO -     rsp = 0x000070000713cf00   rip = 0x00007fff6b7d0658
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO -     Found by: call frame info
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO - 12  libdispatch.dylib!_dispatch_root_queue_drain + 0x297
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO -     rbx = 0x0000000000002000   rbp = 0x000070000713cf90
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO -     rsp = 0x000070000713cf20   rip = 0x00007fff6b7deaa8
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO -     Found by: call frame info
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO - 13  libdispatch.dylib!_dispatch_worker_thread2 + 0x5c
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO -     rbx = 0x0000000000064006   rbp = 0x000070000713cfa0
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO -     rsp = 0x000070000713cfa0   r12 = 0x000070000713d000
[task 2021-10-06T10:32:24.909Z] 10:32:24     INFO -     r13 = 0x0000000000000000   r14 = 0x0000000000000000
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO -     r15 = 0x0000000000000000   rip = 0x00007fff6b7df097
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO -     Found by: call frame info
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO - 14  libsystem_pthread.dylib!_pthread_wqthread + 0xdc
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO -     rbx = 0x0000000000064006   rbp = 0x000070000713cfd0
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO -     rsp = 0x000070000713cfb0   r12 = 0x000070000713d000
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO -     r13 = 0x0000000000000000   r14 = 0x0000000000000000
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO -     r15 = 0x0000000000000000   rip = 0x00007fff6ba2a9f7
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO -     Found by: call frame info
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO - 15  libsystem_pthread.dylib!start_wqthread + 0xf
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO -     rbx = 0x00000000001e4008   rbp = 0x000070000713cff0
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO -     rsp = 0x000070000713cfe0   r12 = 0x000070000713d000
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO -     r13 = 0x0000000000000000   r14 = 0x0000000000000001
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO -     r15 = 0x000070000713cb80   rip = 0x00007fff6ba29b77
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO -     Found by: call frame info
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO - 
[task 2021-10-06T10:32:24.910Z] 10:32:24     INFO - Thread 0 tid 775 - GeckoMain
```