File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,13 @@ jobs:
8383 run : make -j4
8484 - name : Display build info
8585 run : make pythoninfo
86+ # test_{capi,faulthandler} are skipped under UBSan because
87+ # they raise signals that UBSan with halt_on_error=1 intercepts.
8688 - name : Tests
8789 run : >-
8890 ./python -m test
8991 ${{ inputs.sanitizer == 'TSan' && '--tsan' || '' }}
90- ${{ inputs.sanitizer == 'UBSan' && '-x test_capi' || '' }}
92+ ${{ inputs.sanitizer == 'UBSan' && '-x test_capi -x test_faulthandler ' || '' }}
9193 -j4
9294 - name : Parallel tests
9395 if : >-
Original file line number Diff line number Diff line change 11# This file contains suppressions for the UndefinedBehaviour sanitizer.
22#
3+ # Reference: https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#runtime-suppressions
4+ #
35# When adding a suppression, include a comment referencing a GitHub issue
46# that describes how to reproduce the race and includes the relevant UBSan
57# output.
68
9+ # Objects/object.c:97:5: runtime error: member access within null pointer of type 'PyThreadState' (aka 'struct _ts')
710null:Objects/object.c
8- bool:Objects/memoryobject.c
911
10- # Modules/binascii .c:1243:42 : runtime error: left shift of 128 by 24 places cannot be represented in type 'int '
11- shift-base:Modules/binascii .c
12+ # Objects/memoryobject .c:3032:15 : runtime error: load of value 2, which is not a valid value for type 'bool '
13+ bool:Objects/memoryobject .c
1214
1315# Modules/_ctypes/cfield.c:644:1: runtime error: left shift of 1 by 63 places cannot be represented in type 'int64_t' (aka 'long')
1416shift-base:Modules/_ctypes/cfield.c
17+
18+ # Modules/_ctypes/cfield.c:640:1: runtime error: signed integer overflow: -2147483648 - 1 cannot be represented in type 'int'
1519signed-integer-overflow:Modules/_ctypes/cfield.c
1620
1721# Modules/_zstd/decompressor.c:598:56: runtime error: applying non-zero offset 18446744073709551615 to null pointer
You can’t perform that action at this time.
0 commit comments