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

On some occasion QScreen::devicePixelRatio() crashes.

    XMLWordPrintable

Details

    • dbbe77e19ca48b6bffe73e0e1a434afe322a22d8

    Description

      There is no fixed step to reproduce this But generally it is found that when users frequently connect/disconnect an external 4k monitor then devicePixelRatio crashes with following stack.

      
      ``` 
      0 Qt5Gui.dll!QScreen::devicePixelRatio() [qscreen.cpp : 292 + 0x0] 
      1 Qt5WebEngineCore.dll!QtWebEngineCore::GetScreenInfoFromNativeWindow(QWindow *,blink::WebScreenInfo *) [chromium_overrides.cpp : 71 + 0x6] 
      2 Qt5WebEngineCore.dll!QtWebEngineCore::RenderWidgetHostViewQt::GetScreenInfo(blink::WebScreenInfo *) [render_widget_host_view_qt.cpp : 712 + 0xb] 
      3 Qt5WebEngineCore.dll!content::RenderWidgetHostImpl::GetWebScreenInfo(blink::WebScreenInfo *) [render_widget_host_impl.cc : 1132 + 0x10] 
      4 Qt5WebEngineCore.dll!content::RenderWidgetHostImpl::GetResizeParams(ViewMsg_Resize_Params *) [render_widget_host_impl.cc : 581 + 0x14] 
      5 Qt5WebEngineCore.dll!content::RenderWidgetHostImpl::WasResized() [render_widget_host_impl.cc : 640 + 0x8] 
      6 Qt5WebEngineCore.dll!content::RenderViewHostImpl::OnRenderViewReady() [render_view_host_impl.cc : 1029 + 0x10] 
      7 Qt5WebEngineCore.dll!IPC::Message::Dispatch<content::ChildThreadImpl,content::ChildThreadImpl,void>(IPC::Message const *,content::ChildThreadImpl *,content::ChildThreadImpl *,void *,void ( content::ChildThreadImpl::*)(void)) [ipc_message.h : 148 + 0x17] 
      8 Qt5WebEngineCore.dll!content::RenderViewHostImpl::OnMessageReceived(IPC::Message const &) [render_view_host_impl.cc : 903 + 0x4b] 
      9 Qt5WebEngineCore.dll!content::RenderProcessHostImpl::OnMessageReceived(IPC::Message const &) [render_process_host_impl.cc : 1569 + 0x7] 
      ... (truncated) 
      
      

      Attachments

        1. device_pixel_ratio (1).txt
          4 kB
        2. diag (1).txt
          5 kB
        3. qtdiag.txt
          6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andysh Andy Shaw
            irfan.omair@digia.com Irfan Omair
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes