You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "huangtianhua (Jira)" <ji...@apache.org> on 2020/04/07 02:28:00 UTC

[jira] [Commented] (KUDU-3104) All tests failed with TSAN enabled on aarch64

    [ https://issues.apache.org/jira/browse/KUDU-3104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17076833#comment-17076833 ] 

huangtianhua commented on KUDU-3104:
------------------------------------

The tests can be ran if we build tsan with KUDU_LINK=static

> All tests failed with TSAN enabled on aarch64
> ---------------------------------------------
>
>                 Key: KUDU-3104
>                 URL: https://issues.apache.org/jira/browse/KUDU-3104
>             Project: Kudu
>          Issue Type: Sub-task
>            Reporter: huangtianhua
>            Priority: Major
>
> I running tests with TSAN enabled on aarch64 based on https://gerrit.cloudera.org/#/c/14964/ : 
> {color:#172B4D}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{color}
> Then I running ctest, but seems all tests are failed and raised the Segmentation fault, info as following:
> {color:#172B4D}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){color}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)