You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_run_fileexflags() crash on PPC64LE RHEL7 LTO + PGO 3.x #118422
Activity
vstinner commentedon Apr 30, 2024
The bug can be reproduced just with these 2 tests:
Sometimes, I get the glibc error message:
vstinner commentedon Apr 30, 2024
The crash is more likely if PYC files are removed:
vstinner commentedon Apr 30, 2024
I cannot reproduce the issue with
gcc -O0andgcc -Og, only with a release build:gcc -O3.This buildbot uses an old GCC version:
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44).serhiy-storchaka commentedon Apr 30, 2024
If it is only reproducible with a release build, would the following patch help?
Or maybe just remove this dangerous implementation depending code?
pythongh-118422: Fix run_fileexflags() test
pythongh-118422: Fix run_fileexflags() test
pythongh-118422: Fix run_fileexflags() test
vstinner commentedon Apr 30, 2024
I wrote PR gh-118429 to use fstat() instead of relying on an undefined behavior of fileno() on a closed file.
gh-118422: Fix run_fileexflags() test (#118429)
pythongh-118422: Fix run_fileexflags() test (python#118429)