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_capi crash and produce core dumps on FreeBSD 13 #106714
Labels
type-bug
An unexpected behavior, bug, or error
Comments
Oh, AArch64 Fedora Rawhide buildbot has the same failure: it also produces a coredump. This issue affects operating systems configured to write a coredump in the current directory if a process does crash. Example on the AArch64 Fedora Rawhide machine:
A core dump named |
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Jul 22, 2023
test_capi: Fix test_no_FatalError_infinite_loop() to no longer write a coredump, by using test.support.SuppressCrashReport.
vstinner
added a commit
that referenced
this issue
Jul 22, 2023
test_capi: Fix test_no_FatalError_infinite_loop() to no longer write a coredump, by using test.support.SuppressCrashReport.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jul 22, 2023
test_capi: Fix test_no_FatalError_infinite_loop() to no longer write a coredump, by using test.support.SuppressCrashReport. (cherry picked from commit 4a1026d) Co-authored-by: Victor Stinner <vstinner@python.org>
Oh, this bug is a recent regression introduced by #102729 |
Python 3.11 is not affected: @support.requires_subprocess()
def test_no_FatalError_infinite_loop(self):
with support.SuppressCrashReport():
p = subprocess.Popen([sys.executable, "-c",
'import _testcapi;'
'_testcapi.crash_no_current_thread()'],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
(out, err) = p.communicate() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Examples:
and
./configure --cache-file=../config.cache --with-pydebug CFLAGS="-O0"
Linked PRs
The text was updated successfully, but these errors were encountered: