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

livelock detection on android quit application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.13.1
    • Core: Event loop
    • None
    • Android

    Description

      Since android introduced lovelock detection, qt applications quit after 10 minutes. Google analysed the problem and gave us the following answer for there problem:

      The solution is to reap all forked zombies tasks in the application.

      qtMainLoopThread in org.qtproject.example apparently forks a process and does not run wait() on it leaking a process table slot. As a result it also interferes directly with being able to detect kernel live locks and must be fixed. an unkillable Zombie processes is one of the live lock signatures, the desire-able size effect is that llkd finds improper process reaping in native applications. Android requires no leaked zombie processes.

       

      Can you please find a solution!

       

      Best regards

       

      Anton Mezger

      Attachments

        1. caQtDM.cpp
          14 kB
          Anton Mezger
        2. caQtDM.h
          0.1 kB
          Anton Mezger
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            anton.mezger@psi.ch Anton Mezger
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes