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
PyPy SIGSEGV on small program #4030
Comments
In Heptapod by @bjorn-martinsson on Nov 19, 2023, 20:49 Here is a small example with the same issue def f():
m = 3
for a in range(100):
for b in range(m + 1):
for c in range(m + 1):
pass
f() Can also confirm it crashes for me on Windows using
but it does not segfault with
|
In Heptapod by @arigo on Nov 19, 2023, 23:49 I had a quick look in gdb: it's a clean NULL pointer dereference in |
In Heptapod by @Yawn_Sean on Nov 20, 2023, 04:03 Thanks for your help (I'm the one who posted that codeforces blog)! And I finally logged into this website. Actually, I discovered the issue through this submission: https://atcoder.jp/contests/arc168/submissions/47760691 And using this version of Pypy, the code also segfaults:
|
In Heptapod by @cfbolz on Nov 28, 2023, 17:32 mentioned in commit 5e21dfecc2d4320580bfe3a19f37c0e5a214d356 |
In Heptapod by @cfbolz on Nov 28, 2023, 17:32 mentioned in commit cb4b136ee2310a63036994ad726cab6d077422d3 |
In Heptapod by @cfbolz on Nov 28, 2023, 17:33 the crash is fixed now. tomorrow's 3.9 nightly should contain the fix. |
this is fixed |
In Heptapod by @BarrensZeppelin on Nov 19, 2023, 18:27
Originally reported here: https://codeforces.com/blog/entry/122455
PyPy crashes with a segmentation fault when it runs the following program:
PyPy version:
The text was updated successfully, but these errors were encountered: