Skip to content

Commit

Permalink
Enable tests that work now with the three previous patches.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bernhardu committed Aug 18, 2021
1 parent 5d5775e commit 1934fe4
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -534,27 +534,14 @@ if (asan)
set(ASAN_FLAGS "-fsanitize=address")
set(RR_FLAGS "${ASAN_FLAGS} ${RR_FLAGS}")

# ==278218==ERROR: AddressSanitizer: requested allocation size 0x20000000000 (0x20000001000 after adjustments for alignment, red zones etc.) exceeds maximum supported size of 0x10000000000 (thread T0)
list(APPEND DISABLED_TESTS nested_detach)
# Tests just hang
# Might be related to #2746 and might disappear when
# using a libasan with the patch triggered by #2329.
# https://bugs.llvm.org/show_bug.cgi?id=41095
# https://reviews.llvm.org/D70581#
# https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=3c6331c29f1376ed220246e7dead94bc527a9aa9
list(APPEND DISABLED_TESTS nested_detach-no-syscallbuf)
list(APPEND DISABLED_TESTS nested_detach-32)
list(APPEND DISABLED_TESTS nested_detach-32-no-syscallbuf)
list(APPEND DISABLED_TESTS nested_release)
list(APPEND DISABLED_TESTS nested_release-no-syscallbuf)
list(APPEND DISABLED_TESTS nested_release-32)
list(APPEND DISABLED_TESTS nested_release-32-no-syscallbuf)

# ==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.
list(APPEND DISABLED_TESTS nested_detach_wait)
list(APPEND DISABLED_TESTS nested_detach_wait-no-syscallbuf)
list(APPEND DISABLED_TESTS nested_detach_wait-32)
list(APPEND DISABLED_TESTS nested_detach_wait-32-no-syscallbuf)

# FAILED: subshell died, no need to longer wait for 'sleeping'
list(APPEND DISABLED_TESTS nested_detach_kill)
list(APPEND DISABLED_TESTS nested_detach_kill-no-syscallbuf)
list(APPEND DISABLED_TESTS nested_detach_kill-32)
list(APPEND DISABLED_TESTS nested_detach_kill-32-no-syscallbuf)

endif()

Expand Down

0 comments on commit 1934fe4

Please sign in to comment.