Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2016 19:02:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206384] llvm libunwind segfaults while building lang/polyml
Message-ID:  <bug-206384-8-XuQlpDCYQJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206384-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206384-8@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=3D206384

--- Comment #1 from Ed Maste <emaste@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.

--=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-206384-8-XuQlpDCYQJ>