New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault on major GC collection if GC hooks are installed #4899
Comments
Attaching a file with the bt from coredump. |
I can't reproduce with the official 7.3.1 build from https://downloads.python.org/pypy/pypy3.6-v7.3.1-linux64.tar.bz2 on WSL (Ubuntu), can you?
Maybe it only triggers on debug builds? |
the backtrace shows an |
I tried locally with the proposed PyPy binary and the one I had before - I can not reproduce this issue if the interpreter is built without debug headers. But if debug headers are present - we need to choose between using hooks or trying to get the actual core dump, for which the debug headers were added. |
OK, the above PR should fix this issue on pypy2. Will merge into the 3.9 and 3.10 branches as soon as my home internet gets fixed. |
Closing since the 7.3.16 release has this fix. Please reopen if I misunderstood |
Dears,
I've noticed a segmentation fault if GC hooks are installed.
STR:
Install GC hooks according to https://doc.pypy.org/en/latest/gc_info.html
Load the interpreter with some data operations to trigger GC Major collection.
PyPy version:
The code that reproduces the issue:
Please let me know if additional info is required.
The text was updated successfully, but these errors were encountered: