Summary: | Thread Stack Size - Segmentation Fault | ||
---|---|---|---|
Product: | Base System | Reporter: | mr-spott |
Component: | threads | Assignee: | freebsd-threads (Nobody) <threads> |
Status: | Closed Feedback Timeout | ||
Severity: | Affects Many People | CC: | emaste, jhb, markj, mr-spott |
Priority: | --- | ||
Version: | 10.1-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
mr-spott
2015-04-30 10:11:10 UTC
I just re-compiled the entire system with the same configuration, and it is still the same results. Why is this happening? Please let me know if I can provide some more information to fix this as soon as possible. Thanks Try setting the environment variable LIBPTHREAD_BIGSTACK_MAIN before starting slapd. This will use the entire RLIMIT_STACK for the initial thread. This is now the default behavior in 10-stable and will be the default in 10.2 (so 10.2 should work out of the box). Can you confirm that this is fixed either in 10.2+ or with LIBPTHREAD_BIGSTACK_MAIN? This PR hasn't seen any activity in a while and it seems that the problem should be fixed on recent versions of FreeBSD. Please reopen if it is still a problem. |