Closed Bug 1962855 Opened 1 year ago Closed 1 year ago

Frequent MozPromise::ThenValue created from 'AsyncFlush' destroyed without being [...] (dispatchRv: not dispatched) [@ mozilla::MozPromise<OSInfo,nsresult,0>::ThenValueBase::AssertIsDead] when Gecko 139 merges to beta on 2025-04-28

Categories

(Toolkit :: Startup and Profile System, defect)

defect

Tracking

()

VERIFIED FIXED
140 Branch
Tracking Status
thunderbird_esr128 --- unaffected
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox138 --- unaffected
firefox139 + fixed
firefox140 --- verified

People

(Reporter: SerbanS, Assigned: mossop)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Central-as-beta-simulation

How to run these simulations

Failure log

[task 2025-04-26T13:53:17.741Z] 13:53:17     INFO -  TEST-PASS | toolkit/xre/test/test_launch_without_hang.js | took 5505ms
[task 2025-04-26T13:53:17.744Z] 13:53:17     INFO -  Retrying tests that failed when run in parallel.
[task 2025-04-26T13:53:17.750Z] 13:53:17     INFO -  TEST-START | browser/components/profiles/tests/unit/test_recover_storeID.js
[task 2025-04-26T13:53:18.115Z] 13:53:18  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/profiles/tests/unit/test_recover_storeID.js | xpcshell return code: 1
[task 2025-04-26T13:53:18.119Z] 13:53:18     INFO -  TEST-INFO took 365ms
[task 2025-04-26T13:53:18.119Z] 13:53:18     INFO -  >>>>>>>
[task 2025-04-26T13:53:18.119Z] 13:53:18     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2025-04-26T13:53:18.119Z] 13:53:18     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2025-04-26T13:53:18.119Z] 13:53:18     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2025-04-26T13:53:18.120Z] 13:53:18     INFO -  running event loop
[task 2025-04-26T13:53:18.120Z] 13:53:18     INFO -  browser/components/profiles/tests/unit/test_recover_storeID.js | Starting test_recover_storeID
[task 2025-04-26T13:53:18.121Z] 13:53:18     INFO -  (xpcshell/head.js) | test test_recover_storeID pending (2)
[task 2025-04-26T13:53:18.121Z] 13:53:18     INFO -  TEST-PASS | browser/components/profiles/tests/unit/test_recover_storeID.js | test_recover_storeID - [test_recover_storeID : 7] Should have matched the root dir. - true == true
[task 2025-04-26T13:53:18.121Z] 13:53:18     INFO -  TEST-PASS | browser/components/profiles/tests/unit/test_recover_storeID.js | test_recover_storeID - [test_recover_storeID : 7] Should have matched the local dir. - true == true
[task 2025-04-26T13:53:18.122Z] 13:53:18     INFO -  TEST-PASS | browser/components/profiles/tests/unit/test_recover_storeID.js | test_recover_storeID - [test_recover_storeID : 7] Should have marked the profile as the current profile. - true == true
[task 2025-04-26T13:53:18.122Z] 13:53:18     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2025-04-26T13:53:18.122Z] 13:53:18     INFO -  TEST-PASS | browser/components/profiles/tests/unit/test_recover_storeID.js | test_recover_storeID - [test_recover_storeID : 57] Did initialize the service - true == true
[task 2025-04-26T13:53:18.122Z] 13:53:18     INFO -  TEST-PASS | browser/components/profiles/tests/unit/test_recover_storeID.js | test_recover_storeID - [test_recover_storeID : 60] Should have a current profile - {} == true
[task 2025-04-26T13:53:18.123Z] 13:53:18     INFO -  TEST-PASS | browser/components/profiles/tests/unit/test_recover_storeID.js | test_recover_storeID - [test_recover_storeID : 61] "Fake Profile" == "Fake Profile"
[task 2025-04-26T13:53:18.123Z] 13:53:18     INFO -  TEST-PASS | browser/components/profiles/tests/unit/test_recover_storeID.js | test_recover_storeID - [test_recover_storeID : 62] Should have updated the store ID on the profile - "foobar" == "foobar"
[task 2025-04-26T13:53:18.123Z] 13:53:18     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2025-04-26T13:53:18.124Z] 13:53:18     INFO -  (xpcshell/head.js) | test test_recover_storeID finished (2)
[task 2025-04-26T13:53:18.124Z] 13:53:18     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (1)
[task 2025-04-26T13:53:18.124Z] 13:53:18     INFO -  exiting test
[task 2025-04-26T13:53:18.124Z] 13:53:18     INFO -  <<<<<<<
[task 2025-04-26T13:53:34.921Z] 13:53:34  WARNING -  PROCESS-CRASH | MozPromise::ThenValue created from 'AsyncFlush' destroyed without being either disconnected, resolved, or rejected (dispatchRv: not dispatched) [@ mozilla::MozPromise<OSInfo,nsresult,0>::ThenValueBase::AssertIsDead] | browser/components/profiles/tests/unit/test_recover_storeID.js
[task 2025-04-26T13:53:34.922Z] 13:53:34     INFO -  Process type: main
[task 2025-04-26T13:53:34.922Z] 13:53:34     INFO -  Process pid: 2680
[task 2025-04-26T13:53:34.922Z] 13:53:34     INFO -  Mozilla crash reason: MozPromise::ThenValue created from 'AsyncFlush' destroyed without being either disconnected, resolved, or rejected (dispatchRv: not dispatched)
[task 2025-04-26T13:53:34.922Z] 13:53:34     INFO -  Crash dump filename: C:\Users\task_174567478709772\AppData\Local\Temp\xpc-other-cx14h3h6\933b9edf-cd23-4d76-9cf9-59d640f60da3.dmp
[task 2025-04-26T13:53:34.923Z] 13:53:34     INFO -  Operating system: Windows NT
[task 2025-04-26T13:53:34.923Z] 13:53:34     INFO -                    10.0.26100
[task 2025-04-26T13:53:34.923Z] 13:53:34     INFO -  CPU: x86
[task 2025-04-26T13:53:34.923Z] 13:53:34     INFO -       AuthenticAMD family 25 model 1 stepping 1
[task 2025-04-26T13:53:34.923Z] 13:53:34     INFO -       8 CPUs
[task 2025-04-26T13:53:34.924Z] 13:53:34     INFO -  Crash reason:  EXCEPTION_BREAKPOINT
[task 2025-04-26T13:53:34.924Z] 13:53:34     INFO -  Crash address: 0x6bf36ac6
[task 2025-04-26T13:53:34.924Z] 13:53:34     INFO -  Process uptime: 1 seconds
[task 2025-04-26T13:53:34.924Z] 13:53:34     INFO -  Thread 19 BackgroundThreadPool #2 (crashed) - tid: 2200
[task 2025-04-26T13:53:34.924Z] 13:53:34     INFO -   0  xul.dll!MOZ_Crash(char const*, int, char const*) [Assertions.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 381]
[task 2025-04-26T13:53:34.925Z] 13:53:34     INFO -      Found by: inlining
[task 2025-04-26T13:53:34.925Z] 13:53:34     INFO -   1  xul.dll!mozilla::MozPromise<OSInfo,nsresult,0>::ThenValueBase::AssertIsDead() [MozPromise.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 527 + 0x8]
[task 2025-04-26T13:53:34.925Z] 13:53:34     INFO -       eip = 0x6bf36ac6    esp = 0x1443f264    ebp = 0x1443f26c    ebx = 0x00000001
[task 2025-04-26T13:53:34.925Z] 13:53:34     INFO -       esi = 0x13f97f40    edi = 0x6bf65fe0    eax = 0x724fca30    ecx = 0x724fca2c
[task 2025-04-26T13:53:34.926Z] 13:53:34     INFO -       edx = 0x00000001 eflags = 0x00000212
[task 2025-04-26T13:53:34.926Z] 13:53:34     INFO -      Found by: given as instruction pointer in context
[task 2025-04-26T13:53:34.926Z] 13:53:34     INFO -   2  xul.dll!mozilla::MozPromise<CopyableTArray<bool>,bool,0>::AssertIsDead() [MozPromise.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 1253 + 0x4]
[task 2025-04-26T13:53:34.927Z] 13:53:34     INFO -       eip = 0x69c19b14    esp = 0x1443f274    ebp = 0x1443f28c    ebx = 0x00000001
[task 2025-04-26T13:53:34.927Z] 13:53:34     INFO -       esi = 0x13f7bcf0    edi = 0x13f7bcfc
[task 2025-04-26T13:53:34.928Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.928Z] 13:53:34     INFO -   3  xul.dll!mozilla::MozPromise<nsTAutoStringN<char16_t,64>,nsresult,0>::ThenValueBase::ResolveOrRejectRunnable::~ResolveOrRejectRunnable() [MozPromise.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 482 + 0x8]
[task 2025-04-26T13:53:34.928Z] 13:53:34     INFO -       eip = 0x6bf3a8dd    esp = 0x1443f294    ebp = 0x1443f2a0    ebx = 0x6bf3a720
[task 2025-04-26T13:53:34.928Z] 13:53:34     INFO -       esi = 0x12395b60    edi = 0x12395b60
[task 2025-04-26T13:53:34.929Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.929Z] 13:53:34     INFO -   4  xul.dll!mozilla::MozPromise<nsTAutoStringN<char16_t,64>,nsresult,0>::ThenValueBase::ResolveOrRejectRunnable::~ResolveOrRejectRunnable() [MozPromise.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 480 + 0xa]
[task 2025-04-26T13:53:34.929Z] 13:53:34     INFO -       eip = 0x6bf3a72b    esp = 0x1443f2a8    ebp = 0x1443f2ac    ebx = 0x6bf3a720
[task 2025-04-26T13:53:34.930Z] 13:53:34     INFO -       esi = 0x12395b60    edi = 0x12395b60
[task 2025-04-26T13:53:34.930Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.930Z] 13:53:34     INFO -   5  xul.dll!mozilla::Runnable::Release() [nsThreadUtils.cpp:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 63]
[task 2025-04-26T13:53:34.930Z] 13:53:34     INFO -      Found by: inlining
[task 2025-04-26T13:53:34.930Z] 13:53:34     INFO -   6  xul.dll!mozilla::DelayedRunnable::Release() [DelayedRunnable.cpp:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 110 + 0x22]
[task 2025-04-26T13:53:34.931Z] 13:53:34     INFO -       eip = 0x69bd8caf    esp = 0x1443f2b4    ebp = 0x1443f2c4    ebx = 0x6bf3a720
[task 2025-04-26T13:53:34.931Z] 13:53:34     INFO -       esi = 0x00000000    edi = 0x12395b60
[task 2025-04-26T13:53:34.931Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.931Z] 13:53:34     INFO -   7  xul.dll!mozilla::RefPtrTraits<nsIRunnable>::Release(nsIRunnable*) [RefPtr.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 49]
[task 2025-04-26T13:53:34.932Z] 13:53:34     INFO -      Found by: inlining
[task 2025-04-26T13:53:34.932Z] 13:53:34     INFO -   8  xul.dll!nsCOMPtr<nsIRunnable>::~nsCOMPtr() [nsCOMPtr.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 344]
[task 2025-04-26T13:53:34.932Z] 13:53:34     INFO -      Found by: inlining
[task 2025-04-26T13:53:34.932Z] 13:53:34     INFO -   9  xul.dll!mozilla::TaskQueue::Dispatch(already_AddRefed<nsIRunnable>, unsigned int) [TaskQueue.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 80 + 0xf]
[task 2025-04-26T13:53:34.933Z] 13:53:34     INFO -       eip = 0x6add7397    esp = 0x1443f2cc    ebp = 0x1443f37c    ebx = 0x13f93ee0
[task 2025-04-26T13:53:34.933Z] 13:53:34     INFO -       esi = 0x12395b60    edi = 0x13f93efc
[task 2025-04-26T13:53:34.933Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.933Z] 13:53:34     INFO -  10  xul.dll!mozilla::MozPromise<nsTArray<mozilla::net::HttpRetParams>,mozilla::ipc::ResponseRejectReason,1>::ThenValueBase::Dispatch(mozilla::MozPromise<nsTArray<mozilla::net::HttpRetParams>,mozilla::ipc::ResponseRejectReason,1>*) [MozPromise.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 590 + 0x10]
[task 2025-04-26T13:53:34.933Z] 13:53:34     INFO -       eip = 0x6bfb25cb    esp = 0x1443f384    ebp = 0x1443f3ac    ebx = 0x13f93ee0
[task 2025-04-26T13:53:34.934Z] 13:53:34     INFO -       esi = 0x13f97200    edi = 0x12395b60
[task 2025-04-26T13:53:34.934Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.935Z] 13:53:34     INFO -  11  xul.dll!mozilla::MozPromise<RefPtr<nsStartupLock>,nsresult,0>::DispatchAll() [MozPromise.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 1280 + 0x5]
[task 2025-04-26T13:53:34.935Z] 13:53:34     INFO -       eip = 0x6e38c91f    esp = 0x1443f3b4    ebp = 0x1443f3c8    ebx = 0x00000002
[task 2025-04-26T13:53:34.935Z] 13:53:34     INFO -       esi = 0x13f7be40    edi = 0x00000001
[task 2025-04-26T13:53:34.935Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.936Z] 13:53:34     INFO -  12  xul.dll!mozilla::MozPromise<RefPtr<nsStartupLock>,nsresult,0>::Private::Resolve<const RefPtr<nsStartupLock> &>(RefPtr<nsStartupLock> const&, mozilla::StaticString) [MozPromise.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 1366 + 0x6]
[task 2025-04-26T13:53:34.936Z] 13:53:34     INFO -       eip = 0x6e38ca88    esp = 0x1443f3d0    ebp = 0x1443f3dc    ebx = 0x13f7b534
[task 2025-04-26T13:53:34.936Z] 13:53:34     INFO -       esi = 0x13f7be40    edi = 0x13f7be4c
[task 2025-04-26T13:53:34.936Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.937Z] 13:53:34     INFO -  13  xul.dll!mozilla::MozPromise<RefPtr<nsStartupLock>,nsresult,0>::ChainTo(already_AddRefed<mozilla::MozPromise<RefPtr<nsStartupLock>,nsresult,0>::Private>, mozilla::StaticString) [MozPromise.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 1221 + 0x8]
[task 2025-04-26T13:53:34.937Z] 13:53:34     INFO -       eip = 0x6e38d0ec    esp = 0x1443f3e4    ebp = 0x1443f3f8    ebx = 0x13f7be40
[task 2025-04-26T13:53:34.937Z] 13:53:34     INFO -       esi = 0x13f7b51c    edi = 0x13f7b510
[task 2025-04-26T13:53:34.937Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.938Z] 13:53:34     INFO -  14  xul.dll!mozilla::detail::ProxyFunctionRunnable<`lambda at /builds/worker/checkouts/gecko/toolkit/components/remote/nsRemoteService.cpp:129:24',mozilla::MozPromise<RefPtr<nsStartupLock>,nsresult,0> >::Run() [MozPromise.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 1823 + 0x6]
[task 2025-04-26T13:53:34.938Z] 13:53:34     INFO -       eip = 0x6e38ce6f    esp = 0x1443f400    ebp = 0x1443f440    ebx = 0x13ffd7c0
[task 2025-04-26T13:53:34.938Z] 13:53:34     INFO -       esi = 0x13f7b510    edi = 0x13ffe6a0
[task 2025-04-26T13:53:34.939Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.939Z] 13:53:34     INFO -  15  xul.dll!mozilla::TaskQueue::Runner::Run() [TaskQueue.cpp:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 260 + 0xd]
[task 2025-04-26T13:53:34.939Z] 13:53:34     INFO -       eip = 0x6add759f    esp = 0x1443f448    ebp = 0x1443f484    ebx = 0x00000000
[task 2025-04-26T13:53:34.939Z] 13:53:34     INFO -       esi = 0x1443f457    edi = 0x13ffd7c0
[task 2025-04-26T13:53:34.940Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.940Z] 13:53:34     INFO -  16  xul.dll!nsThreadPool::Run() [nsThreadPool.cpp:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 456 + 0x10]
[task 2025-04-26T13:53:34.940Z] 13:53:34     INFO -       eip = 0x6add860a    esp = 0x1443f48c    ebp = 0x1443f5d4    ebx = 0x07707b30
[task 2025-04-26T13:53:34.940Z] 13:53:34     INFO -       esi = 0x00000000    edi = 0x07707b40
[task 2025-04-26T13:53:34.940Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.941Z] 13:53:34     INFO -  17  xul.dll!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 1153]
[task 2025-04-26T13:53:34.941Z] 13:53:34     INFO -      Found by: inlining
[task 2025-04-26T13:53:34.941Z] 13:53:34     INFO -  18  xul.dll!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 480 + 0x68a]
[task 2025-04-26T13:53:34.941Z] 13:53:34     INFO -       eip = 0x6adad723    esp = 0x1443f5dc    ebp = 0x1443f810    ebx = 0x07707b30
[task 2025-04-26T13:53:34.942Z] 13:53:34     INFO -       esi = 0x123d8820    edi = 0xffffffff
[task 2025-04-26T13:53:34.942Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.943Z] 13:53:34     INFO -  19  xul.dll!mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [MessagePump.cpp:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 299 + 0xa]
[task 2025-04-26T13:53:34.943Z] 13:53:34     INFO -       eip = 0x6adac563    esp = 0x1443f818    ebp = 0x1443f870    ebx = 0x123d9520
[task 2025-04-26T13:53:34.943Z] 13:53:34     INFO -       esi = 0x123d9530    edi = 0x1443f8e8
[task 2025-04-26T13:53:34.943Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.944Z] 13:53:34     INFO -  20  xul.dll!MessageLoop::RunInternal() [message_loop.cc:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 369]
[task 2025-04-26T13:53:34.944Z] 13:53:34     INFO -      Found by: inlining
[task 2025-04-26T13:53:34.944Z] 13:53:34     INFO -  21  xul.dll!MessageLoop::RunHandler() [message_loop.cc:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 362 + 0x13]
[task 2025-04-26T13:53:34.944Z] 13:53:34     INFO -       eip = 0x69936eff    esp = 0x1443f878    ebp = 0x1443f8a8    ebx = 0x6adac490
[task 2025-04-26T13:53:34.944Z] 13:53:34     INFO -       esi = 0x1443f8e8    edi = 0x123d9520
[task 2025-04-26T13:53:34.945Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.945Z] 13:53:34     INFO -  22  xul.dll!MessageLoop::Run() [message_loop.cc:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 344 + 0x4]
[task 2025-04-26T13:53:34.945Z] 13:53:34     INFO -       eip = 0x69936e7f    esp = 0x1443f8b0    ebp = 0x1443f8cc    ebx = 0x00000017
[task 2025-04-26T13:53:34.946Z] 13:53:34     INFO -       esi = 0x1443f8b0    edi = 0x123c94a0
[task 2025-04-26T13:53:34.946Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.946Z] 13:53:34     INFO -  23  xul.dll!nsThread::ThreadFunc(void*) [nsThread.cpp:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 366 + 0x6]
[task 2025-04-26T13:53:34.947Z] 13:53:34     INFO -       eip = 0x6993bfaf    esp = 0x1443f8d4    ebp = 0x1443f9b8    ebx = 0x00000017
[task 2025-04-26T13:53:34.947Z] 13:53:34     INFO -       esi = 0x1443f8e8    edi = 0x123c94a0
[task 2025-04-26T13:53:34.947Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.947Z] 13:53:34     INFO -  24  nss3.dll!_PR_NativeRunThread(void*) [pruthr.c:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 382 + 0x10]
[task 2025-04-26T13:53:34.947Z] 13:53:34     INFO -       eip = 0x72513a40    esp = 0x1443f9c0    ebp = 0x1443f9ec    ebx = 0x0776aeb0
[task 2025-04-26T13:53:34.948Z] 13:53:34     INFO -       esi = 0x0776aeb0    edi = 0x123c94a0
[task 2025-04-26T13:53:34.948Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.948Z] 13:53:34     INFO -  25  nss3.dll!pr_root(void*) [w95thred.c:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 129 + 0xe]
[task 2025-04-26T13:53:34.948Z] 13:53:34     INFO -       eip = 0x725138f6    esp = 0x1443f9f4    ebp = 0x1443f9fc    ebx = 0x00000000
[task 2025-04-26T13:53:34.949Z] 13:53:34     INFO -       esi = 0x0776aeb0    edi = 0x055a8410
[task 2025-04-26T13:53:34.949Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.950Z] 13:53:34     INFO -  26  ucrtbase.dll!thread_start<unsigned int (__stdcall*)(void *),1> + 0x3a
[task 2025-04-26T13:53:34.950Z] 13:53:34     INFO -       eip = 0x7791e9db    esp = 0x1443fa04    ebp = 0x1443fa34    ebx = 0x00000000
[task 2025-04-26T13:53:34.950Z] 13:53:34     INFO -       esi = 0x725138e0    edi = 0x055a8410
[task 2025-04-26T13:53:34.950Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.951Z] 13:53:34     INFO -  27  kernel32.dll!BaseThreadInitThunk + 0x18
[task 2025-04-26T13:53:34.951Z] 13:53:34     INFO -       eip = 0x76ca5d49    esp = 0x1443fa3c    ebp = 0x1443fa44    ebx = 0x00000000
[task 2025-04-26T13:53:34.951Z] 13:53:34     INFO -       esi = 0x725138e0    edi = 0x055a8410
[task 2025-04-26T13:53:34.951Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.952Z] 13:53:34     INFO -  28  mozglue.dll!mozilla::interceptor::FuncHook<mozilla::interceptor::WindowsDllInterceptor<mozilla::interceptor::VMSharingPolicyShared>,void (*)(int, void *, void *) __attribute__((fastcall))>::operator()(int&, void*&, void*&) const [nsWindowsDllInterceptor.h:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 150]
[task 2025-04-26T13:53:34.952Z] 13:53:34     INFO -      Found by: inlining
[task 2025-04-26T13:53:34.952Z] 13:53:34     INFO -  29  mozglue.dll!patched_BaseThreadInitThunk(int, void*, void*) [WindowsDllBlocklist.cpp:abb54bd1637d7307bf48ee54f9b03759a4f32c54 : 562 + 0x6]
[task 2025-04-26T13:53:34.953Z] 13:53:34     INFO -       eip = 0x72447634    esp = 0x1443fa4c    ebp = 0x1443fa78    ebx = 0x00000000
[task 2025-04-26T13:53:34.953Z] 13:53:34     INFO -       esi = 0x725138e0    edi = 0x055a8410
[task 2025-04-26T13:53:34.953Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.953Z] 13:53:34     INFO -  30  ntdll.dll!__RtlUserThreadStart + 0x2a
[task 2025-04-26T13:53:34.954Z] 13:53:34     INFO -       eip = 0x77e0ce3b    esp = 0x1443fa80    ebp = 0x1443fad0    ebx = 0x055a8410
[task 2025-04-26T13:53:34.954Z] 13:53:34     INFO -       esi = 0x76ca5d30    edi = 0x7791e9a0
[task 2025-04-26T13:53:34.954Z] 13:53:34     INFO -      Found by: call frame info
[task 2025-04-26T13:53:34.954Z] 13:53:34     INFO -  31  ntdll.dll!_RtlUserThreadStart + 0x1a
[task 2025-04-26T13:53:34.954Z] 13:53:34     INFO -       eip = 0x77e0cdc1    esp = 0x1443fad8    ebp = 0x1443fae0    ebx = 0x055a8410
[task 2025-04-26T13:53:34.954Z] 13:53:34     INFO -       esi = 0x76ca5d30    edi = 0x7791e9a0
[task 2025-04-26T13:53:34.955Z] 13:53:34     INFO -      Found by: call frame info
Flags: needinfo?(dtownsend)

Also fails on other platforms, e.g OSX

Summary: Frequent Windows shippable MozPromise::ThenValue created from 'AsyncFlush' destroyed without being [...] (dispatchRv: not dispatched) [@ mozilla::MozPromise<OSInfo,nsresult,0>::ThenValueBase::AssertIsDead] when Gecko 139 merges to beta on 2025-04-28 → Frequent MozPromise::ThenValue created from 'AsyncFlush' destroyed without being [...] (dispatchRv: not dispatched) [@ mozilla::MozPromise<OSInfo,nsresult,0>::ThenValueBase::AssertIsDead] when Gecko 139 merges to beta on 2025-04-28
Assignee: nobody → dtownsend
Status: NEW → ASSIGNED
Duplicate of this bug: 1963112
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/79eb251a424b Properly await async method calls. r=profiles-reviewers,niklas
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Attachment #9484211 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: Slight risk of a crash on shutdown
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: N/A
  • Risk associated with taking this patch: Very low
  • Explanation of risk level: Just assures we wait properly for some operations to complete
  • String changes made/needed: None
  • Is Android affected?: no
Attachment #9484211 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified fixed in today's beta simulation

Status: RESOLVED → VERIFIED
Flags: needinfo?(dtownsend)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: