[issue25342] test_json segfault on OpenBSD

Stefan Krah report at bugs.python.org
Thu Oct 8 08:43:10 EDT 2015


Stefan Krah added the comment:

It's not noise, we also have problems on Windows with test_json.

In theory we should set Py_DEFAULT_RECURSION_LIMIT in Python/ceval.c
to appropriate values for the default OS stack sizes in order to get
a proper RuntimeError instead of a segfault.

For OpenBSD it's clearly too high for the default.  Could you try
to find a safe value (perhaps 500 instead of 1000) for OpenBSD's
default?

----------

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


More information about the Python-bugs-list mailing list