[Bug 206384] llvm libunwind segfaults while building lang/polyml

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 19 19:02:50 UTC 2016


--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
This is happening because libunwind steps on the thread stack guard page.

libpolyml/sighandler.cpp for the signal handler thread calls
pthread_attr_setstacksize(min(4096, PTHREAD_STACK_MIN)) - on FreeBSD/x86
PTHREAD_STACK_MIN is 2k so we end up with the 4k min, but it seems
llvm-libunwind needs more stack space for the _Unwind_ForcedUnwind.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list