Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. ANR/Crash when background services are running and user tries to close the app from recent apps or using back button.
Forum Updated to NodeBB v4.3 + New Features

ANR/Crash when background services are running and user tries to close the app from recent apps or using back button.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 747 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Taher Lkdw
    wrote on last edited by
    #1

    Hello,

    Qt version: 5.15.1
    Devices tested: Samsung S20, OnePlus6

    We are using Qt/qml to create an application for android and iOS. We are
    experiencing ANR/Crash when background services are running and user tries to
    close the app from recent apps or using back button.

    We have integrated android SDK from zoom to implement meeting functionality.
    Zoom SDK runs background services internally. When these background services
    are running and user tries to close the app from recent apps below logs are
    observed:
    Thread[6,tid=21492,WaitingInMainSignalCatcherLoop,Thread*=0x761c03a080,peer=0 x13b80330,"Signal Catcher"]: reacting to signal 3 Wrote stack traces to tombstoned

    And below crash is observed on pressing back button:
    F libc : FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x749863e774) F libc : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 22836 (qtMainLoopThrea), pid 22253

    Note that this crash/ANR is not observed on native android apps with same SDK
    and code. The issue is observed only when
    org.qtproject.qt5.android.bindings.QtActivity is used.

    For native android apps which has activity class extended from
    android.app.Activity doesn't crash or give ANR when background services are
    running and user closes the app.

    Please let us know if there are any inputs.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved