-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Segfault inside of gc/weakref #57738
Comments
I don't have a particularly minimal test case for this, however I am able to reproduce it consistently (so far reproduced on multiple machines, 32-bit and 64-bit on 2.6 and 2.7), using these steps: First get a checkout of the PyPy repository: hg clone ssh://hg@bitbucket.org/pypy/pypy Next, get to the correct revision: hg up -C 82e1fc9c253c Finally, attempt to run the tests: ./pytest.py pypy/module/micronumpy/ -x At this point you should have a segfault that appears to be because of a bad address for a weakref (but I could be horrifically wrong). |
Antoine asked for a gdb bt, here's the last couple of useful frames: #0 _PyWeakref_ClearRef (self=0x4000000000000000) at Objects/weakrefobject.c:97 |
Turns out this was a subtle bug in some raw memory manipulation code, which amaury spotted. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: