Hi Alex,

That Armv7 trace looks really weird - the QThread destructor is calling the derived QDaemonThread one?

Regards, Tony


On 26/11/2019 1:02 pm, Alexander Dyagilev wrote:

Hello,

We're getting strange crashes in our Google Console. All of them are from Android 9.

We use Qt 5.12.5.

Armv7 reports are all as the following:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** pid: 0, tid: 0 >>> org.freedownloadmanager.fdm <<< backtrace:
#00 pc 000000000001cf76 /system/lib/libc.so (abort+58)
#01 pc 00000000000834dd /data/app/org.freedownloadmanager.fdm--OVRDQQmEuXHU_lSXwlfxA==/lib/arm/libQt5Core.so #02 pc 0000000000083bc7 /data/app/org.freedownloadmanager.fdm--OVRDQQmEuXHU_lSXwlfxA==/lib/arm/libQt5Core.so (QMessageLogger::fatal(char const*, ...) const+58) #03 pc 00000000000868df /data/app/org.freedownloadmanager.fdm--OVRDQQmEuXHU_lSXwlfxA==/lib/arm/libQt5Core.so (QDaemonThread::~QDaemonThread()+174) #04 pc 0000000000086a8d /data/app/org.freedownloadmanager.fdm--OVRDQQmEuXHU_lSXwlfxA==/lib/arm/libQt5Core.so (QThread::~QThread()+4)

Armv8 reports are even less informative:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** pid: 0, tid: 0 >>> org.freedownloadmanager.fdm <<< backtrace:
#00 pc 0000000000022988 /system/lib64/libc.so (abort+116)
#01 pc 00000000000ad994 /data/app/org.freedownloadmanager.fdm-oQm9cQzA_x7sVQd81KmLCw==/lib/arm64/libQt5Core.so #02 pc 00000000000af078 /data/app/org.freedownloadmanager.fdm-oQm9cQzA_x7sVQd81KmLCw==/lib/arm64/libQt5Core.so (QMessageLogger::fatal(char const*, ...) const+208)

The only qFatal call in the destructor is see in QThread source (https://code.woboq.org/qt5/qtbase/src/corelib/thread/qthread.cpp.html) is this:

qFatal("QThread: Destroyed while thread is still running");

But I'm pretty sure we call QThread::quit and QThread::wait before deleting all QThread objects we create. So it should not be possible that the problem resides on our side.

Any suggestions? Can this be the bug of qt android core? We can't reproduce it and this bug is NOT happening under Windows platform...



_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to