Skip to content

Commit 1d0adda

Browse files
committed
Enable tests that work now with the three previous patches.
These two tests have still a problem and getting stuck: nested_detach-no-syscallbuf nested_detach-32-no-syscallbuf For some reason just the no-syscallbuf variants get stuck, the regular ones succeed.
1 parent c52e4d7 commit 1d0adda

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

CMakeLists.txt

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -609,27 +609,14 @@ if (asan)
609609
set(ASAN_FLAGS "-fsanitize=address")
610610
set(RR_FLAGS "${ASAN_FLAGS} ${RR_FLAGS}")
611611

612-
# ==278218==ERROR: AddressSanitizer: requested allocation size 0x20000000000 (0x20000001000 after adjustments for alignment, red zones etc.) exceeds maximum supported size of 0x10000000000 (thread T0)
613-
list(APPEND DISABLED_TESTS nested_detach)
612+
# Tests just hang
613+
# Might be related to #2746 and might disappear when
614+
# using a libasan with the patch triggered by #2329.
615+
# https://bugs.llvm.org/show_bug.cgi?id=41095
616+
# https://reviews.llvm.org/D70581#
617+
# https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=3c6331c29f1376ed220246e7dead94bc527a9aa9
614618
list(APPEND DISABLED_TESTS nested_detach-no-syscallbuf)
615-
list(APPEND DISABLED_TESTS nested_detach-32)
616619
list(APPEND DISABLED_TESTS nested_detach-32-no-syscallbuf)
617-
list(APPEND DISABLED_TESTS nested_release)
618-
list(APPEND DISABLED_TESTS nested_release-no-syscallbuf)
619-
list(APPEND DISABLED_TESTS nested_release-32)
620-
list(APPEND DISABLED_TESTS nested_release-32-no-syscallbuf)
621-
622-
# ==249576==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
623-
list(APPEND DISABLED_TESTS nested_detach_wait)
624-
list(APPEND DISABLED_TESTS nested_detach_wait-no-syscallbuf)
625-
list(APPEND DISABLED_TESTS nested_detach_wait-32)
626-
list(APPEND DISABLED_TESTS nested_detach_wait-32-no-syscallbuf)
627-
628-
# FAILED: subshell died, no need to longer wait for 'sleeping'
629-
list(APPEND DISABLED_TESTS nested_detach_kill)
630-
list(APPEND DISABLED_TESTS nested_detach_kill-no-syscallbuf)
631-
list(APPEND DISABLED_TESTS nested_detach_kill-32)
632-
list(APPEND DISABLED_TESTS nested_detach_kill-32-no-syscallbuf)
633620

634621
endif()
635622

0 commit comments

Comments
 (0)