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

liusheng edited comment on KUDU-3089 at 3/24/20, 1:42 AM:
----------------------------------------------------------

Hi [~adar],

Thanks for your reply. For ASAN, I also thought it doesn't support aarch64, but 
I have asked at here: [https://github.com/google/sanitizers/issues/1208] and 
was told ASAN can support aarch64.

we have made some small changes specific about aarch64, Kudu can be built 
sucessfully when enable TSAN or ASAN, I used the *build-and-test.sh* script for 
building and testing.
{code:java}
BUILD_TYPE="ASAN" KUDU_ALLOW_SLOW_TESTS=0 bash -x 
build-support/jenkins/build-and-test.sh

BUILD_TYPE="TSAN" KUDU_ALLOW_SLOW_TESTS=0 bash -x 
build-support/jenkins/build-and-test.sh
{code}
the building process can be sucess, but all the tests can not run after 
building. the error messages are same as I described in this issue description.


was (Author: seanlau):
Hi [~adar],

Thanks for your reply. For ASAN, I also thought it doesn't support aarch64, but 
I have asked at here: [https://github.com/google/sanitizers/issues/1208] and 
was told ASAN can support aarch64.

we have made some small changes specific about aarch64, Kudu can be built 
sucessfully when enable TSAN or ASAN, I used the *build-and-test.sh* script for 
building and testing.
{code:java}
BUILD_TYPE="ASAN" KUDU_ALLOW_SLOW_TESTS=0 bash -x 
build-support/jenkins/build-and-test.sh

BUILD_TYPE="TSAN" KUDU_ALLOW_SLOW_TESTS=0 bash -x 
build-support/jenkins/build-and-test.sh
{code}
but all the tests can not run after building. the error messages are same as I 
described in this issue description.

> ERROR when running tests on ARM64 server with TSAN or ASAN enabled
> ------------------------------------------------------------------
>
>                 Key: KUDU-3089
>                 URL: https://issues.apache.org/jira/browse/KUDU-3089
>             Project: Kudu
>          Issue Type: Bug
>            Reporter: liusheng
>            Priority: Major
>
>  
> Fow now I am trying to build and test Kudu on ARM server, for Debug build 
> type, the building process and almost all tests can pass. but for TSAN and 
> ASAN building type, I can build sucessfully, but all the test cases will 
> raise follow error.
> {code:java}
> root@kudu-asan2:/opt/kudu/build/asan# bin/kudu-ts-cli-test
> AddressSanitizer:DEADLYSIGNAL
> =================================================================
> ==14378==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 
> 0x000000000000 bp 0xffffc2649d10 sp 0xffffc2649d10 T0)
> ==14378==Hint: pc points to the zero page.
> ==14378==The signal is caused by a READ memory access.
> ==14378==Hint: address points to the zero page.AddressSanitizer can not 
> provide additional info.
> SUMMARY: AddressSanitizer: SEGV (<unknown module>) 
> ==14378==ABORTING
> {code}
> I have struggle for a while but no progress, could anyone help to give any 
> suggestion ? thanks a lot!
>  
>  



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

Reply via email to