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

Hang in QFbVtHandler when application has its own signal handling

XMLWordPrintable

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

      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).

        1. main.cpp
          0.6 kB
          Troels Nilsson
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes