Open Bug 1521477 Opened 3 years ago Updated 11 months ago

Crash in shutdownhang | mozilla::SpinEventLoopUntil<T> | mozilla::dom::StorageObserver::Observe

Categories

(Core :: Storage: localStorage & sessionStorage, defect, P3)

Unspecified
Windows 10
defect

Tracking

()

People

(Reporter: gsvelto, Unassigned)

References

Details

(Keywords: crash, Whiteboard: qa-not-actionable)

Crash Data

This bug is for crash report bp-ecfd2f43-f171-4698-bcb7-10a430190120.

Top 10 frames of crashing thread:

0 ntdll.dll NtWaitForAlertByThreadId 
1 ntdll.dll RtlSleepConditionVariableSRW 
2 kernelbase.dll SleepConditionVariableSRW 
3 mozglue.dll mozilla::detail::ConditionVariableImpl::wait mozglue/misc/ConditionVariable_windows.cpp:50
4 xul.dll mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::EventQueue> >::GetEvent xpcom/threads/ThreadEventQueue.cpp:152
5 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1091
6 xul.dll NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:468
7 xul.dll static bool mozilla::SpinEventLoopUntil<mozilla::ProcessFailureBehavior::ReportToCaller, `lambda at z:/build/build/src/dom/storage/StorageObserver.cpp:409:7'> xpcom/threads/nsThreadUtils.h:335
8 xul.dll mozilla::dom::StorageObserver::Observe dom/storage/StorageObserver.cpp:409
9 xul.dll nsObserverService::NotifyObservers xpcom/ds/nsObserverService.cpp:286

This seems to have been around for a while but I couldn't find it on file.

Priority: -- → P3
Duplicate of this bug: 1565637
Crash Signature: [@ shutdownhang | mozilla::SpinEventLoopUntil<T> | mozilla::dom::StorageObserver::Observe] → [@ shutdownhang | mozilla::SpinEventLoopUntil<T> | mozilla::dom::StorageObserver::Observe] [@ shutdownhang | mozilla::SpinEventLoopUntil<T> | mozilla::storage::Service::Observe]

This seems to have a similar root cause as bug 1542485. Also here we spin the event loop instead of using shutdown blockers.

Crash Signature: [@ shutdownhang | mozilla::SpinEventLoopUntil<T> | mozilla::dom::StorageObserver::Observe] [@ shutdownhang | mozilla::SpinEventLoopUntil<T> | mozilla::storage::Service::Observe] → [@ shutdownhang | mozilla::SpinEventLoopUntil<T> | mozilla::dom::StorageObserver::Observe] [@ shutdownhang | mozilla::SpinEventLoopUntil<T> | mozilla::storage::Service::Observe]
See Also: → qm-shutdown-hangs
Whiteboard: qa-not-actionable
You need to log in before you can comment on or make changes to this bug.