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

Multi-Thread task hangs up. #5

Open
zekungao opened this issue Oct 19, 2022 · 1 comment
Open

Multi-Thread task hangs up. #5

zekungao opened this issue Oct 19, 2022 · 1 comment

Comments

@zekungao
Copy link

Some testcase while repeating the STA calculations, met a problem that the multi-thread task hangs up.
The procedure didn't crash and can be terminated immediately.

The pstack show the final mirror is as:

Thread 1 (process 60192):
#0  0x00007f3c01a6071b in ?? ()
#1  0x0000556e3a7aae65 in sta::DispatchQueue::finishTasks() ()
...

We guess the mutex lock in multi-thread pool has some problem.

@zekungao
Copy link
Author

The hack way to avoid this problem is to use following cmd to forced it to use only 1 thread

set_thread_count 1

But it may makes the STA calculation slower.

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

No branches or pull requests

1 participant