Closed Bug 1826416 Opened 2 years ago Closed 2 years ago

Intermittent /js/builtins/weakrefs/finalizationregistry-cleanupCallback-throws-onerror-interaction.optional.window.html | application crashed [@ NS_CycleCollectorSuspect3]

Categories

(Core :: DOM: Workers, defect)

defect

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox111 --- unaffected
firefox112 --- unaffected
firefox113 + fixed
firefox114 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jstutte)

References

(Regression)

Details

(4 keywords)

Crash Data

Attachments

(1 file)

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


[task 2023-04-04T18:32:56.564Z] 18:32:56     INFO - TEST-START | /js/builtins/weakrefs/finalizationregistry-cleanupCallback-throws-onerror-interaction.optional.window.html
[task 2023-04-04T18:32:56.568Z] 18:32:56     INFO - Closing window 5d334d59-86f7-4187-a3df-09fc23b79c81
[task 2023-04-04T18:32:56.647Z] 18:32:56     INFO - PID 3071 | Assertion failure: data (Cycle collected object used on a thread without a cycle collector.), at /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3808
[task 2023-04-04T18:32:56.655Z] 18:32:56     INFO - STDOUT: Initializing stack-fixing for the first stack frame, this may take a while...
[task 2023-04-04T18:32:57.298Z] 18:32:57     INFO - NoSuchWindowException on command, setting status to CRASH
[task 2023-04-04T18:32:57.300Z] 18:32:57     INFO - mozcrash Copy/paste: /opt/worker/tasks/task_168063053274438/fetches/minidump-stackwalk/minidump-stackwalk --symbols-url=https://symbols.mozilla.org/ --cyborg=/var/folders/ly/5xk6c_9d2s3g4h3lzn6gs0jw000014/T/tmpvv90hd1n/B28203ED-A360-452A-9C7A-5C064612E284.trace /var/folders/ly/5xk6c_9d2s3g4h3lzn6gs0jw000014/T/tmp6i62ynex/minidumps/B28203ED-A360-452A-9C7A-5C064612E284.dmp /opt/worker/tasks/task_168063053274438/build/symbols
[task 2023-04-04T18:33:05.194Z] 18:33:05     INFO - mozcrash Saved minidump as /opt/worker/tasks/task_168063053274438/build/blobber_upload_dir/B28203ED-A360-452A-9C7A-5C064612E284.dmp
[task 2023-04-04T18:33:05.195Z] 18:33:05     INFO - mozcrash Saved app info as /opt/worker/tasks/task_168063053274438/build/blobber_upload_dir/B28203ED-A360-452A-9C7A-5C064612E284.extra
[task 2023-04-04T18:33:05.348Z] 18:33:05     INFO - PROCESS-CRASH | /js/builtins/weakrefs/finalizationregistry-cleanupCallback-throws-onerror-interaction.optional.window.html | application crashed [@ NS_CycleCollectorSuspect3]
[task 2023-04-04T18:33:05.348Z] 18:33:05     INFO - Mozilla crash reason: MOZ_DIAGNOSTIC_ASSERT(data) (Cycle collected object used on a thread without a cycle collector.)
[task 2023-04-04T18:33:05.348Z] 18:33:05     INFO - Crash dump filename: /var/folders/ly/5xk6c_9d2s3g4h3lzn6gs0jw000014/T/tmp6i62ynex/minidumps/B28203ED-A360-452A-9C7A-5C064612E284.dmp
[task 2023-04-04T18:33:05.348Z] 18:33:05     INFO - Operating system: Mac OS X
[task 2023-04-04T18:33:05.348Z] 18:33:05     INFO -                   10.15.7 19H524
[task 2023-04-04T18:33:05.348Z] 18:33:05     INFO - CPU: amd64
[task 2023-04-04T18:33:05.348Z] 18:33:05     INFO -      family 6 model 158 stepping 10
[task 2023-04-04T18:33:05.348Z] 18:33:05     INFO -      12 CPUs
[task 2023-04-04T18:33:05.348Z] 18:33:05     INFO - 
[task 2023-04-04T18:33:05.348Z] 18:33:05     INFO - Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO - Crash address: 0x0
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO - Crashing instruction: `mov dword [0x0], 0xee0`
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO - Memory accessed by instruction:
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO -   0. Address: 0x0000000000000000
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO -      Size: 4
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO - Mac Crash Info:
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO - 
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO - Process uptime: 25 seconds
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO - 
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO - Thread 25 DOM Worker (crashed)
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO -  0  XUL!NS_CycleCollectorSuspect3 [nsCycleCollector.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 3806 + 0x0]
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO -      rax = 0x00000001259b5764    rdx = 0x0000000000000000
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO -      rcx = 0x000000010d24ba80    rbx = 0x0000000000000015
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO -      rsi = 0x00000000000120a8    rdi = 0x00007fff9986eca8
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO -      rbp = 0x00007000040298d0    rsp = 0x00007000040298d0
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO -       r8 = 0x00000000000130a8     r9 = 0x0000000000000000
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO -      r10 = 0x00007fff9986ecc8    r11 = 0x00007fff9986ecc0
[task 2023-04-04T18:33:05.349Z] 18:33:05     INFO -      r12 = 0x0000700004029a68    r13 = 0x00000001169eabd0
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -      r14 = 0x00000001171fad00    r15 = 0x00000001171fad00
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -      rip = 0x000000011b7bfb48
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -     Found by: given as instruction pointer in context
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -  1  XUL!nsCycleCollectingAutoRefCnt::incr<&NS_CycleCollectorSuspect3>(void*, nsCycleCollectionParticipant*) [nsISupportsImpl.h:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 248]
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -     Found by: inlining
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -  2  XUL!nsCycleCollectingAutoRefCnt::incr<&NS_CycleCollectorSuspect3>(nsISupports*) [nsISupportsImpl.h:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 234]
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -     Found by: inlining
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -  3  XUL!mozilla::DOMEventTargetHelper::AddRef() [DOMEventTargetHelper.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 81 + 0x18]
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -      rbx = 0x0000000000000015    rbp = 0x00007000040298f0
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -      rsp = 0x00007000040298e0    r12 = 0x0000700004029a68
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -      r13 = 0x00000001169eabd0    r14 = 0x00000001171fad00
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -      r15 = 0x00000001171fad00    rip = 0x000000011e7e0b41
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -  4  XUL!mozilla::dom::WorkerGlobalScopeBase::AddRef() [WorkerScope.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 227]
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -     Found by: inlining
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -  5  XUL!mozilla::dom::WorkerGlobalScope::AddRef() [WorkerScope.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 427]
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -     Found by: inlining
[task 2023-04-04T18:33:05.350Z] 18:33:05     INFO -  6  XUL!mozilla::dom::DedicatedWorkerGlobalScope::AddRef() [WorkerScope.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 884 + 0x4]
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -      rbx = 0x00000001171fad00    rbp = 0x0000700004029920
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -      rsp = 0x0000700004029900    r12 = 0x0000700004029a68
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -      r13 = 0x00000001169eabd0    r14 = 0x0000700004029968
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -      r15 = 0x00000001171fad00    rip = 0x000000011f9fb702
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -  7  XUL!mozilla::DOMEventTargetHelper::QueryInterface(nsID const&, void**) [DOMEventTargetHelper.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 79 + 0x8]
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -      rbx = 0x00000001252c33b0    rbp = 0x0000700004029950
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -      rsp = 0x0000700004029930    r12 = 0x0000700004029a68
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -      r13 = 0x00000001169eabd0    r14 = 0x0000700004029968
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -      r15 = 0x00000001171fad00    rip = 0x000000011e7e0a9b
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -  8  XUL!mozilla::dom::WorkerGlobalScopeBase::QueryInterface(nsID const&, void**) [WorkerScope.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 233]
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -     Found by: inlining
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -  9  XUL!mozilla::dom::WorkerGlobalScope::QueryInterface(nsID const&, void**) [WorkerScope.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 427 + 0x55]
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -      rbx = 0x00000001252c33b0    rbp = 0x0000700004029990
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -      rsp = 0x0000700004029960    r12 = 0x0000700004029a68
[task 2023-04-04T18:33:05.351Z] 18:33:05     INFO -      r13 = 0x00000001169eabd0    r14 = 0x00007000040299a8
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO -      r15 = 0x00000001171fad00    rip = 0x000000011f9f8741
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO - 10  XUL!mozilla::dom::DedicatedWorkerGlobalScope::QueryInterface(nsID const&, void**) [WorkerScope.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 884]
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO -     Found by: inlining
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO - 11  XUL!{virtual override thunk({offset(-120)}, mozilla::dom::DedicatedWorkerGlobalScope::QueryInterface(nsID const&, void**))} [WorkerScope.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 0 + 0x45]
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO -      rbx = 0x00000001252c33b0    rbp = 0x00007000040299d0
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO -      rsp = 0x00007000040299a0    r12 = 0x0000700004029a68
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO -      r13 = 0x00000001169eabd0    r14 = 0x0000700004029a60
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO -      r15 = 0x00000001171fad00    rip = 0x000000011f9fb5e8
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO - 12  XUL!nsIWeakReference::QueryReferent(nsID const&, void**) [nsWeakReference.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 139]
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO -     Found by: inlining
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO - 13  XUL!nsQueryReferent::operator()(nsID const&, void**) const [nsWeakReference.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 51 + 0x26]
[task 2023-04-04T18:33:05.352Z] 18:33:05     INFO -      rbx = 0x0000000116917590    rbp = 0x0000700004029a10
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO -      rsp = 0x00007000040299e0    r12 = 0x0000700004029a68
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO -      r13 = 0x00000001169eabd0    r14 = 0x0000700004029a60
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO -      r15 = 0x00000001252c33b0    rip = 0x000000011b7df848
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO - 14  XUL!nsCOMPtr<mozilla::DOMEventTargetHelper>::assign_from_query_referent(nsQueryReferent const&, nsID const&) [nsCOMPtr.h:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 1287]
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO -     Found by: inlining
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO - 15  XUL!nsCOMPtr<mozilla::DOMEventTargetHelper>::nsCOMPtr(nsQueryReferent const&) [nsCOMPtr.h:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 643]
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO -     Found by: inlining
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO - 16  XUL!nsCOMPtr<mozilla::DOMEventTargetHelper>::nsCOMPtr(nsQueryReferent const&) [nsCOMPtr.h:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 640]
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO -     Found by: inlining
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO - 17  XUL!mozilla::dom::workerinternals::(anonymous namespace)::WorkerThreadPrimaryRunnable::Run() [RuntimeService.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 2213 + 0x35]
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO -      rbx = 0x0000000000000001    rbp = 0x0000700004029b90
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO -      rsp = 0x0000700004029a20    r12 = 0x00000001169eabd0
[task 2023-04-04T18:33:05.353Z] 18:33:05     INFO -      r13 = 0x00000001171314c0    r14 = 0x0000000080004005
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO -      r15 = 0x000000010d737601    rip = 0x000000011f9c7bb9
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO - 18  XUL!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 1233 + 0x5]
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO -      rbx = 0x00000000ffffffff    rbp = 0x0000700004029cc0
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO -      rsp = 0x0000700004029ba0    r12 = 0x0000000117a63840
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO -      r13 = 0x0000027172253684    r14 = 0xaaaaaaaaaaaaaaaa
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO -      r15 = 0x0000000117a63700    rip = 0x000000011b8b5399
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO - 19  XUL!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 479 + 0xf]
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO -      rbx = 0x0000000000000000    rbp = 0x0000700004029cf0
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO -      rsp = 0x0000700004029cd0    r12 = 0x0000000117131520
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO -      r13 = 0x0000000117131530    r14 = 0x0000000117131500
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO -      r15 = 0x0000000117a63700    rip = 0x000000011b8bb7bf
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.354Z] 18:33:05     INFO - 20  XUL!mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [MessagePump.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 300 + 0x9]
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -      rbx = 0x0000700004029db0    rbp = 0x0000700004029d40
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -      rsp = 0x0000700004029d00    r12 = 0x0000000117131520
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -      r13 = 0x0000000117131530    r14 = 0x0000000117131500
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -      r15 = 0x0000000117a63700    rip = 0x000000011c27c391
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO - 21  XUL!MessageLoop::RunHandler() [message_loop.cc:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 362]
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -     Found by: inlining
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO - 22  XUL!MessageLoop::Run() [message_loop.cc:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 344 + 0x4]
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -      rbx = 0x0000000117a63700    rbp = 0x0000700004029d70
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -      rsp = 0x0000700004029d50    r12 = 0x00000001171f19a8
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -      r13 = 0x00000001171f19a0    r14 = 0x000000000000000a
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -      r15 = 0x0000700004029db0    rip = 0x000000011c1f36d3
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO - 23  XUL!nsThread::ThreadFunc(void*) [nsThread.cpp:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 391 + 0x7]
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -      rbx = 0x0000000117a63700    rbp = 0x0000700004029f70
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -      rsp = 0x0000700004029d80    r12 = 0x00000001171f19a8
[task 2023-04-04T18:33:05.355Z] 18:33:05     INFO -      r13 = 0x00000001171f19a0    r14 = 0x000000000000000a
[task 2023-04-04T18:33:05.356Z] 18:33:05     INFO -      r15 = 0x0000700004029db0    rip = 0x000000011b8b0486
[task 2023-04-04T18:33:05.356Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.356Z] 18:33:05     INFO - 24  libnss3.dylib!_pt_root [ptthread.c:c62f9fb3170f76ae2d79ed4201a4f3b2ea0da2e8 : 201 + 0x9]
[task 2023-04-04T18:33:05.356Z] 18:33:05     INFO -      rbx = 0x000070000402a000    rbp = 0x0000700004029fb0
[task 2023-04-04T18:33:05.356Z] 18:33:05     INFO -      rsp = 0x0000700004029f80    r12 = 0x00000001169eabd0
[task 2023-04-04T18:33:05.356Z] 18:33:05     INFO -      r13 = 0x0000000000000000    r14 = 0x000070000402a000
[task 2023-04-04T18:33:05.356Z] 18:33:05     INFO -      r15 = 0x0000000000000002    rip = 0x000000010cfb9879
[task 2023-04-04T18:33:05.356Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.356Z] 18:33:05     INFO - 25  libsystem_pthread.dylib!_pthread_start + 0x93
[task 2023-04-04T18:33:05.356Z] 18:33:05     INFO -      rbx = 0x000070000402a000    rbp = 0x0000700004029fd0
[task 2023-04-04T18:33:05.356Z] 18:33:05     INFO -      rsp = 0x0000700004029fc0    r12 = 0x0000000000000000
[task 2023-04-04T18:33:05.356Z] 18:33:05     INFO -      r13 = 0x0000000000000000    r14 = 0x0000000000000000
[task 2023-04-04T18:33:05.356Z] 18:33:05     INFO -      r15 = 0x0000000000000000    rip = 0x00007fff731c7109
[task 2023-04-04T18:33:05.357Z] 18:33:05     INFO -     Found by: call frame info
[task 2023-04-04T18:33:05.357Z] 18:33:05     INFO - 26  libsystem_pthread.dylib!thread_start + 0xe
[task 2023-04-04T18:33:05.357Z] 18:33:05     INFO -      rbx = 0x0000000000000000    rbp = 0x0000700004029ff0
[task 2023-04-04T18:33:05.357Z] 18:33:05     INFO -      rsp = 0x0000700004029fe0    r12 = 0x0000000000000000
[task 2023-04-04T18:33:05.357Z] 18:33:05     INFO -      r13 = 0x0000000000000000    r14 = 0x0000000000000000
[task 2023-04-04T18:33:05.357Z] 18:33:05     INFO -      r15 = 0x0000000000000000    rip = 0x00007fff731c2b8b
[task 2023-04-04T18:33:05.357Z] 18:33:05     INFO -     Found by: call frame info
Component: XPCOM → DOM: Workers

Marking this as regression from bug 1825589. Note that this is a case where our assert on the next line would have triggered, too.

So the intention of those sentinels is to just check if the instance is still alive elsewhere, not to actually get a strong reference on them. IIUC the do_QueryReferent piece would work, but then assigning its result to a nsCOMPtr will make the cycle collector detect that it has been already shut down such that we cannot create new references to a CCable object.

I think we can just check the result of do_QueryReferent somehow without assigning it?

Keywords: regression
Regressed by: 1825589

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

Assignee: nobody → jstutte
Status: NEW → ASSIGNED
Severity: -- → S3

This is also showing up on Nightly. bp-9f1171fa-8a01-4c24-b13e-91e360230406

Crash Signature: [@ NS_CycleCollectorSuspect3] → [@ NS_CycleCollectorSuspect3 | nsCycleCollectingAutoRefCnt::incr<T> ]

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

Blocks: 1827468
Pushed by jstutte@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0825b12caee2 Avoid the use of strong references to check if global scope is alive. r=dom-worker-reviewers,mccr8,asuth

(In reply to Andrew McCreight [:mccr8] from comment #4)

This is also showing up on Nightly. bp-9f1171fa-8a01-4c24-b13e-91e360230406

Yeah, given that we switched to Fx114 in the meantime we should probably uplift this to beta (once it sticks), as I assume that without the diagnostic assert we would just crash here on the next line.

There was a stupid copy&paste error, sorry.

Flags: needinfo?(jstutte)
Pushed by jstutte@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5965fbdd5875 Avoid the use of strong references to check if global scope is alive. r=dom-worker-reviewers,mccr8,asuth

The bug is linked to a topcrash signature, which matches the following criterion:

  • Top 10 AArch64 and ARM crashes on nightly

:jstutte, could you consider increasing the severity of this top-crash bug?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jstutte)
Keywords: topcrash
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch

Comment on attachment 9327093 [details]
Bug 1826416 - Avoid the use of strong references to check if global scope is alive. r?#dom-worker-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined: This fixes a regression from bug 1825589 which already showed up also in the wild and manifests as potential crashes even in release.

While there is no explicit test for the change, the code in question is run very frequently in CI and the assertions in place evidenced the problem.

  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): There is no change in normal behavior, and we had a double review.
  • String changes made/needed:
  • Is Android affected?: Yes
Flags: needinfo?(jstutte)
Attachment #9327093 - Flags: approval-mozilla-beta?

Comment on attachment 9327093 [details]
Bug 1826416 - Avoid the use of strong references to check if global scope is alive. r?#dom-worker-reviewers

Approved for 113.0b4.

Attachment #9327093 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: