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

Crash in QNetworkReply while in metaDataChanged slot

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Component/s: Network: HTTP
    • Labels:
      None

      Description

      We get some crashes in Google PlayStore Console.

      This stacktrace is from a Samsung Galaxy S10 with Android 10 (SDK 29) and arm64 build.

      #00 0x00000000000543a4 /data/app/.../lib/arm64/libQt5Network_arm64-v8a.so (QNetworkReply::request() const)
                     QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator->() const
                     /.../src/qt/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h:118:16
                     decltype(fp.operator->()) qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const>(QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const&)
                     /.../src/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1135:0
                     QNetworkReply::d_func() const
                     /.../src/qt/qtbase/src/network/access/qnetworkreply.h:196:0
                     QNetworkReply::request() const
                     /.../src/qt/qtbase/src/network/access/qnetworkreply.cpp:557:0
      
      #00 0x000000000017f7bc /data/app/.../lib/arm64/libAusweisApp2_arm64-v8a.so governikus::Downloader::onMetadataChanged()
                     /.../source/src/file_provider/Downloader.cpp:79:43
      
      #00 0x00000000002152c4 /data/app/.../lib/arm64/libQt5Core_arm64-v8a.so QtPrivate::QSlotObjectBase::call(QObject*, void**)
                     /.../src/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398:51
                     void doActivate<false>(QObject*, int, void**)
                     /.../src/qt/qtbase/src/corelib/kernel/qobject.cpp:3886:0
                     
      #00 0x00000000000835a8 /data/app/.../lib/arm64/libQt5Network_arm64-v8a.so QNetworkReplyHttpImplPrivate::_q_metaDataChanged()
                     /.../src/qt/qtbase/src/network/access/qnetworkreplyhttpimpl.cpp:2316:13
      

      Our sources: https://github.com/Governikus/AusweisApp2/blob/community/src/file_provider/Downloader.cpp#L79

        Attachments

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

          Activity

            People

            Assignee:
            manordheim Mårten Nordheim
            Reporter:
            misery André Klitzing
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes