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

[Windows]: When a library using QCoreApplication is unloaded and then loaded again it can cause a crash

    XMLWordPrintable

Details

    • 9832f0ab857904a88c9b5e71a9e447abbebca8fb (qtbase/5.9, 14.12.2017, 5.9.4)

    Description

      [Windows]: When a library using QCoreApplication is unloaded and then loaded again it can cause a crash.

      This is down to the QCoreApplication::applicationFilePath() which has a static const char pointer to d->argv[0] which is not copied. When the library is loaded the second time then this can be pointing to invalid memory.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-58919
          # Subject Branch Project Status CR V

          Activity

            People

              thiago Thiago Macieira
              andysh Andy Shaw
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes