[issue44718] Incorrect arguments in function select() cause segfault

2021-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: The problem is related to recursion, the code basically ends up with an unlimited number of iterations of select.select and test_select_mutated on the call stack and this doesn't trigger the stack depth checker. The following definition of class F triggers

[issue44718] Incorrect arguments in function select() cause segfault

2021-07-22 Thread Xinmeng Xia
New submission from Xinmeng Xia : The following program can trigger segfault on all releases of Python. I think it may be caused by incorrect arguments. Version of Python: 3.6 - master(3.11.0a0) system: ubuntu 16.04 test.py import select def test_select_muta