Skip to content
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

Add -fcf-protection. #4437

Merged
merged 7 commits into from
Jul 21, 2023

fixup

81dd27d
Select commit
Loading
Failed to load commit list.
Merged

Add -fcf-protection. #4437

fixup
81dd27d
Select commit
Loading
Failed to load commit list.
Cirrus CI / Ubuntu rolling x64 shared-libs-only gdmd completed Jul 15, 2023 in 7m 28s

Task Summary

Instruction run_lit_testsuite failed in 00:16

Details

✅ 00:03 clone
✅ 01:05 install_prerequisites
✅ 00:03 install_lit
✅ 00:01 clone_submodules
✅ 04:16 build
✅ 00:01 run_compiler_unittests
❌ 00:16 run_lit_testsuite

--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 7"
$ "/tmp/build/bin/ldc2" "-g" "-fsanitize=address" "/tmp/cirrus-ci-build/tests/sanitizers/lsan_memleak.d" "-of=/tmp/build/tests/sanitizers/Output/lsan_memleak.d.tmp_asan"
$ ":" "RUN: at line 8"
$ "not" "env" "ASAN_OPTIONS=abort_on_error=0:log_to_syslog=0:detect_leaks=true" "/tmp/build/tests/sanitizers/Output/lsan_memleak.d.tmp_asan"
$ "FileCheck" "/tmp/cirrus-ci-build/tests/sanitizers/lsan_memleak.d"
$ ":" "RUN: at line 9"
$ "/tmp/build/bin/ldc2" "-g" "-fsanitize=leak" "/tmp/cirrus-ci-build/tests/sanitizers/lsan_memleak.d" "-of=/tmp/build/tests/sanitizers/Output/lsan_memleak.d.tmp"
$ ":" "RUN: at line 10"
$ "not" "/tmp/build/tests/sanitizers/Output/lsan_memleak.d.tmp"
$ "FileCheck" "/tmp/cirrus-ci-build/tests/sanitizers/lsan_memleak.d"
# command stderr:
/tmp/cirrus-ci-build/tests/sanitizers/lsan_memleak.d:14:11: error: CHECK: expected string not found in input
// CHECK: ERROR: LeakSanitizer: detected memory leaks
          ^
<stdin>:1:1: note: scanning from here
LeakSanitizer: CHECK failed: lsan_interceptors.cpp:82 "((!lsan_init_is_running)) != (0)" (0x0, 0x0) (tid=9946)
^

Input file: <stdin>
Check file: /tmp/cirrus-ci-build/tests/sanitizers/lsan_memleak.d

-dump-input=help explains the following input dump.

Input was:
<<<<<<
          1: LeakSanitizer: CHECK failed: lsan_interceptors.cpp:82 "((!lsan_init_is_running)) != (0)" (0x0, 0x0) (tid=9946) 
check:14     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
>>>>>>

error: command failed with exit status: 1

--

********************
PASS: LDC :: tools/timetrace2txt_tsv.d (344 of 348)
PASS: LDC :: sanitizers/msan_uninitialized.d (345 of 348)
PASS: LDC :: plugins/addFuncEntryCall/testPlugin.d (346 of 348)
PASS: LDC :: linking/ir2obj_cache_pruning2.d (347 of 348)
PASS: LDC :: tools/ldc_prune_cache_1.d (348 of 348)
********************
Failed Tests (3):
  LDC :: debuginfo/classtypes_gdb.d
  LDC :: debuginfo/print_gdb.d
  LDC :: sanitizers/lsan_memleak.d


Testing Time: 15.80s
  Unsupported      :  39
  Passed           : 305
  Expectedly Failed:   1
  Failed           :   3