Date: Sat, 25 Jul 2020 15:30:48 +0000 From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 248225] Linuxulator: pthread_join crash Message-ID: <bug-248225-4077-fLvqP4k1zX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-248225-4077@https.bugs.freebsd.org/bugzilla/> References: <bug-248225-4077@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248225 --- Comment #1 from Alex S <iwtcex@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=3Dglibc.git;a=3Dblob;f=3Dnptl/allocatestack.c= ;h=3D4ae4b5a9862f35f7f42ceb775094c85320203cce;hb=3D7ebd114211dcd290efd54e61= 0bbde0765bd7764c#l312 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248225-4077-fLvqP4k1zX>