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

All applications based on Qt or launched from under the environment have ceased to be executed.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 5.11.1, 5.11.2
    • Build System, Core: Other
    • Wndows 10 x64
      Qt 5.11.2, Creator 4.7.1, build system - qbs 1.12.1
      Projects: c++11/14
    • Windows

    Description

      After upgrading Qt components (5.11.1 to 5.11.2, Qt Creator to 4.7.1), any applications that were assembled both before and after components update (collected using updated components) stopped executing, issuing the exit code to the output console:

      -1073741511

      One of the applications (console, using Qt):

      • Source code:
       // main.cpp
       #include <QCoreApplication>
      
      int main(int argc, char *argv[])
       {
       QCoreApplication a(argc, argv);
       return a.exec();
       }
      
      // test_app.qbs
       Project {
         minimumQbsVersion: "1.7.1"
         CppApplication {
           Depends { name: "Qt" submodules: [ "core" ] }
      
           Properties { condition: Qt.core.staticBuild cpp.driverFlags: [ "-static", "-static-libgcc", ] }
      
           cpp.cxxLanguageVersion: "c++14"
           cpp.cLanguageVersion: "c11"
      
           cpp.cxxFlags: "-std=c++14"
      
           cpp.defines: [
             "QT_DEPRECATED_WARNINGS",
             //"QT_DISABLE_DEPRECATED_BEFORE=0x060000" // disables all the APIs deprecated before Qt 6.0.0
           ]
           consoleApplication: true
           files: [
             "main.cpp",
           ]
           Group { fileTagsFilter: "application" qbs.install: true }
      
           }
      }
      
      • Build log:
       compiling main.cpp [test_app]
       linking tlm_ddosapp.exe [test_app]
      
      • Run log:
       11:20:28: Запускается V:\project\qt\cpp\build-test_app-Desktop_Qt_5_11_2_MinGW_32bit-Debug\qtc_Desktop_Qt_5_11_2_MinGW_32bit_Debug\install-root
      test_app.exe...
       11:20:28: V:/project/qt/cpp/build-test_app-Desktop_Qt_5_11_2_MinGW_32bit-Debug/qtc_Desktop_Qt_5_11_2_MinGW_32bit_Debug/install-root//test_app.exe завершился с кодом -1073741511
      

      Projects created without Qt (pure c++) are not launched from under the environment, but are executed during the direct launch of the builded application.

       
      UPD1:
      I transferred this project to another PC, where the working version of Qt is installed (Qt 5.9.1, Qt Creator 4.5.2).
      Completed build and run
      The application was assembled and executed normally.

      UPD2:
      When I tried to run this project with debugging, the debugger showed an exception:

      During startup program exited with code 0xc0000139.
      

       

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            the_netos Alexander Onishchuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes