numba: Generator test segfault on linux py3.11
test_gen9 or test_gen9_objmode in numba.tests.test_generators are either segfaulting or hanging and causing the multiproc testsuite to timeout. Problem only occur on Linux and py3.11. Problem has occurred on x64, ppc64le, and aarch64.
Issue first occurred with the commit 201a2f8, merge of https://github.com/numba/numba/pull/8134.
The issue is hard to reproduce. Only consistent reproduction is in the buildfarm and with the buildfarm created package.
Scripts to reproduce:
$ conda create -y -q -n testenv_f8901e13 -c numba/label/pynext_ci -c numba/label/pynext_dev -c conda-forge python=3.11 numba=0.57.0dev0=np1.23py3.11h3611171_g201a2f8d6_1571 numpy=1.24 pyyaml colorama scipy jinja2 cffi ipython flake8
$ conda activate testenv_f8901e13
$ NUMBA_ENABLE_CUDASIM python -m numba.runtests -m 4 -v numba.tests
conda-forge channel is not necessary. Problem has occurred on py3.11 + np1.23 from conda defaults.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 17 (17 by maintainers)
Commits related to this issue
- Remove use of `compile_isolated` from generator tests. As title. Use of `compile_isolated` leads to hard to track down life-time bugs such as that in #8873. Essentially the `CodeLibrary` containing t... — committed to stuartarchibald/numba by stuartarchibald a year ago
- Remove use of `compile_isolated` from generator tests. As title. Use of `compile_isolated` leads to hard to track down life-time bugs such as that in #8873. Essentially the `CodeLibrary` containing t... — committed to gmarkall/numba by stuartarchibald a year ago
Some backtrace:
generator_dealloc()(frame #6) probably being a relevant thing of note.