Bug: Intermittent browser/components/preferences/tests/browser_searchDefaultEngine.js | application crashed [@ js::gc::StoreBuffer::CellPtrEdge<JSObject>::trace]
Status: RESOLVED
Priority: P3
Resolution: INCOMPLETE
Created: 2023-03-22 21:21:30+00:00
Resolved: 2023-07-07 12:01:54+00:00

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

---
```
INFO - TEST-PASS | browser/components/preferences/tests/browser_searchDefaultEngine.js | Should have received the correct event details - {"category":"search.engine.private","name":"changed","extra":{"new_display_name":"engine1","change_source":"user","previous_engine_id":"other-engine2","new_engine_id":"other-engine1","new_load_path":"[addon]engine1@tests.mozilla.org","new_submission_url":""}} deepEqual {"category":"search.engine.private","name":"changed","extra":{"change_source":"user","previous_engine_id":"other-engine2","new_engine_id":"other-engine1","new_display_name":"engine1","new_load_path":"[addon]engine1@tests.mozilla.org","new_submission_url":""}} - 
[task 2023-03-22T20:59:47.969Z] 20:59:47     INFO - Leaving test bound test_setPrivateDefaultEngine
[task 2023-03-22T20:59:47.970Z] 20:59:47     INFO - Console message: [JavaScript Warning: "Element.releaseCapture() is deprecated. Use Element.releasePointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture" {file: "chrome://global/content/elements/menupopup.js" line: 160}]
[task 2023-03-22T20:59:47.970Z] 20:59:47     INFO - Buffered messages finished
[task 2023-03-22T20:59:47.971Z] 20:59:47    ERROR - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchDefaultEngine.js | application terminated with exit code 1
[task 2023-03-22T20:59:47.971Z] 20:59:47     INFO - runtests.py | Application ran for: 0:08:07.425231
[task 2023-03-22T20:59:47.971Z] 20:59:47     INFO - zombiecheck | Reading PID log: /var/folders/gz/qm7lqzhd05x5j0ck0ghtdmrr000014/T/tmpmev5khlfpidlog
[task 2023-03-22T20:59:47.972Z] 20:59:47     INFO - ==> process 1664 launched child process 1669
<...>
INFO - mozcrash Copy/paste: /opt/worker/tasks/task_167951780387152/fetches/minidump-stackwalk/minidump-stackwalk --symbols-url=https://symbols.mozilla.org/ --cyborg=/var/folders/gz/qm7lqzhd05x5j0ck0ghtdmrr000014/T/tmpoba6s2me/C7374D03-7701-4990-9593-A943F8543FD0.trace /var/folders/gz/qm7lqzhd05x5j0ck0ghtdmrr000014/T/tmpktln703t.mozrunner/minidumps/C7374D03-7701-4990-9593-A943F8543FD0.dmp /opt/worker/tasks/task_167951780387152/build/symbols
[task 2023-03-22T20:59:56.222Z] 20:59:56     INFO - mozcrash Saved minidump as /opt/worker/tasks/task_167951780387152/build/blobber_upload_dir/C7374D03-7701-4990-9593-A943F8543FD0.dmp
[task 2023-03-22T20:59:56.222Z] 20:59:56     INFO - mozcrash Saved app info as /opt/worker/tasks/task_167951780387152/build/blobber_upload_dir/C7374D03-7701-4990-9593-A943F8543FD0.extra
[task 2023-03-22T20:59:56.791Z] 20:59:56     INFO - PROCESS-CRASH | browser/components/preferences/tests/browser_searchDefaultEngine.js | application crashed [@ js::gc::StoreBuffer::CellPtrEdge<JSObject>::trace]
[task 2023-03-22T20:59:56.791Z] 20:59:56     INFO - Crash dump filename: /var/folders/gz/qm7lqzhd05x5j0ck0ghtdmrr000014/T/tmpktln703t.mozrunner/minidumps/C7374D03-7701-4990-9593-A943F8543FD0.dmp
[task 2023-03-22T20:59:56.791Z] 20:59:56     INFO - Operating system: Mac OS X
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO -                   10.15.7 19H524
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO - CPU: amd64
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO -      family 6 model 158 stepping 10
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO -      12 CPUs
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO - 
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO - Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO - Crash address: 0x0
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO - Crashing instruction: `mov rdi, qword [rax]`
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO - Memory accessed by instruction:
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO -   0. Address: 0x0000000000000000
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO -      Size: 8
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO - Mac Crash Info:
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO - 
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO - Process uptime: 487 seconds
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO - 
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO - Thread 0 MainThread (crashed)
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO -  0  XUL!js::gc::StoreBuffer::CellPtrEdge<JSObject>::trace(js::TenuringTracer&) const [Tenuring.cpp:12382c5e0f169a0aa297b29f4195d21786903bb1 : 391 + 0x3]
[task 2023-03-22T20:59:56.792Z] 20:59:56     INFO -      rax = 0x0000000000000000    rdx = 0x000000012764c56c
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -      rcx = 0x000000000024f408    rbx = 0x000000012764ead0
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -      rsi = 0x00007ffeee7fa120    rdi = 0x000000012764ead0
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -      rbp = 0x00007ffeee7fa030    rsp = 0x00007ffeee7fa020
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -       r8 = 0x0000000000000008     r9 = 0x0000000000000000
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -      r10 = 0x00000001211af1b0    r11 = 0xfffffa2831b87c38
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -      r12 = 0x00ffffffffffffff    r13 = 0x7fffffffffffffff
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -      r14 = 0x00007ffeee7fa120    r15 = 0x000000011f926bd8
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -      rip = 0x0000000108877bfd
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -     Found by: given as instruction pointer in context
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -  1  XUL!js::gc::StoreBuffer::MonoTypeBuffer<js::gc::StoreBuffer::CellPtrEdge<JSObject> >::trace(js::TenuringTracer&) [Tenuring.cpp:12382c5e0f169a0aa297b29f4195d21786903bb1 : 178 + 0xa]
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -      rbx = 0x00007ffeee7fa040    rbp = 0x00007ffeee7fa0b0
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -      rsp = 0x00007ffeee7fa040    r12 = 0x00ffffffffffffff
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -      r13 = 0x7fffffffffffffff    r14 = 0x00007ffeee7fa120
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -      r15 = 0x000000011f926bd8    rip = 0x0000000108877abb
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -     Found by: call frame info
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -  2  XUL!js::gc::StoreBuffer::traceCells(js::TenuringTracer&) [StoreBuffer.h:12382c5e0f169a0aa297b29f4195d21786903bb1 : 516]
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -     Found by: inlining
INFO -  3  XUL!js::Nursery::traceRoots(js::gc::AutoGCSession&, js::TenuringTracer&) [Nursery.cpp:12382c5e0f169a0aa297b29f4195d21786903bb1 : 1525 + 0x2c]
[task 2023-03-22T20:59:56.793Z] 20:59:56     INFO -      rbx = 0x000000010d433af8    rbp = 0x00007ffeee7fa100
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      rsp = 0x00007ffeee7fa0c0    r12 = 0x000000011f926188
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      r13 = 0x7fffffffffffffff    r14 = 0x00007ffeee7fa120
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      r15 = 0x000000011f923728    rip = 0x000000010883fbcd
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -     Found by: call frame info
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -  4  XUL!js::Nursery::doCollection(JS::GCOptions, JS::GCReason) [Nursery.cpp:12382c5e0f169a0aa297b29f4195d21786903bb1 : 1427 + 0xa]
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      rbx = 0x00007ffeee7fa120    rbp = 0x00007ffeee7fa200
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      rsp = 0x00007ffeee7fa110    r12 = 0x0000000000000000
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      r13 = 0x000000011f926188    r14 = 0x000000011f923000
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      r15 = 0x0000000000000000    rip = 0x000000010883da92
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -     Found by: call frame info
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -  5  XUL!js::Nursery::collect(JS::GCOptions, JS::GCReason) [Nursery.cpp:12382c5e0f169a0aa297b29f4195d21786903bb1 : 1211 + 0xc]
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      rbx = 0x0000000000000000    rbp = 0x00007ffeee7fa2a0
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      rsp = 0x00007ffeee7fa210    r12 = 0x000000000000000a
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      r13 = 0x0000000046c00000    r14 = 0x000000011f926188
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      r15 = 0x000000011f923000    rip = 0x000000010883d0a2
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -     Found by: call frame info
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -  6  XUL!js::gc::GCRuntime::collectNursery(JS::GCOptions, JS::GCReason, js::gcstats::PhaseKind) [GC.cpp:12382c5e0f169a0aa297b29f4195d21786903bb1 : 4638 + 0xc]
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      rbx = 0x000000000000000a    rbp = 0x00007ffeee7fa320
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      rsp = 0x00007ffeee7fa2b0    r12 = 0x000000011f926188
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      r13 = 0x000000000000003d    r14 = 0x000000011f923728
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -      r15 = 0x000000010d433af8    rip = 0x00000001087d22cd
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -     Found by: call frame info
[task 2023-03-22T20:59:56.794Z] 20:59:56     INFO -  7  XUL!js::gc::GCRuntime::minorGC(JS::GCReason, js::gcstats::PhaseKind) [GC.cpp:12382c5e0f169a0aa297b29f4195d21786903bb1 : 4610 + 0x13]
[task 2023-03-22T20:59:56.795Z] 20:59:56     INFO -      rbx = 0x000000011f932800    rbp = 0x00007ffeee7fa380
[task 2023-03-22T20:59:56.795Z] 20:59:56     INFO -      rsp = 0x00007ffeee7fa330    r12 = 0x000000011f923728
[task 2023-03-22T20:59:56.795Z] 20:59:56     INFO -      r13 = 0x000000010d433af8    r14 = 0x000000000000000a
[task 2023-03-22T20:59:56.795Z] 20:59:56     INFO -      r15 = 0x000000000000003d    rip = 0x00000001087d6b76
[task 2023-03-22T20:59:56.795Z] 20:59:56     INFO -     Found by: call frame info
[task 2023-03-22T20:59:56.795Z] 20:59:56     INFO -  8  XUL!js::gc::GCRuntime::tryNewNurseryObject<(js::AllowGC)1>(JSContext*, unsigned long, unsigned long, JSClass const*, js::gc::AllocSite*) [Allocator.cpp:12382c5e0f169a0aa297b29f4195d21786903bb1 : 110 + 0x15]
[task 2023-03-22T20:59:56.795Z] 20:59:56     INFO -      rbx = 0x000000011f932800    rbp = 0x00007ffeee7fa3d0
[task 2023-03-22T20:59:56.795Z] 20:59:56     INFO -      rsp = 0x00007ffeee7fa390    r12 = 0x000000010d1fd440
[task 2023-03-22T20:59:56.795Z] 20:59:56     INFO -      r13 = 0x0000000000000000    r14 = 0x000000011f926188
[task 2023-03-22T20:59:56.795Z] 20:59:56     INFO -      r15 = 0x000000010d433af8    rip = 0x00000001087a4902
[task 2023-03-22T20:59:56.795Z] 20:59:56     INFO -     Found by: call frame info
[task 2023-03-22T20:59:56.795Z] 20:59:56     INFO -  9  XUL!js::gc::CellAllocator::AllocateObject<(js::AllowGC)1>(JSContext*, js::gc::AllocKind, unsigned long, js::gc::InitialHeap, JSClass const*, js::gc::AllocSite*) [Allocator.cpp:12382c5e0f169a0aa297b29f4195d21786903bb1 : 66 + 0x15]
[task 2023-03-22T20:59:56.795Z] 20:59:56     INFO -      rbx = 0x000000011f932800    rbp = 0x00007ffeee7fa430
```