Bug: Intermittent browser/components/sessionstore/test/browser_async_flushes.js | application terminated with exit code 1 | application crashed [None] | application crashed [@ MacFileUtilities::MachoWalker::FindHeader(int, int, long long&)]
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2020-10-10 04:19:41+00:00
Resolved: 2020-10-13 17:39:18+00:00

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

---
```
[task 2020-10-10T03:38:41.876Z] 03:38:41     INFO - TEST-START | browser/components/sessionstore/test/browser_async_flushes.js
[task 2020-10-10T03:38:42.068Z] 03:38:42     INFO - GECKO(3662) | Et tu, Brute?
[task 2020-10-10T03:38:42.567Z] 03:38:42     INFO - GECKO(3662) | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2020-10-10T03:38:42.567Z] 03:38:42     INFO - GECKO(3662) | Exiting due to channel error.
[task 2020-10-10T03:38:42.567Z] 03:38:42     INFO - GECKO(3662) | Exiting due to channel error.
[task 2020-10-10T03:38:42.567Z] 03:38:42     INFO - GECKO(3662) | Exiting due to channel error.
[task 2020-10-10T03:38:42.567Z] 03:38:42     INFO - GECKO(3662) | Exiting due to channel error.
[task 2020-10-10T03:38:42.569Z] 03:38:42     INFO - GECKO(3662) | Exiting due to channel error.
[task 2020-10-10T03:38:42.569Z] 03:38:42     INFO - GECKO(3662) | Exiting due to channel error.
[task 2020-10-10T03:38:42.570Z] 03:38:42     INFO - GECKO(3662) | Exiting due to channel error.
[task 2020-10-10T03:38:42.570Z] 03:38:42     INFO - GECKO(3662) | Exiting due to channel error.
[task 2020-10-10T03:38:42.570Z] 03:38:42     INFO - GECKO(3662) | Exiting due to channel error.
[task 2020-10-10T03:38:47.107Z] 03:38:47     INFO - GECKO(3662) | ** Unknown exception behavior: -2147483647
[task 2020-10-10T03:38:47.262Z] 03:38:47     INFO - TEST-INFO | Main app process: exit 1
[task 2020-10-10T03:38:47.262Z] 03:38:47     INFO - Buffered messages logged at 03:38:41
[task 2020-10-10T03:38:47.262Z] 03:38:47     INFO - Entering test bound test_flush
[task 2020-10-10T03:38:47.262Z] 03:38:47     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.com/browser/browser/components/sessionstore/test/file_async_flushes.html" line: 0}]
[task 2020-10-10T03:38:47.263Z] 03:38:47     INFO - TEST-PASS | browser/components/sessionstore/test/browser_async_flushes.js | there is a single history entry - 
[task 2020-10-10T03:38:47.263Z] 03:38:47     INFO - TEST-PASS | browser/components/sessionstore/test/browser_async_flushes.js | there are two shistory entries - 
[task 2020-10-10T03:38:47.263Z] 03:38:47     INFO - Leaving test bound test_flush
[task 2020-10-10T03:38:47.263Z] 03:38:47     INFO - Entering test bound test_crash
[task 2020-10-10T03:38:47.263Z] 03:38:47     INFO - Buffered messages logged at 03:38:42
[task 2020-10-10T03:38:47.263Z] 03:38:47     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.com/browser/browser/components/sessionstore/test/file_async_flushes.html" line: 0}]
[task 2020-10-10T03:38:47.263Z] 03:38:47     INFO - TEST-PASS | browser/components/sessionstore/test/browser_async_flushes.js | there is a single history entry - 
[task 2020-10-10T03:38:47.263Z] 03:38:47     INFO - Buffered messages finished
[task 2020-10-10T03:38:47.264Z] 03:38:47    ERROR - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_async_flushes.js | application terminated with exit code 1
[task 2020-10-10T03:38:47.264Z] 03:38:47     INFO - runtests.py | Application ran for: 0:01:19.076765
[task 2020-10-10T03:38:47.264Z] 03:38:47     INFO - zombiecheck | Reading PID log: /var/folders/fl/37tf0fxs7k9csxw4wr3s5mgw000017/T/tmpg8BHK4pidlog
[task 2020-10-10T03:38:47.264Z] 03:38:47     INFO - ==> process 3662 launched child process 3663
[task 2020-10-10T03:38:47.264Z] 03:38:47     INFO - ==> process 3662 launched child process 3664
[task 2020-10-10T03:38:47.264Z] 03:38:47     INFO - ==> process 3662 launched child process 3665
[task 2020-10-10T03:38:47.264Z] 03:38:47     INFO - ==> process 3662 launched child process 3666
[task 2020-10-10T03:38:47.264Z] 03:38:47     INFO - ==> process 3662 launched child process 3667
[task 2020-10-10T03:38:47.264Z] 03:38:47     INFO - ==> process 3662 launched child process 3668
[task 2020-10-10T03:38:47.265Z] 03:38:47     INFO - ==> process 3662 launched child process 3669
[task 2020-10-10T03:38:47.265Z] 03:38:47     INFO - ==> process 3662 launched child process 3670
[task 2020-10-10T03:38:47.265Z] 03:38:47     INFO - ==> process 3662 launched child process 3677
[task 2020-10-10T03:38:47.265Z] 03:38:47     INFO - ==> process 3662 launched child process 3678
[task 2020-10-10T03:38:47.265Z] 03:38:47     INFO - ==> process 3662 launched child process 3679
[task 2020-10-10T03:38:47.265Z] 03:38:47     INFO - zombiecheck | Checking for orphan process with PID: 3663
[task 2020-10-10T03:38:47.265Z] 03:38:47     INFO - zombiecheck | Checking for orphan process with PID: 3664
[task 2020-10-10T03:38:47.265Z] 03:38:47     INFO - zombiecheck | Checking for orphan process with PID: 3665
[task 2020-10-10T03:38:47.265Z] 03:38:47     INFO - zombiecheck | Checking for orphan process with PID: 3666
[task 2020-10-10T03:38:47.266Z] 03:38:47     INFO - zombiecheck | Checking for orphan process with PID: 3667
[task 2020-10-10T03:38:47.266Z] 03:38:47     INFO - zombiecheck | Checking for orphan process with PID: 3668
[task 2020-10-10T03:38:47.266Z] 03:38:47     INFO - zombiecheck | Checking for orphan process with PID: 3669
[task 2020-10-10T03:38:47.266Z] 03:38:47     INFO - zombiecheck | Checking for orphan process with PID: 3670
[task 2020-10-10T03:38:47.266Z] 03:38:47     INFO - zombiecheck | Checking for orphan process with PID: 3677
[task 2020-10-10T03:38:47.266Z] 03:38:47     INFO - zombiecheck | Checking for orphan process with PID: 3678
[task 2020-10-10T03:38:47.266Z] 03:38:47     INFO - zombiecheck | Checking for orphan process with PID: 3679
[task 2020-10-10T03:38:47.266Z] 03:38:47     INFO - mozcrash Downloading symbols from: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SgEAimMqR-aeApvAFKO60A/artifacts/public/build/target.crashreporter-symbols.zip
[task 2020-10-10T03:38:49.427Z] 03:38:49     INFO - mozcrash Copy/paste: /Users/cltbld/tasks/task_1602287265/fetches/minidump_stackwalk/minidump_stackwalk /var/folders/fl/37tf0fxs7k9csxw4wr3s5mgw000017/T/tmp_IqnWu.mozrunner/minidumps/D3CC5140-AD34-4DAE-9841-7DD05FA735A3.dmp /var/folders/fl/37tf0fxs7k9csxw4wr3s5mgw000017/T/tmpalVSHx
[task 2020-10-10T03:38:49.449Z] 03:38:49     INFO - mozcrash Saved minidump as /Users/cltbld/tasks/task_1602287265/build/blobber_upload_dir/D3CC5140-AD34-4DAE-9841-7DD05FA735A3.dmp
[task 2020-10-10T03:38:49.449Z] 03:38:49     INFO - PROCESS-CRASH | browser/components/sessionstore/test/browser_async_flushes.js | application crashed [None]
[task 2020-10-10T03:38:49.449Z] 03:38:49     INFO - Crash dump filename: /var/folders/fl/37tf0fxs7k9csxw4wr3s5mgw000017/T/tmp_IqnWu.mozrunner/minidumps/D3CC5140-AD34-4DAE-9841-7DD05FA735A3.dmp
[task 2020-10-10T03:38:49.449Z] 03:38:49     INFO - stderr from minidump_stackwalk:
[task 2020-10-10T03:38:49.449Z] 03:38:49     INFO - 2020-10-10 03:38:49: minidump_stackwalk.cc:135: ERROR: Minidump /var/folders/fl/37tf0fxs7k9csxw4wr3s5mgw000017/T/tmp_IqnWu.mozrunner/minidumps/D3CC5140-AD34-4DAE-9841-7DD05FA735A3.dmp could not be read
[task 2020-10-10T03:38:49.450Z] 03:38:49     INFO - mozcrash Copy/paste: /Users/cltbld/tasks/task_1602287265/fetches/minidump_stackwalk/minidump_stackwalk /var/folders/fl/37tf0fxs7k9csxw4wr3s5mgw000017/T/tmp_IqnWu.mozrunner/minidumps/83607923-8B9E-45C6-9D2B-F07DBC264F77.dmp /var/folders/fl/37tf0fxs7k9csxw4wr3s5mgw000017/T/tmpalVSHx
[task 2020-10-10T03:38:55.112Z] 03:38:55     INFO - mozcrash Saved minidump as /Users/cltbld/tasks/task_1602287265/build/blobber_upload_dir/83607923-8B9E-45C6-9D2B-F07DBC264F77.dmp
[task 2020-10-10T03:38:55.112Z] 03:38:55     INFO - mozcrash Saved app info as /Users/cltbld/tasks/task_1602287265/build/blobber_upload_dir/83607923-8B9E-45C6-9D2B-F07DBC264F77.extra
[task 2020-10-10T03:38:55.273Z] 03:38:55     INFO - PROCESS-CRASH | browser/components/sessionstore/test/browser_async_flushes.js | application crashed [@ MacFileUtilities::MachoWalker::FindHeader(int, int, long long&)]
[task 2020-10-10T03:38:55.273Z] 03:38:55     INFO - Crash dump filename: /var/folders/fl/37tf0fxs7k9csxw4wr3s5mgw000017/T/tmp_IqnWu.mozrunner/minidumps/83607923-8B9E-45C6-9D2B-F07DBC264F77.dmp
[task 2020-10-10T03:38:55.273Z] 03:38:55     INFO - Operating system: Mac OS X
[task 2020-10-10T03:38:55.273Z] 03:38:55     INFO -                   10.14.5 18F132
[task 2020-10-10T03:38:55.273Z] 03:38:55     INFO - CPU: amd64
[task 2020-10-10T03:38:55.273Z] 03:38:55     INFO -      family 6 model 69 stepping 1
[task 2020-10-10T03:38:55.273Z] 03:38:55     INFO -      4 CPUs
[task 2020-10-10T03:38:55.273Z] 03:38:55     INFO - 
[task 2020-10-10T03:38:55.273Z] 03:38:55     INFO - GPU: UNKNOWN
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO - 
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO - Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO - Crash address: 0xc97c000
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO - Process uptime: 74 seconds
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO - 
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO - Thread 32 (crashed)
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO -  0  XUL!MacFileUtilities::MachoWalker::FindHeader(int, int, long long&) [macho_walker.cc:5abe1c13c7b37cdf5b03d3063530560981a3d253 : 134 + 0x0]
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO -     rax = 0xe6b5baa5c048002f   rdx = 0x0000000000041000
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO -     rcx = 0x000070000241ce10   rbx = 0x0000000001000007
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO -     rsi = 0x000000010c97c000   rdi = 0x000070000241cdd0
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO -     rbp = 0x000070000241cdc0   rsp = 0x000070000241cd60
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO -      r8 = 0x000070000241ce48    r9 = 0x000070000241ce50
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO -     r10 = 0x000070000241ce50   r11 = 0x0000000000000000
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO -     r12 = 0x000070000241ce10   r13 = 0x000070000241cdd0
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO -     r14 = 0x0000000001000007   r15 = 0x0000000000000003
[task 2020-10-10T03:38:55.274Z] 03:38:55     INFO -     rip = 0x00000001165b0160
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -     Found by: given as instruction pointer in context
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -  1  XUL!MacFileUtilities::MachoID::WalkHeader(int, int, bool (*)(MacFileUtilities::MachoWalker*, load_command*, long long, bool, void*), void*) [macho_id.cc:5abe1c13c7b37cdf5b03d3063530560981a3d253 : 243 + 0x24]
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -     rbp = 0x000070000241ce30   rsp = 0x000070000241cdd0
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -     rip = 0x00000001165af7e4
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -     Found by: previous frame's frame pointer
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -  2  XUL!MacFileUtilities::MachoID::UUIDCommand(int, int, unsigned char*) [macho_id.cc:5abe1c13c7b37cdf5b03d3063530560981a3d253 : 159 + 0x10]
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -     rbp = 0x000070000241ce70   rsp = 0x000070000241ce40
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -     rip = 0x00000001165af5a1
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -     Found by: previous frame's frame pointer
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -  3  XUL!google_breakpad::MinidumpGenerator::WriteCVRecord(MDRawModule*, int, int, char const*, bool) [minidump_generator.cc:5abe1c13c7b37cdf5b03d3063530560981a3d253 : 1481 + 0x18]
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -     rbp = 0x000070000241d390   rsp = 0x000070000241ce80
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -     rip = 0x00000001165ad0d5
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -     Found by: previous frame's frame pointer
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -  4  XUL!google_breakpad::MinidumpGenerator::WriteModuleStream(unsigned int, MDRawModule*) [minidump_generator.cc:5abe1c13c7b37cdf5b03d3063530560981a3d253 : 1335 + 0xe]
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -     rbp = 0x000070000241d410   rsp = 0x000070000241d3a0
[task 2020-10-10T03:38:55.275Z] 03:38:55     INFO -     rip = 0x00000001165acf01
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     Found by: previous frame's frame pointer
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -  5  XUL!google_breakpad::MinidumpGenerator::WriteModuleListStream(MDRawDirectory*) [minidump_generator.cc:5abe1c13c7b37cdf5b03d3063530560981a3d253 : 1554 + 0xa]
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     rbp = 0x000070000241d560   rsp = 0x000070000241d420
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     rip = 0x00000001165abb82
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     Found by: previous frame's frame pointer
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -  6  XUL!google_breakpad::MinidumpGenerator::Write(char const*) [minidump_generator.cc:5abe1c13c7b37cdf5b03d3063530560981a3d253 : 269 + 0x22]
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     rbp = 0x000070000241d630   rsp = 0x000070000241d570
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     rip = 0x00000001165aa2c2
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     Found by: previous frame's frame pointer
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -  7  XUL!google_breakpad::CrashGenerationServer::WaitForOneMessage() [crash_generation_server.cc:5abe1c13c7b37cdf5b03d3063530560981a3d253 : 129 + 0x28]
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     rbp = 0x000070000241def0   rsp = 0x000070000241d640
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     rip = 0x00000001165a7b64
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     Found by: previous frame's frame pointer
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -  8  XUL!google_breakpad::CrashGenerationServer::WaitForMessages(void*) [crash_generation_server.cc:5abe1c13c7b37cdf5b03d3063530560981a3d253 : 96 + 0x8]
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     rbp = 0x000070000241df10   rsp = 0x000070000241df00
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     rip = 0x00000001165a7958
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     Found by: previous frame's frame pointer
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -  9  libsystem_pthread.dylib!_pthread_body + 0x7e
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     rbp = 0x000070000241df30   rsp = 0x000070000241df20
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     rip = 0x00007fff5fc9d2eb
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     Found by: previous frame's frame pointer
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO - 10  libsystem_pthread.dylib!_pthread_start + 0x42
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     rbp = 0x000070000241df50   rsp = 0x000070000241df40
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     rip = 0x00007fff5fca0249
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO -     Found by: previous frame's frame pointer
[task 2020-10-10T03:38:55.276Z] 03:38:55     INFO - 11  libsystem_pthread.dylib!thread_start + 0xd
[task 2020-10-10T03:38:55.277Z] 03:38:55     INFO -     rbp = 0x000070000241df78   rsp = 0x000070000241df60
[task 2020-10-10T03:38:55.277Z] 03:38:55     INFO -     rip = 0x00007fff5fc9c40d
[task 2020-10-10T03:38:55.277Z] 03:38:55     INFO -     Found by: previous frame's frame pointer
[task 2020-10-10T03:38:55.277Z] 03:38:55     INFO - 12  XUL + 0x3f55940
[task 2020-10-10T03:38:55.277Z] 03:38:55     INFO -     rsp = 0x000070000241e090   rip = 0x00000001165a7940
[task 2020-10-10T03:38:55.277Z] 03:38:55     INFO -     Found by: stack scanning```