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

Update pthread stack size to work around NetBSD bug #79

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

michaelShriver
Copy link

On NetBSD (i386, other architectures untested), the program segfaults in when getaddrinfo() is called from a thread with a small stack size:

https://mail-index.netbsd.org/tech-userlevel/2021/11/28/msg013174.html

I've tweaked the pthread_attr_setstacksize() up a bit to prevent this.

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

Successfully merging this pull request may close these issues.

1 participant