Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.12.2
-
Qt 5.12.2, NDK r19c, JDK 1.8.0_191, Android SDK 26 (or 28 too)
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.