Skip to content

Update pthread stack size to work around NetBSD bug#79

Open
michaelShriver wants to merge 2 commits into
PhirePhly:masterfrom
michaelShriver:master
Open

Update pthread stack size to work around NetBSD bug#79
michaelShriver wants to merge 2 commits into
PhirePhly:masterfrom
michaelShriver:master

Conversation

@michaelShriver
Copy link
Copy Markdown

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