Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-131338: Disable new stack size code for non-glibc.#134336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -442,7 +442,8 @@ _Py_InitializeRecursionLimits(PyThreadState *tstate) | ||
_tstate->c_stack_soft_limit = _tstate->c_stack_hard_limit + PYOS_STACK_MARGIN_BYTES; | ||
#else | ||
uintptr_t here_addr = _Py_get_machine_stack_pointer(); | ||
# if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(_AIX) && \ | ||
!defined(__NetBSD__) && defined(__GLIBC__) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I don't think that this call is correct. It disables the call on FreeBSD. Maybe check for "glibc or not Linux"? | ||
size_t stack_size, guard_size; | ||
void *stack_addr; | ||
pthread_attr_t attr; | ||
Uh oh!
There was an error while loading.Please reload this page.