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

android: Switching between apps may crash Qt apps

    XMLWordPrintable

Details

    • Android
    • 2022wk50FOQtforAndroid, 2022wk52FOQtforAndroid, 2024wk14FOQtforAndroid, 2024wk16FOQtforAndroid

    Description

      Run attached example, then repeatedly switch between apps through the Recents screen. Sometimes the attached example crashes on resume with something like this in the logs and before this it seems that Qt side did not emit applicationState change to suspend:

      11-15 10:17:40.334   591   616 W ActivityManager: Activity stop timeout for ActivityRecord{c08f495 u0 com.myapp.qt5.form500.poc/.My7000App t123}
      11-15 10:17:40.334   591   616 I ActivityManager: Activity reported stop, but no longer stopping: ActivityRecord{c08f495 u0 com.myapp.qt5.form500.poc/.My7000App t123}
      

      Can be reproduced at least on Olivetti Form500.

      Attachments

        1. qtbug108625_qt6.tar.gz
          109 kB
          Joni Poikelin
        2. qtbug108625.tar.gz
          108 kB
          Joni Poikelin
        3. QTBUG-108625-np1-andr14.mp4
          19.16 MB
          Rami Potinkara
        4. QTBUG-108625-np1-andr14-qt51511-newrepro.mp4
          27.37 MB
          Rami Potinkara
        5. QTBUG-108625-np1-andr14-qt641-newrepro-logcat.txt
          1.47 MB
          Rami Potinkara

        Issue Links

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

          Activity

            People

              rampe Rami Potinkara
              poikelin Joni Poikelin
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes