-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Large numbers of threads hang in @threads
#32511
Labels
bug
Indicates an unexpected problem or unintended behavior
multithreading
Base.Threads and related functionality
Comments
So far I can't reproduce this on linux even with 16 threads. |
note that you don't seem to need to do anything in the loop, just: |
vtjnash
added a commit
that referenced
this issue
Jul 10, 2019
gotta keep system vs runtime and global vs local straight! fix #32511
vtjnash
added a commit
that referenced
this issue
Jul 11, 2019
gotta keep system vs runtime and global vs local straight! fix #32511
vtjnash
added a commit
that referenced
this issue
Jul 12, 2019
gotta keep system vs runtime and global vs local straight! fix #32511
vtjnash
added a commit
that referenced
this issue
Jul 15, 2019
gotta keep system vs runtime and global vs local straight! fix #32511
vtjnash
added a commit
that referenced
this issue
Jul 15, 2019
gotta keep system vs runtime and global vs local straight! fix #32511
JeffBezanson
pushed a commit
that referenced
this issue
Jul 16, 2019
gotta keep system vs runtime and global vs local straight! fix #32511
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Indicates an unexpected problem or unintended behavior
multithreading
Base.Threads and related functionality
This is non-deterministic (huzzah) but luckily easy enough to trigger. I think using
@benchmark
more reliably triggers it since it's running threaded loops many thousands of times. Here's a test script:And here's a log showing the fact that it hangs approximately 2/5 of the time:
The text was updated successfully, but these errors were encountered: