Open Jason-KChen opened 4 years ago
@JKChenFZ I'm seeing sporadic hangs in some of our other tests as well (cpp/promise/async_future_await_at) that use put and wait. I'm working on finding when the issue was introduced, but at the moment I'm all the way back to this commit and the issue still exists:
commit 01aafbf4a516b20289e890b07b099537420cb23b Merge: ae2801e bfff5c4 Author: Max Grossman jmaxg3@gmail.com Date: Sun May 17 09:28:25 2020 -0700
Merge pull request #83 from habanero-rice/access_promise_from_future
Some new async APIs, small formatting and comments changes
Just wanted to say thanks for calling this out, and let you know I'm looking in to it.
I suspect this may be the same issue as:
I am running into a possible deadlock scenario when running the attached code without
HCLIB_LOCALITY_FILE
and with two workers.The
promises
andwaits
were executed just fine but it seems like the tasks themselves never finish for some reason. I am able to reproduce this issue about 7 out of 10 runs on my machine. @srirajpaul was also able to reproduce this.