Open Bug 1843578 Opened 3 years ago Updated 2 years ago

Crash in [@ Microsoft::WRL::Details::RuntimeClassImpl<T>::QueryInterface]

Categories

(Core :: Widget: Win32, defect, P3)

Unspecified
Windows
defect

Tracking

()

People

(Reporter: RyanVM, Unassigned)

Details

(Keywords: crash, Whiteboard: [win:stability])

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/d03863f6-b913-4801-96e2-24b400230714

Reason: EXCEPTION_ILLEGAL_INSTRUCTION

Top 10 frames of crashing thread:

0  xul.dll  Microsoft::WRL::Details::RuntimeClassImpl<Microsoft::WRL::RuntimeClassFlags<2>, 1, 0, 1, ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::UI::ViewManagement::UISettings*, ABI::Windows::UI::ViewManagement::UISettingsAutoHideScrollBarsChangedEventArgs*> >::QueryInterface  /builds/worker/fetches/vs/Windows Kits/10/Include/10.0.19041.0/winrt/wrl/implements.h:1575
1  Windows.UI.dll  long Microsoft::WRL::Details::CreateAgileHelper<struct Windows::Foundation::ITypedEventHandler<class Windows::UI::ViewManagement::UISettings*, class Windows::UI::ViewManagement::UISettingsAutoHideScrollBarsChangedEventArgs*> >  
2  Windows.UI.dll  virtual long Windows::UI::ViewManagement::UISettings::add_AutoHideScrollBarsChanged  
3  xul.dll  GetUISettings  widget/windows/WindowsUIUtils.cpp:371
4  xul.dll  WindowsUIUtils::GetAccentColor  widget/windows/WindowsUIUtils.cpp:431
5  xul.dll  nsLookAndFeel::EnsureInit  widget/windows/nsLookAndFeel.cpp:863
6  xul.dll  nsLookAndFeel::NativeGetInt  widget/windows/nsLookAndFeel.cpp:432
7  xul.dll  nsXPLookAndFeel::GetIntValue  widget/nsXPLookAndFeel.cpp:1047
7  xul.dll  mozilla::LookAndFeel::GetInt  widget/nsXPLookAndFeel.cpp:1500
8  xul.dll  mozilla::LookAndFeel::GetInt  widget/LookAndFeel.h:501
Severity: -- → S3
Priority: -- → P3
Whiteboard: [win:stability]

This is just an internal helper method for implementing QueryInterface. The crashes associated with it seem to be pretty heterogenous, and probably shouldn't be bucketed together.

@gsvelto: would it be feasible and/or reasonable to not abstract over T for this class when computing signatures? Or, alternatively, to just remove it from consideration for signature-generation?

Flags: needinfo?(gsvelto)

I don't think we can, but I'll defer the question to Will who maintains the crash signature generation.

Flags: needinfo?(gsvelto) → needinfo?(willkg)

Sounds related to bug #1553974 or bug #1652969. We don't have the ability to selectively abstract over <...> currently.

Flags: needinfo?(willkg)
You need to log in before you can comment on or make changes to this bug.