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

Random crashes introduced by window class name conflict between CEF and qtwebenginecore.dll

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • 5.12, 5.15.0
    • WebEngine
    • None
    • Windows

    Description

      In our scenario, we have both CEF and Qt in our software, and we have to keep both.

      Unfortunately, this introduces fatal random crashes. The problem lies in line 127, window_impl.cc. Both CEF and Qt initialize window class with the same name, which leads to conflicts and chaos. 

      To mitigate this issue, I would suggest that Qt makes a tweak in line 127 like:

      base::string16 name = base::string16(WindowImpl::kBaseClassName) + base::IntToString16(registered_count_++) + base::string16(L"_Qt");

       

      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
            jid David Ji
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes