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. Android 5.1.1 on a Nexus 4 crashes on exit
Forum Updated to NodeBB v4.3 + New Features

Android 5.1.1 on a Nexus 4 crashes on exit

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 511 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    MaxL
    wrote on last edited by
    #1

    Hi all,

    Lately, without doing anything special I am having crashes on Android when exiting my app.
    It is a Nexus 4 running Android 5.1.1

    When hitting the back key to leave the app I get the following warning in Qt:
    Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[14,tid=21176,Native,Thread*=0xb8a8e1c8,peer=0x32d5e0a0,"QtThread"]

    I thought this was fixed with: https://codereview.qt-project.org/#/c/105855/

    I tried to catch it with the debugger but it is not catchable, then I get a "My App" stopped warning on the phone.

    If anyone has an idea on how I could get a debugger to stop where I get this that would be great :)

    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