<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Alex, <br>
    </p>
    <p>That Armv7 trace looks really weird - the QThread destructor is
      calling the derived QDaemonThread one? <br>
    </p>
    <p>Regards, Tony</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 26/11/2019 1:02 pm, Alexander
      Dyagilev wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:06effcf9-9c56-117e-3aaf-a0ea431789a7@gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p>Hello,</p>
      <p>We're getting strange crashes in our Google Console. All of
        them are from Android 9.</p>
      <p>We use Qt 5.12.5. <br>
      </p>
      <p>Armv7 reports are all as the following:<br>
      </p>
      <div>
        <div class="GNVPVGB-wq-d">
          <div class="gwt-HTML" style="">*** *** *** *** *** *** *** ***
            *** *** *** *** *** *** *** *** pid: 0, tid: 0 >>>
            org.freedownloadmanager.fdm <<< backtrace:</div>
          <div>
            <div class="GNVPVGB-Fq-a">
              <div>
                <div class="gwt-Label GNVPVGB-Fq-b"> #00 pc
                  000000000001cf76 /system/lib/libc.so (abort+58)</div>
              </div>
            </div>
            <div class="GNVPVGB-Fq-a">
              <div>
                <div class="gwt-Label"> #01 pc 00000000000834dd
/data/app/org.freedownloadmanager.fdm--OVRDQQmEuXHU_lSXwlfxA==/lib/arm/libQt5Core.so</div>
              </div>
            </div>
            <div class="GNVPVGB-Fq-a">
              <div>
                <div class="gwt-Label"> #02 pc 0000000000083bc7
/data/app/org.freedownloadmanager.fdm--OVRDQQmEuXHU_lSXwlfxA==/lib/arm/libQt5Core.so
                  (QMessageLogger::fatal(char const*, ...) const+58)</div>
              </div>
            </div>
            <div class="GNVPVGB-Fq-a">
              <div>
                <div class="gwt-Label"> #03 pc 00000000000868df
/data/app/org.freedownloadmanager.fdm--OVRDQQmEuXHU_lSXwlfxA==/lib/arm/libQt5Core.so
                  (QDaemonThread::~QDaemonThread()+174)</div>
              </div>
            </div>
            <div class="GNVPVGB-Fq-a">
              <div>
                <div class="gwt-Label"> #04 pc 0000000000086a8d
/data/app/org.freedownloadmanager.fdm--OVRDQQmEuXHU_lSXwlfxA==/lib/arm/libQt5Core.so
                  (QThread::~QThread()+4)</div>
                <div class="gwt-Label"><br>
                </div>
                <div class="gwt-Label">Armv8 reports are even less
                  informative:</div>
                <div class="gwt-Label"><br>
                </div>
                <div class="gwt-Label">
                  <div>
                    <div class="GNVPVGB-wq-d">
                      <div class="gwt-HTML" style="">*** *** *** *** ***
                        *** *** *** *** *** *** *** *** *** *** *** pid:
                        0, tid: 0 >>>
                        org.freedownloadmanager.fdm <<<
                        backtrace:</div>
                      <div>
                        <div class="GNVPVGB-Fq-a">
                          <div>
                            <div class="gwt-Label GNVPVGB-Fq-b"> #00 pc
                              0000000000022988 /system/lib64/libc.so
                              (abort+116)</div>
                          </div>
                        </div>
                        <div class="GNVPVGB-Fq-a">
                          <div>
                            <div class="gwt-Label"> #01 pc
                              00000000000ad994
/data/app/org.freedownloadmanager.fdm-oQm9cQzA_x7sVQd81KmLCw==/lib/arm64/libQt5Core.so</div>
                          </div>
                        </div>
                        <div class="GNVPVGB-Fq-a">
                          <div>
                            <div class="gwt-Label"> #02 pc
                              00000000000af078
/data/app/org.freedownloadmanager.fdm-oQm9cQzA_x7sVQd81KmLCw==/lib/arm64/libQt5Core.so
                              (QMessageLogger::fatal(char const*, ...)
                              const+208)</div>
                            <div class="gwt-Label"><br>
                            </div>
                            <div class="gwt-Label">The only qFatal call
                              in the destructor is see in QThread source
                              (<a class="moz-txt-link-freetext"
href="https://code.woboq.org/qt5/qtbase/src/corelib/thread/qthread.cpp.html"
                                moz-do-not-send="true">https://code.woboq.org/qt5/qtbase/src/corelib/thread/qthread.cpp.html</a>)
                              is this:</div>
                            <div class="gwt-Label"><br>
                            </div>
                            <div class="gwt-Label">qFatal("QThread:
                              Destroyed while thread is still running");</div>
                            <div class="gwt-Label"><br>
                            </div>
                            <div class="gwt-Label">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. <br>
                            </div>
                            <div class="gwt-Label"><br>
                            </div>
                            <div class="gwt-Label">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...<br>
                            </div>
                            <div class="gwt-Label"><br>
                            </div>
                            <div class="gwt-Label"><br>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Interest mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Interest@qt-project.org">Interest@qt-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.qt-project.org/listinfo/interest">https://lists.qt-project.org/listinfo/interest</a>
</pre>
    </blockquote>
  </body>
</html>