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

Qt 5.12.2 app on Android crashing after QtConcurrent::run() -> slot finished()

    XMLWordPrintable

Details

    • Android

    Description

      This bug happens only on Qt 5.12 (5.12.2 my version) and only on Android (SDK 26, NDK r19c, JDK 1.8.0)

      Simple code to reproduce. In constructor:

       

      this->watcherI = new QFutureWatcher<int>;
      connect(this->watcherI, SIGNAL(finished()), this, SLOT(onJobFinished()));
      

      Then in starter method:

      this->watcherI->setFuture(QtConcurrent::run(this, &concurrent::job));

      Then after successful execution slot onJobFinished app on Android crashing. Not on Windows.

      With message:

      F libc : Fatal signal 5 (SIGTRAP), code 1 in tid 2399 (Thread (pooled))

      I have attached project that reproduce this bug.

      Btw also I found another bug on Qt 5.12.2/Android with QSqlDatabase component. All these bugs in working project, that working fine on Qt 5.11.2 on all platforms. Whats wrong with Qt 5.12/NDK r19c? I am scared that there are much more bugs such it.

       

      Attachments

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

        Activity

          People

            whoistheguilty Tapio Oksa
            no no
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes