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

Investigate potential crash when unloading dlls that use Qt Quick

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 6.5
    • Active Qt
    • None
    • Windows

    Description

      While investigating QTBUG-56172, we found that the sample app attached to that issue crashed during shutdown even if qAxLock() was called from within the SimpleQmlApp server's initialization function. This could be an indication that Qt Quick apps may cause crash if it is transiently loaded in a dll which is later unloaded independently of COM and Active Qt.

      Aim of task:

      • Understand if unloading crash is isolated to Active Qt or if it is a general problem.

      Steps to reproduce:

      • Compile and register SimpleQmlApp from QTBUG-56172 after adding a call to qAxLock() inside SimpleQmlApp constructor
      • Insert SimpleQmlApp control in testcon sample app from ActiveQt with debugger attached
      • Close testcon

      Expected results

      • Clean shutdown

      Observed results

      • Crash during shutdown

      Attachments

        Issue Links

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

          Activity

            People

              johanseg Jøger Hansegård
              johanseg Jøger Hansegård
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes