Open Bug 1999259 Opened 14 days ago Updated 1 day ago

Crash in [@ mozilla::EventTargetChainItem::PostHandleEvent] caused by infinite recursion in AppWindow::Center()

Categories

(Core :: Window Management, defect)

defect

Tracking

()

People

(Reporter: gsvelto, Unassigned)

References

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/13004f3f-09d7-4b02-8194-9a3660251105

Reason:

SIGSEGV / SEGV_MAPERR

Top 10 frames:

0  libxul.so  mozilla::RefPtrTraits<nsISupports>::AddRef(nsISupports*)  mfbt/RefPtr.h:48
0  libxul.so  nsCOMPtr<nsISupports>::assign_with_AddRef(nsISupports*)  xpcom/base/nsCOMPtr.h:811
0  libxul.so  nsCOMPtr<nsISupports>::operator=(nsCOMPtr<nsISupports> const&)  xpcom/base/nsCOMPtr.h:564
0  libxul.so  mozilla::EventTargetChainItem::PostHandleEvent(mozilla::EventChainPostVisitor&)  dom/events/EventDispatcher.cpp:485
0  libxul.so  mozilla::EventTargetChainItem::HandleEventTargetChain(nsTArray<mozilla::Event...  dom/events/EventDispatcher.cpp:609
1  libxul.so  mozilla::EventTargetChainItem::HandleEventTargetChain(nsTArray<mozilla::Event...  dom/events/EventDispatcher.cpp:686
2  libxul.so  mozilla::EventDispatcher::Dispatch(mozilla::dom::EventTarget*, nsPresContext*...  dom/events/EventDispatcher.cpp:1260
3  libxul.so  mozilla::EventDispatcher::DispatchDOMEvent(mozilla::dom::EventTarget*, mozill...  dom/events/EventDispatcher.cpp:0
4  libxul.so  mozilla::DOMEventTargetHelper::DispatchEvent(mozilla::dom::Event&, mozilla::d...  dom/base/nsWindowRoot.cpp:83
5  libxul.so  nsContentUtils::DispatchChromeEvent(mozilla::dom::Document*, mozilla::dom::Ev...  dom/base/nsContentUtils.cpp:5671

These bugs appear to be stack-overflows caused by AppWindow::Center() calling itself in a loop at this line. Disregard the other crashes under this signatures that are not on nightly, this seems to be a recent issue (that started with November 4th builds) and only affects nightly for the time being.

I found a second signature for this crash.

Crash Signature: [@ mozilla::EventTargetChainItem::PostHandleEvent] → [@ mozilla::EventTargetChainItem::HandleEvent] [@ mozilla::EventTargetChainItem::PostHandleEvent]
Component: Widget: Gtk → Window Management
See Also: → 1998188
You need to log in before you can comment on or make changes to this bug.