Skip to content

BUG: numpy/1.21.4, python3.10-dbg Aborted when running f2py/tests/test_return_integer.py::TestF77ReturnInteger::test_all[t0] #20400

@sandrotosi

Description

@sandrotosi

Describe the issue:

Hello, while preparing numpy 1.21.4 for the newly uploaded to Debian python 3.10.0 interpreted, one of the tests caused the dbg flavor interpreter to crash

Reproduce the code example:

root@zion:/build/numpy-1.21.4/debian# PYTHONPATH=/build/numpy-1.21.4/debian/tmp/usr/lib/python3/dist-packages/ python3.10-dbg -m pytest tmp/usr/lib/python3/dist-packages/numpy/f2py/tests/test_return_integer.py -vvv
/usr/lib/python3/dist-packages/hypothesis/entry_points.py:32: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
  yield from importlib_metadata.entry_points().get("hypothesis", [])
============================================================================================================================= test session starts ==============================================================================================================================
platform linux -- Python 3.10.0+, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 -- /usr/bin/python3.10-dbg
cachedir: .pytest_cache
hypothesis profile 'np.test() profile' -> database=None, deadline=None, print_blob=True, derandomize=True, suppress_health_check=[HealthCheck.data_too_large, HealthCheck.filter_too_much, HealthCheck.too_slow, HealthCheck.return_value, HealthCheck.large_base_example, HealthCheck.not_a_test_method]
rootdir: /build/numpy-1.21.4, configfile: pytest.ini
plugins: hypothesis-5.43.3
collected 20 items                                                                                                                                                                                                                                                             

tmp/usr/lib/python3/dist-packages/numpy/f2py/tests/test_return_integer.py::TestF77ReturnInteger::test_all[t0] Aborted

Error message:

i have a gdb session traceback which i'll post after submit (as it's quite long)

NumPy/Python version information:

1.21.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions