On a GNU system, with clang and enabled sanitizers
export CPPFLAGS="-Wall"
export CC="clang
-fsanitize=address,undefined,signed-integer-overflow,shift,integer-divide-by-zero
-fno-sanitize-recover=undefined"
export CFLAGS="-O0 -fno-omit-frame-pointer -ggdb"
export ASAN_OPTIONS="detect_leaks=0 abort_on_error=1
allocator_may_return_null=1""make check" reports a test failure of the cut/cut test. Find attached the log file. It shows 27 processes that abort: $ grep -a 134 test-suite.log cut.pl: test k failed: exit status mismatch: expected 0, got 134 cut.pl: test k.r failed: exit status mismatch: expected 0, got 134 cut.pl: test k.p failed: exit status mismatch: expected 0, got 134 cut.pl: test l failed: exit status mismatch: expected 0, got 134 cut.pl: test l.r failed: exit status mismatch: expected 0, got 134 cut.pl: test l.p failed: exit status mismatch: expected 0, got 134 cut.pl: test m failed: exit status mismatch: expected 0, got 134 cut.pl: test m.r failed: exit status mismatch: expected 0, got 134 cut.pl: test m.p failed: exit status mismatch: expected 0, got 134 cut.pl: test n failed: exit status mismatch: expected 0, got 134 cut.pl: test n.r failed: exit status mismatch: expected 0, got 134 cut.pl: test n.p failed: exit status mismatch: expected 0, got 134 cut.pl: test s failed: exit status mismatch: expected 0, got 134 cut.pl: test s.r failed: exit status mismatch: expected 0, got 134 cut.pl: test s.p failed: exit status mismatch: expected 0, got 134 cut.pl: test newline-17 failed: exit status mismatch: expected 0, got 134 cut.pl: test newline-17.r failed: exit status mismatch: expected 0, got 134 cut.pl: test newline-17.p failed: exit status mismatch: expected 0, got 134 cut.pl: test newline-18 failed: exit status mismatch: expected 0, got 134 cut.pl: test newline-18.r failed: exit status mismatch: expected 0, got 134 cut.pl: test newline-18.p failed: exit status mismatch: expected 0, got 134 cut.pl: test newline-20 failed: exit status mismatch: expected 0, got 134 cut.pl: test newline-20.r failed: exit status mismatch: expected 0, got 134 cut.pl: test newline-20.p failed: exit status mismatch: expected 0, got 134 cut.pl: test newline-21 failed: exit status mismatch: expected 0, got 134 cut.pl: test newline-21.r failed: exit status mismatch: expected 0, got 134 cut.pl: test newline-21.p failed: exit status mismatch: expected 0, got 134
test-suite.log.gz
Description: application/gzip
