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

Swipe to terminate app will cause QarthPatchMonintor::CheckNotifyEvent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • 5.15
    • 5.12.8, 5.13.2
    • QPA
    • None
    • Android
    • 2020wk36

      It can be reproduced with any qt samples, the following case is qt sample qmlsurfacelayers.

      After trying to close the application by swiping, it will generate the following crash:

      There are also similar issues:
      https://developernote.com/2020/05/qt-app-is-deactivated-incorrectly-on-android-10-in-gesture-mode/

      https://stackoverflow.com/questions/61321845/qt-app-crashes-at-the-destructor-of-stdthread-on-android-10-devices

       

      Tested device: Huawei FLA-AL20 

      Android version: 9

      EMUI version: 9.1.0

       

       

      D ViewRootImpl[QtActivity]: surface should not be released

      E libc++abi: terminating

      F libc : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 20197 (qtMainLoopThrea), pid 20023 (mlsurfacelayers)

      I mlsurfacelayer: QarthPatchMonintor::CheckNotifyEvent after read, length = -1

      06-08 09:59:40.978 20023 20055 I mlsurfacelayer:

      I mlsurfacelayer: QarthPatchMonintor::CheckNotifyEvent

      06-08 09:59:40.978 20023 20055 I mlsurfacelayer:

      I mlsurfacelayer: QarthPatchMonintor::CheckNotifyEvent before read

      06-08 09:59:40.978 20023 20055 I mlsurfacelayer:

      I mlsurfacelayer: QarthPatchMonintor::CheckNotifyEvent after read, length = -1

      06-08 09:59:40.978 20023 20055 I mlsurfacelayer:

      I mlsurfacelayer: QarthPatchMonintor::CheckNotifyEvent

      06-08 09:59:40.978 20023 20055 I mlsurfacelayer:

      I mlsurfacelayer: QarthPatchMonintor::CheckNotifyEvent before read

      06-08 09:59:40.978 20023 20055 I mlsurfacelayer:

      I mlsurfacelayer: QarthPatchMonintor::CheckNotifyEvent after read, length = -1

      06-08 09:59:40.978 20023 20055 I mlsurfacelayer:

      I mlsurfacelayer: QarthPatchMonintor::CheckNotifyEvent

       

       stack-trace: 
      #00 pc 0000000000022988 /system/lib64/libc.so (abort+116) 
      #01 pc 0000000000047694 /system/lib64/libc++.so (abort_message+248) 
      #02 pc 00000000000477b0 /system/lib64/libc++.so (demangling_terminate_handler()+44) 
      #03 pc 0000000000059f3c /system/lib64/libc++.so (std::__terminate(void ())+12) 
      #04 pc 0000000000059fc4 /system/lib64/libc++.so (std::terminate()+72) 
      #05 pc 00000000000b2380 /system/lib64/libc++.so (std::__1::thread::~thread()+20) 
      #06 pc 000000000008626c /system/lib64/libc.so (__cxa_finalize+196) 
      #07 pc 000000000001c798 /system/lib64/libc.so (exit+24) 
      #08 pc 000000000002ff8c /data/data/com.mydomain.abc/qt-reserved-files/plugins/platforms/android/libqtforandroid.so

       

      devices:
      Huawei nova 3i (HWINE), 3840MB RAM, Android 9
      Huawei FIG-LX1 (HWFIG-H), 2816MB RAM, Android 9
      Huawei HUAWEI Y9 Prime 2019 (HWSTK-HF), 3840MB RAM, Android 9
       
       
       

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

            assam Assam Boudjelthia
            bugman Vico Liang
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes