Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-137267

[Win] App crashed because can not find primary monitor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.7.3, 6.8.3
    • WebEngine
    • None
    • Windows

    Description

      Observing this when analyzing our users' crashes in Sentry.

      Unhandled exception at 0x00007FFA96E2B699 (KERNELBASE.dll) in 96df0fc3-5f3a-4285-91f6-7fd60a998dda.dmp: 0xE06D7363: Microsoft C++ Exception (parameters: 0x0000000019930520, 0x0000006B9AEFB5C0, 0x00007FF9C001A9B0, 0x00007FF9B7E90000).
      

      Call stack:

       	KERNELBASE.dll!00007ffa96e2b699()	Unknown
       	VCRUNTIME140.dll!00007ffa7c385267()	Unknown
       	Qt6WebEngineCore.dll!__scrt_throw_std_bad_alloc() Line 35	C++
       	Qt6WebEngineCore.dll!operator new(unsigned __int64 size) Line 49	C++
       	[Inline Frame] Qt6WebEngineCore.dll!std::_Default_allocate_traits::_Allocate(const unsigned __int64) Line 136	C++
       	Qt6WebEngineCore.dll!std::_Allocate_manually_vector_aligned<std::_Default_allocate_traits>(const unsigned __int64 _Bytes) Line 189	C++
       	[Inline Frame] Qt6WebEngineCore.dll!std::_Allocate(const unsigned __int64) Line 253	C++
       	[Inline Frame] Qt6WebEngineCore.dll!std::allocator<char>::allocate(const unsigned __int64) Line 986	C++
       	[Inline Frame] Qt6WebEngineCore.dll!std::_Allocate_at_least_helper(std::allocator<char> &) Line 2266	C++
       	[Inline Frame] Qt6WebEngineCore.dll!std::string::_Allocate_for_capacity(std::allocator<char> &) Line 805	C++
       	Qt6WebEngineCore.dll!std::string::_Reallocate_for<`std::string::assign'::`2'::<lambda_1>,char const *>(const unsigned __int64 _New_size, std::string::assign::__l2::<lambda_1> _Fn, const char * <_Args_0>) Line 2969	C++
       	[Inline Frame] Qt6WebEngineCore.dll!std::string::assign(const char * const) Line 1604	C++
       	Qt6WebEngineCore.dll!std::string::operator=(const std::string & _Right) Line 1412	C++
       	Qt6WebEngineCore.dll!display::win::internal::DisplayInfo::DisplayInfo(const display::win::internal::DisplayInfo & other) Line 43	C++
      >	Qt6WebEngineCore.dll!display::win::`anonymous namespace'::DisplayInfosToScreenWinDisplays(const std::vector<display::win::internal::DisplayInfo,std::allocator<display::win::internal::DisplayInfo>> & display_infos, display::win::ColorProfileReader * color_profile_reader, gfx::mojom::DXGIInfo * dxgi_info) Line 331	C++
       	Qt6WebEngineCore.dll!display::win::ScreenWin::UpdateFromDisplayInfos(const std::vector<display::win::internal::DisplayInfo,std::allocator<display::win::internal::DisplayInfo>> & display_infos) Line 822	C++
       	Qt6WebEngineCore.dll!display::win::ScreenWin::UpdateAllDisplaysAndNotify() Line 914	C++
       	Qt6WebEngineCore.dll!display::win::ScreenWin::OnWndProc(HWND__ * hwnd, unsigned int message, unsigned __int64 wparam, __int64 lparam) Line 896	C++
       	[Inline Frame] Qt6WebEngineCore.dll!base::RepeatingCallback<void __cdecl(HWND__ *,unsigned int,unsigned __int64,__int64)>::Run(HWND__ *) Line 344	C++
       	Qt6WebEngineCore.dll!gfx::SingletonHwndObserver::OnWndProc(HWND__ * hwnd, unsigned int message, unsigned __int64 wparam, __int64 lparam) Line 32	C++
       	Qt6WebEngineCore.dll!gfx::SingletonHwnd::ProcessWindowMessage(HWND__ * window, unsigned int message, unsigned __int64 wparam, __int64 lparam, __int64 & result, unsigned long msg_map_id) Line 34	C++
       	Qt6WebEngineCore.dll!gfx::WindowImpl::OnWndProc(unsigned int message, unsigned __int64 w_param, __int64 l_param) Line 275	C++
       	Qt6WebEngineCore.dll!gfx::WindowImpl::WndProc(HWND__ * hwnd, unsigned int message, unsigned __int64 w_param, __int64 l_param) Line 310	C++
       	Qt6WebEngineCore.dll!base::win::WrappedWindowProc<&gfx::WindowImpl::WndProc>(HWND__ * hwnd, unsigned int message, unsigned __int64 wparam, __int64 lparam) Line 74	C++
       	[External Code]	
       	Qt6Core.dll!QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 487	C++
       	Qt6Gui.dll!QWindowsGuiEventDispatcher::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 37	C++
       	[Inline Frame] Qt6Core.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag>) Line 103	C++
       	Qt6Core.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 184	C++
       	Qt6Core.dll!QCoreApplication::exec() Line 1520	C++
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            studiosus Vladimir Belyavsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes