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

QStringLiteral() would cause the application crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.9.5, 5.9.6
    • None
    • Windows

    Description

      In B.dll

          QCoreApplication::setOrgnization(QStringLiteral(....));

       

      In A.exe

           Qlibrary library("A.dll");

           library.load();

           //  do something

           library.unload();

       

      Then when close the application, the application would crash. This is due to a pointer to the memory in A.dll has been set to some values in QtCore.dll .

       

       

       

       

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            joshion_weiss Joshion Way
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes