Details
-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
None
-
5.11.1
-
Tested on LGE LG G6 (lucye), Samsung Galaxy A3(2017)
Android 8
Description
On many smartphones the dialog "Improve location accuracy" always appears after activating the location (mostly after deleting the data/cache of the google services app). If this is the case then the QGeoPositionInfoSource does not update the new position and QGeoPositionInfoSource leads to a crash after quit().
1. start app
2. activate the location
3. agree/deny to the dialog "Improve location accuracy"
-> position is not updated
4. quit the app via QGuiApplication::instance()->quit()
-> App crashes dialog appears
SPos::SPos(QObject *parent) : QObject(parent)
{
// Position
m_pQGpis = QGeoPositionInfoSource::createDefaultSource(this);
if (m_pQGpis)
// Satellite
m_pQGsis = QGeoSatelliteInfoSource::createDefaultSource(this);
if (m_pQGsis)
}
// place somewhere in the code
QGuiApplication::instance()->quit();
// error
W libapp.so: (null):0 ((null)): exit app 0
F libapp.so: (null):0 ((null)): satelliteUpdated: source == 0
F libc : Fatal signal 6 (SIGABRT), code -6 in tid 3670 (Thread-6)