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

QQmlApplicationEngine : SIGFPE Arithmetic exception then run on Android 4.4.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • None
    • 5.6.2, 5.8.0, 5.10.1, 5.12.0
    • {code:java}
      // code placeholder
      {code}
      {code:java}
       
      {code}
      {code:java}
       
      {code}
      {code:java}
       
      {code}
      {code:java}
      // code placeholder
      {code}
    • Android

    Description

      A minimal qml application does not run on emulator Android 4.4.2. Real users have the same problem with Android 4.4.2.

      Exception occurs at instantiation QQmlApplicationEngine engine;

      emptyQml.pro 

      QT += qml quick 
      CONFIG += c++11
      SOURCES += main.cpp 
      qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target
      

       

      main.cpp

      #include <QGuiApplication>
      #include <QQmlApplicationEngine>
      int main(int argc, char *argv[]) {
          QGuiApplication app(argc, argv);
          QQmlApplicationEngine engine; // <=exception is here
          //engine.load(QUrl(QLatin1String("qrc:/main.qml")));
           return app.exec();
      }
      

       

       Tested on x86 emulator with different versions of Qt.

      Attachments

        1. build_console.txt
          156 kB
        2. console_x86-api19-qt5120.txt
          17 kB
        3. run_console.txt
          26 kB

        Issue Links

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

          Activity

            People

              shausman Simon Hausmann
              tolikkon Kondrik
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes