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

android: Switching between apps may crash Qt apps

    XMLWordPrintable

Details

    • Android
    • 2022wk50FOQtforAndroid, 2022wk52FOQtforAndroid, 2023wkXXFOQtforAndroid

    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

        Issue Links

          Activity

            People

              qtandroidteam Qt Android Team
              poikelin Joni Poikelin
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: