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

Hang in QFbVtHandler when application has its own signal handling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.6
    • 5.5.1
    • Core: Other
    • None

    Description

      There is a hang in QFbVtHandler::handleSignal() if the signal was already handled by the application, since the call to read is blocking (and you can only read the signalfd_siginfo structure if the signal hasn't already been handled). As far as I can see simply making the read non-blocking should fix it.

      Attached simple test case that reproduces the hang (easily seen if you run it under strace).

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            nilsson.troels@gmail.com Troels Nilsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes