This does seem to be the source of the loop!
gettimeofday(0x700001CED580, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x100680268, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x7000014D5C90, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x11C611468, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x700001CED580, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x100680268, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x7000014D5C90, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x11C611468, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x700001CED580, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x100680268, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x7000014D5C90, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x11C611468, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x700001CED580, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x100680268, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x7000014D5C90, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x11C611468, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x700001CED580, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x100680268, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x7000014D5C90, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x11C611468, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x700001CED580, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x100680268, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x7000014D5C90, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x11C611468, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x700001CED580, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x100680268, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x7000014D5D08, 0x0, 0x0) = 1437063218 0
gettimeofday(0x7000014D5C90, 0x0, 0x0) = 1437063218 0
gettimeofday(0x7FFF5FBFD240, 0x0, 0x0) = 1437063218 0
gettimeofday(0x7FFF5FBFDEC0, 0x0, 0x0) = 1437063218 0
gettimeofday(0x7FFF5FBFCDD0, 0x0, 0x0) = 1437063218 0
gettimeofday(0x7FFF5FBFDF70, 0x0, 0x0) = 1437063218 0
gettimeofday(0x7FFF5FBFD240, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x11C611468, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x700001CED580, 0x0, 0x0) = 1437063218 0
psynch_cvwait(0x100680268, 0x100000100, 0x0) = -1 Err#316
gettimeofday(0x7000014D5C90, 0x0, 0x0) = 1437063218 0