Skip to content
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

Crash in multi-thread scenarios #7227

Closed
chenyidu opened this issue Aug 12, 2021 · 3 comments
Closed

Crash in multi-thread scenarios #7227

chenyidu opened this issue Aug 12, 2021 · 3 comments
Labels

Comments

@chenyidu
Copy link
Contributor

Describe the bug

#6265 removed the following code so that ucp_tag_probe_nb() is no longer multithread safe, even if I configured --enable-mt.
image

In my case, there are multiple threads calling ucp_worker_progress(), and there is another thread executing ucp_tag_probe_nb(). Sometimes, ucp_tag_probe_nb() can not probe the incoming tag message. And sometimes, it just crashes.

In my opinion, this is a bug, and I don't quite understand why these two lines of code were deleted.

@chenyidu chenyidu added the Bug label Aug 12, 2021
@chenyidu
Copy link
Contributor Author

@brminich Can you tell me why these codes were deleted?

@brminich
Copy link
Contributor

@chenyidu, it is a bug, needs to be reverted back

@brminich
Copy link
Contributor

#7228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants