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

QWebEngineView crashes on Ctrl+C press

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.5.1
    • 5.5.0
    • WebEngine
    • None
    • Windows 7
      Microsoft Visual C++ Compiler 12.0 (x86)
      Desktop Qt 5.5.0 MSVC2013 32bit
    • I05a4e5a5181c0a2cd83f115e3181902a1e349ed0

    Description

      Qt application crash when user press Ctrl+C on selected text on page loaded via QWebEngineView object.
      Copy to clipboard by component context menu works fine, but I guess this is implemented by QtWebEngineProcess.exe side

      Step to reproduce:
      1. Create new Desktop application project
      2. Create and load any page by QWebEngineView object
      3. select any text on page content
      4. Press Ctrl+C
      5. Watch how nicely Qt crashes

      Backtrace:
      [0827/114416:FATAL:clipboard_qt.cpp(202)] Check failed: IsSupportedClipboardType(type).
      Backtrace:
      QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall [0x1262B6D1+37995249]
      QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall [0x1251A5AF+36876751]
      QtWebEngineCore::WebContentsAdapterClient::operator= [0x101666C8+31592]
      QtWebEngineCore::WebContentsAdapterClient::operator= [0x1016683D+31965]
      QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall [0x107C96BA+6136538]
      QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall [0x107C9187+6135207]
      QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall [0x107C7CE8+6129928]
      QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall [0x107C911A+6135098]
      QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall [0x102574EF+426255]
      QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall [0x12655B2B+38168395]
      QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall [0x125319AD+36971981]
      QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall [0x1252F854+36963444]
      QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall [0x1252FE3D+36964957]
      QtWebEngineCore::WebContentsAdapterClient::operator= [0x10174697+88887]
      QtWebEngineCore::WebContentsAdapterClient::operator= [0x101742B7+87895]
      QSortFilterProxyModel::mapToSource [0x5EBAA021+3202412]
      QAbstractScrollArea::setHorizontalScrollBar [0x5C89548E+211630]
      QAbstractScrollArea::setHorizontalScrollBar [0x5C8918AE+196302]
      QSortFilterProxyModel::mapToSource [0x5EB66B47+2926738]
      QSortFilterProxyModel::mapToSource [0x5EB6F379+2961604]
      QSortFilterProxyModel::mapToSource [0x5EB67C16+2931041]
      QSortFilterProxyModel::mapToSource [0x5EB65622+2921325]
      qt_plugin_query_metadata [0x5C694BA1+262789]
      QSortFilterProxyModel::mapToSource [0x5EBF72B0+3518459]
      gapfnScSendMessage [0x74DB62FA+818]
      GetThreadDesktop [0x74DB6D3A+215]
      CharPrevW [0x74DB77C4+312]
      DispatchMessageW [0x74DB788A+15]
      QSortFilterProxyModel::mapToSource [0x5EBF7DFE+3521353]
      qt_plugin_query_metadata [0x5C694ACC+262576]
      QSortFilterProxyModel::mapToSource [0x5EB628AC+2909687]
      QSortFilterProxyModel::mapToSource [0x5EB62AB2+2910205]
      QSortFilterProxyModel::mapToSource [0x5EB65172+2920125]
      QPainter::drawImage [0x5D8F0E78+394947]
      QAbstractScrollArea::setHorizontalScrollBar [0x5C891509+195369]
      main [0x01236A02+66] (d:\rzaba\klasyfikator\klasyfikator_chrome\main.cpp:5)
      WinMain [0x0128A0BD+173] (c:\work\build\qt5_workdir\w\s\qtbase\src\winmain\qtmain_win.cpp:113)
      __tmainCRTStartup [0x012896DF+575] (f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618)
      WinMainCRTStartup [0x0128949D+13] (f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:466)
      BaseThreadInitThunk [0x74F1336A+18]
      RtlInitializeExceptionChain [0x771A9882+99]
      RtlInitializeExceptionChain [0x771A9855+54]

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            crayze rafal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes