UBSan: runtime undefined behaviours when using -fsanitize=undefined -fno-sanitize-recover
#132097
Labels
extension-modules
C modules in the Modules dir
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
We finally managed to fix gh-111178, but this is assuming that Python is compiled with
-fsanitize=function
. When compiling Python as follows:we still have some tests failing:
Others related to the second item above:
Others on fautlhandler, but I'm not sure whether this is the UB that is being reported or something else:
Finally,
test_regrtest
also fails but the test suite just hangs after crashing (but the UB seems to happen in a test related to XML so it's probably the same thing):CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
PyCFunction
and others #131665The text was updated successfully, but these errors were encountered: