https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248225

--- Comment #1 from Alex S <iwt...@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.
_______________________________________________
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"

Reply via email to