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

Windows on ARM64 optimized applications (release build) crash on startup

    XMLWordPrintable

Details

    • Windows

    Description

      application that are built optimized/in release mode crash on startup when run on Windows on ARM64. Disabling optimizations for Qt's build help with the bug. The stack trace looks like the following:

      >   Qt6Core.dll!QObjectPrivate::addConnection(int signal, QObjectPrivate::Connection * c) Line 334  C++
          Qt6Core.dll!QObjectPrivate::connectImpl(const QObject * sender, int signal_index, const QObject * receiver, void * * slot, QtPrivate::QSlotObjectBase * slotObj, int type, const int * types, const QMetaObject * senderMetaObject) Line 5046   C++
          Qt6Core.dll!QObject::connectImpl(const QObject * sender, void * * signal, const QObject * receiver, void * * slot, QtPrivate::QSlotObjectBase * slotObj, Qt::ConnectionType type, const int * types, const QMetaObject * senderMetaObject) Line 4974    C++
          [Inline Frame] qwindows.dll!QObject::connect(const QGuiApplication * signal, void(QGuiApplication::*)(Qt::ApplicationState)) Line 291   C++
          qwindows.dll!QWindowsKeyMapper::QWindowsKeyMapper() Line 103    C++
          qwindows.dll!QWindowsContextPrivate::QWindowsContextPrivate() Line 287  C++
          qwindows.dll!QWindowsContext::QWindowsContext() Line 307    C++
          [Inline Frame] qwindows.dll!QWindowsIntegrationPrivate::{ctor}() Line 143   C++
          qwindows.dll!QWindowsIntegration::QWindowsIntegration(const QList<QString> & paramList) Line 298    C++
          qwindows.dll!QWindowsGdiIntegration::QWindowsGdiIntegration(const QList<QString> & paramList) Line 63   C++
          qwindows.dll!QWindowsIntegrationPlugin::create(const QString & system, const QList<QString> & paramList, int & __formal, char * * __formal) Line 110    C++
          [Inline Frame] Qt6Gui.dll!qLoadPlugin(const QFactoryLoader * loader, const QString &) Line 108  C++
          Qt6Gui.dll!QPlatformIntegrationFactory::create(const QString & platform, const QList<QString> & paramList, int & argc, char * * argv, const QString & platformPluginPath) Line 71   C++
          Qt6Gui.dll!init_platform(const QString & pluginNamesWithArguments, const QString & platformPluginPath, const QString & platformThemeName, int & argc, char * * argv) Line 1209  C++
          Qt6Gui.dll!QGuiApplicationPrivate::createPlatformIntegration() Line 1491    C++
          Qt6Gui.dll!QGuiApplicationPrivate::createEventDispatcher() Line 1508    C++
          Qt6Core.dll!QCoreApplicationPrivate::init() Line 848    C++
          Qt6Gui.dll!QGuiApplicationPrivate::init() Line 1534 C++
          Qt6Widgets.dll!QApplicationPrivate::init() Line 496 C++
          Qt6Widgets.dll!QApplication::QApplication(int & argc, char * * argv, int _internal) Line 483    C++
          wiggly.exe!main(int argc, char * * argv) Line 59    C++
          wiggly.exe!WinMain(HINSTANCE__ * __formal, HINSTANCE__ * __formal, char * __formal, int __formal) Line 98   C++
          [External Code] 

      Attachments

        1. new_steps12_log
          1.94 MB
        2. Screenshot 2021-11-19 101751.png
          Screenshot 2021-11-19 101751.png
          88 kB
        3. step12.log
          459 kB

        Issue Links

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

          Activity

            People

              fabiankosmale Fabian Kosmale
              owolff Oliver Wolff
              Votes:
              3 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes