-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
test_capi crash and produce core dumps on FreeBSD 13 #106714
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
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 <[email protected]>
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() |
vstinner
added a commit
that referenced
this issue
Jul 22, 2023
…107009) gh-106714: Fix test_capi to not write a coredump (GH-107007) 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 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Examples:
and
./configure --cache-file=../config.cache --with-pydebug CFLAGS="-O0"
Linked PRs
The text was updated successfully, but these errors were encountered: