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

Stack corruption crash in Android, AndroidAssetsFileEngineHandler::create

    XMLWordPrintable

Details

    • Android

    Description

      When stress testing android application by activating/deactivating it, there is a crash with stack corruption when loading Android plugin:

      signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
      Abort message: 'stack corruption detected (-fstack-protector)'
      

      Trace:

            #00 pc 0000000000081f74  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 912d2f0939be4d4303cc1040c0f440d3)
            #01 pc 00000000000cc4e8  /apex/com.android.runtime/lib64/bionic/libc.so (__stack_chk_fail+20) (BuildId: 912d2f0939be4d4303cc1040c0f440d3)
            #02 pc 000000000003cee0  /system/lib64/libplugins_platforms_qtforandroid_arm64-v8a.so (AndroidAssetsFileEngineHandler::create(QString const&) const+388) (BuildId: 035d1ce325db4ae191d64cfffdd339c639c71174)
      

      The reproduce rate for this is very low and can happen after few hours of activating/deactivating the application in a stress-test.

      Used Android version is 10, with maximum API level of 29.

      Attachments

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

        Activity

          People

            foxxx Tuukka Kettunen
            jussi_witick Jussi Witick
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes