-
Notifications
You must be signed in to change notification settings - Fork 87
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
Segfault when using pthread_cancel #800
Comments
This will be broken because we are not delivering signals to the correct thread (see #644). |
@vtikoo, I think the |
@davidchisnall I tried adding a breakpoint at the entry of |
@KenGordon is working on fixing signal delivery to the correct thread. |
When running the following test:
Both myself and @vtikoo get a segfault fairly early on.
Backtrace follows:
Given the backtrace, this might be connected to our various signal problems. However, that isn't known yet so I wanted to open this issue to keep track of this problem.
A slight variation on this is that with the following version, the application will eventually hang (for me, always after the creation of 255 threads):
note the only difference from the first one is the lack of the
sleep(1)
call inmain
.The text was updated successfully, but these errors were encountered: