-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
test_cprofile crashed on main #95045
Comments
Does this happen on 3.11? |
3.11 does not seem affected, I tried running tests but haven't got any crashes yet. |
I am not able to reproduce this on my laptop. Will try again on my Linux machine later today |
I am able to reproduce on Linux with the current HEAD main. |
Can you bisect it? |
Cannot reproduce in my Linux box:
|
I can reproduce on main HEAD 78eb3f7 Crash:
Environment: == CPython 3.12.0a0 (heads/main:78eb3f79ea, Jul 27 2022, 10:43:00) [GCC 9.4.0]
== Linux-5.4.0-1074-azure-x86_64-with-glibc2.31 little-endian
== cwd: /workspaces/cpython/build/test_python_4447æ
== CPU count: 4
== encodings: locale=UTF-8, FS=utf-8 Another things is that if you remove I'll bisect later. |
Turns out the profiler's deallocator did not untracked the object leading to the gc crash. See #95315 |
Automerge-Triggered-By: GH:pablogsal
…ythonGH-95315) Automerge-Triggered-By: GH:pablogsal (cherry picked from commit deacf39) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
…ythonGH-95315) Automerge-Triggered-By: GH:pablogsal (cherry picked from commit deacf39) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Fixed by #95315 |
Commit tested: 1834133
Reproducer:
./python -m test
Interestingly it does not crashes if run with multiple processes.
cc @pablogsal
The text was updated successfully, but these errors were encountered: