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

QVulkanInstance destructor crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • None
    • 5.10.1, 5.11.0 Beta 1
    • GUI: Vulkan
    • None
    • Windows 7 x64

      MSVC 2015 (Update 3)

      Qt 5.11 Beta 1

    Description

      Symptoms: Application crashes inside QVulkanInstance destructor if declared inside DLL

      Steps to reproduce:

      1. in main(), create QGuiApplication
      2. in main(), call LoadLibrary(...) and get pointer to your function inside the DLL
      3. call the function
      4. inside your DLL, declare QVulkanInstance as global variable
      5. inside your DLL's function, call QVulkanInstance::create()
      6. call exit(0)

      During application clean up, destructor of QVulkanInstance is called and it crashes the application.

      Minimal example attached. MSVC 2015 (Update 3) was used. To compile example, update start.bat to set QTDIR to your Qt installation.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            pc-john Jan Pečiva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes