Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-15705

Deadlock joining threads introduced by HPCC-15362

    XMLWordPrintable

    Details

    • Type: Regression
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2.0
    • Component/s: JLib
    • Labels:
      None

      Description

      Not sure how widespread, but all Thor queries seem to stall whilst joining CThreadedPersistent objects, i.e. here:

      #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
      #1 0x00007fdd028bde99 in Semaphore::wait (this=0x7fdcfa5c7f48, timeout=4294967295) at /home/ati/HPCC-Platform/system/jlib/jsem.cpp:60
      #2 0x00007fdd028f2a65 in CThreadedPersistent::join (this=0x7fdcfa5c7e50, timeout=4294967295) at /home/ati/HPCC-Platform/system/jlib/jthread.cpp:609

      Reverting this commit avoided the deadlock.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ghalliday Gavin Halliday
                Reporter:
                jakesmith Jake Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: