[Bug 248225] Linuxulator: pthread_join crash
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jul 25 15:30:48 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248225
--- Comment #1 from Alex S <iwtcex at gmail.com> ---
Turns out pthread_join in glibc calls this bit of code [1]:
if (__builtin_expect (stack_cache_actsize > stack_cache_maxsize, 0))
__free_stacks (stack_cache_maxsize);
Consequently, `limit stacksize 8192` (the default value on Linux) gets rid of
crash.
[1]
https://sourceware.org/git/?p=glibc.git;a=blob;f=nptl/allocatestack.c;h=4ae4b5a9862f35f7f42ceb775094c85320203cce;hb=7ebd114211dcd290efd54e610bbde0765bd7764c#l312
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-emulation
mailing list