This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients xdegaye
Date 2019-11-22.10:36:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574418996.3.0.483991988661.issue38852@roundup.psfhosted.org>
In-reply-to
Content
Using test and try with _thread.stack_size(new_size), the pthread stack sizes must be set to the following minimums to prevent stack overflow and get a RecursionError:
  * debug builds:    7 Mb
  * no-debug builds: 1 Mb

The default stack size for the main thread does not need to be changed as test test_exceptions.ExceptionTests.testInfiniteRecursion is ok for both build types.

PR 17337 sets the thread stack size to 8 Mb for debug builds on android platforms.
History
Date User Action Args
2019-11-22 10:36:36xdegayesetrecipients: + xdegaye
2019-11-22 10:36:36xdegayesetmessageid: <1574418996.3.0.483991988661.issue38852@roundup.psfhosted.org>
2019-11-22 10:36:36xdegayelinkissue38852 messages
2019-11-22 10:36:36xdegayecreate