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

livelock detection on android quit application

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.13.1
    • Fix Version/s: None
    • Component/s: Core: Event loop
    • Labels:
      None
    • Platform/s:
      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
        2. caQtDM.h
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            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