[issue18049] Re-enable threading test on OSX

Ronald Oussoren report at bugs.python.org
Sat Jul 23 06:56:32 EDT 2016


Ronald Oussoren added the comment:

The patch increases the stack size for threads to slightly less than size as is used for the main thread, see this fragment in configure.ac:

   # Issue #18075: the default maximum stack size (8MBytes) is too
   # small for the default recursion limit. Increase the stack size
   # to ensure that tests don't crash
   LINKFORSHARED="-Wl,-stack_size,1000000 $LINKFORSHARED"

Maybe the patch should be updated to use the same size? 

The disadvantage of any increase of size is that this reduces the number of threads that can be used, in particular for 32-bit builds (64-bit builds have more than enough address space)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18049>
_______________________________________


More information about the Python-bugs-list mailing list