[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2021-09-07 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2019-12-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 00ada2c1d57c5b8b468bad32ff24fa14113ae5c7 by Victor Stinner (xdegaye) in branch 'master': bpo-38852: Set thread stack size to 8 Mb for debug builds on android platforms (GH-17337)

[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2019-11-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: 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

[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2019-11-22 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +16821 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17337 ___ Python tracker

[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2019-11-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: The crash occurs only on debug builds. See the FreeBSD related issue #37906. -- ___ Python tracker ___

[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2019-11-19 Thread Xavier de Gaye
New submission from Xavier de Gaye : Actually it is the script that is spawned by test_recursion_limit that crashes with SIGSEGV on android API 24. Lowering the recursion limit in the script from 1000 to 100 with sys.setrecursionlimit() fixes the problem. Here is the error: