Deadlock joining threads introduced by HPCC-15362

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.

Conclusion

None

relates to

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Created June 8, 2016 at 5:13 PM
Updated October 10, 2016 at 6:15 PM
Resolved June 9, 2016 at 10:36 AM

Flag notifications