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

Crash due to QtOpenGLDummyWindow window class being unregistered prematurely

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.9.3
    • GUI: Window management
    • None

    Description

      Calling createDummyGLWindow() (in qwindowsglcontext.cpp) will lead to a call to RegisterClassEx with the class name "QtOpenGLDummyWindow" in QWindowsContext::registerWindowClass().

      In our case this causes a crash in the following scenario:
      When running three (different) audio plugins (VST) that use Qt in a host environment like e.g. Cubase on Windows all of them will register the "QtOpenGLDummyWindow" window class (with the address of the Windows process added as a suffix in case the class name has already been registered, see QWindowsContext::registerWindowClass()).
      When closing the user interfaces of the plugins, then removing the second plugin and then opening the user interface of the third plugin it will crash because the window class "QtOpenGLDummyWindow+processAddress" will have been unregistered already (by the second plugin).

      Attachments

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

        Activity

          People

            smd Jan Arve
            eddie.mond Eddie Mond
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes