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

Jiri Daněk edited comment on PROTON-2070 at 4/8/20, 7:55 AM:
-------------------------------------------------------------

Before PROTON-1798, building bindings was disabled when asan was turned on

{noformat}
if (PYTHONLIBS_FOUND AND NOT SANITIZE_FLAGS)
  set (DEFAULT_PYTHON ON)
endif ()

# Prerequisites for Ruby:
find_package(Ruby)
# TODO aconway 2018-09-07: get ruby binding tests working with sanitizers
if (RUBY_FOUND AND NOT SANITIZE_FLAGS)
  set (DEFAULT_RUBY ON)
endif ()
{noformat}

Currently nothing like this is present.

I am adding suppressions for the leaks in Python interpreter in the PR for 
PROTON-2133 PROTON-2134. That leaves the Ruby tests, and the case that 
sometimes Python segfaults when asan is preloaded (esp. in tox tests), and with 
tsan on clang.


was (Author: jdanek):
Before PROTON-1798, building bindings was disabled when asan was turned on

{noformat}
if (PYTHONLIBS_FOUND AND NOT SANITIZE_FLAGS)
  set (DEFAULT_PYTHON ON)
endif ()

# Prerequisites for Ruby:
find_package(Ruby)
# TODO aconway 2018-09-07: get ruby binding tests working with sanitizers
if (RUBY_FOUND AND NOT SANITIZE_FLAGS)
  set (DEFAULT_RUBY ON)
endif ()
{noformat}

Currently nothing like this is present.

I am adding suppressions for the leaks in Python interpreter in the PR for 
PROTON-2133 PROTON-2134. That leaves the Ruby tests, and the case that 
sometimes Python segfaults when asan is preloaded (esp. in tox tests).

> [ASAN] some tests always fail when using sanitizer builds
> ---------------------------------------------------------
>
>                 Key: PROTON-2070
>                 URL: https://issues.apache.org/jira/browse/PROTON-2070
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: build, python-binding, ruby-binding
>            Reporter: Andrew Stitcher
>            Assignee: Alan Conway
>            Priority: Major
>
> But the test failures don't indicate anything about our code:
> python-tox-test:
> This fails because the sanitiser preload gets applied to python and gcc which 
> reports leaks. In this case we should probably not do the preload anyway or 
> not run the test.
> ruby-example-test:
> This case fails due to the preload not being active - however if the preload 
> is added to this test then it finds leaks in the ruby interpreter. Again 
> probably we should not include this test when sanitizers are being tested.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to