Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3007 ARM/aarch64 platform support
  3. KUDU-3104

All tests failed with TSAN enabled on aarch64

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • NA
    • None
    • None

    Description

      I running tests with TSAN enabled on aarch64 based on https://gerrit.cloudera.org/#/c/14964/ :
      root@ubuntu:/home/jenkins/workspace/kudu/build/tsan# CC=../../thirdparty/clang-toolchain/bin/clang CXX=../../thirdparty/clang-toolchain/bin/clang++ ../../thirdparty/installed/common/bin/cmake -DKUDU_USE_TSAN=1 ../..
      root@ubuntu:/home/jenkins/workspace/kudu/build/tsan# make -j8

      Then I running ctest, but seems all tests are failed and raised the Segmentation fault, info as following:
      root@ubuntu:/home/jenkins/workspace/kudu/build/tsan# ./bin/cache-test
      ThreadSanitizer:DEADLYSIGNAL
      ==15891==ERROR: ThreadSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000000000 bp 0xfffffffff470 sp 0xfffffffff470 T15891)
      ==15891==Hint: pc points to the zero page.
      ==15891==The signal is caused by a READ memory access.
      ==15891==Hint: address points to the zero page.

      ThreadSanitizer can not provide additional info.
      SUMMARY: ThreadSanitizer: SEGV (<unknown module>)
      ==15891==ABORTING

      root@ubuntu:/home/jenkins/workspace/kudu/build/tsan# gdb ./bin/cache-test
      GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git
      Copyright (C) 2018 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law. Type "show copying"
      and "show warranty" for details.
      This GDB was configured as "aarch64-linux-gnu".
      Type "show configuration" for configuration details.
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>.
      Find the GDB manual and other documentation resources online at:
      <http://www.gnu.org/software/gdb/documentation/>.
      For help, type "help".
      Type "apropos word" to search for commands related to "word"...
      Reading symbols from ./bin/cache-test...done.
      (gdb) run
      Starting program: /home/jenkins/workspace/kudu/build/tsan/bin/cache-test
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".

      Program received signal SIGSEGV, Segmentation fault.
      0x0000000000000000 in ?? ()
      (gdb) bt
      #0 0x0000000000000000 in ?? ()
      #1 0x0000fffff6e106e0 in __libc_start_main () from /lib/aarch64-linux-gnu/libc.so.6
      #2 0x000000000044a254 in _start ()
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
      (gdb)

      Attachments

        Issue Links

          Activity

            People

              RuiChen RuiChen
              huangtianhua huangtianhua
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: