[pypy-issue] Issue #2979: Calling gc.get_objects() in the REPL on PyPy 7.1.0 SEGFAULTs (pypy/pypy)

Oliver Margetts issues-reply at bitbucket.org
Mon Mar 25 16:20:30 EDT 2019


New issue 2979: Calling gc.get_objects() in the REPL on PyPy 7.1.0 SEGFAULTs
https://bitbucket.org/pypy/pypy/issues/2979/calling-gcget_objects-in-the-repl-on-pypy

Oliver Margetts:

# Issue

Under the PyPy 7.1.0 REPL the following happens:
```bash
$ pypy3
Python 3.6.1 (bb0d05b190b9c579f0c889a368636e14f6205bab, Mar 19 2019, 13:27:00)
[PyPy 7.1.0 with GCC 8.2.1 20181127] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>> import gc
>>>> gc.get_objects()
Segmentation fault (core dumped)
```

This does persist after switching to PyPy2 v7.1.0. This does not happen on PyPy 7.0.0, and nor does it happen if one puts this in a `.py` file and runs it.

# Other notes - currently I'm running Arch Linux
```bash
$ uname -a
Linux 5.0.3-arch1-1-ARCH #1 SMP PREEMPT Tue Mar 19 13:09:13 UTC 2019 x86_64 GNU/Linux
```




More information about the pypy-issue mailing list