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

Jiri Danek commented on PROTON-1540:
------------------------------------

One addition. It is best to always run sanitizers with LD_PRELOAD. ASan will 
refuse to run if it is not loaded as the first thing. TSan can live with that, 
but it will find less issues. This is relevant when there is mixing of Python 
and C (and Python starts first). Some of it is in Proton tests (for Proton 
Python).

{noformat}
LD_PRELOAD=/path/to/gcc-7.1.0-lib/lib/libtsan.so TSAN_OPTIONS="color=always 
second_deadlock_stack=1" ctest -VV
{noformat}

> Add options to enable Sanitizers to CMake build
> -----------------------------------------------
>
>                 Key: PROTON-1540
>                 URL: https://issues.apache.org/jira/browse/PROTON-1540
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: build
>            Reporter: Jiri Danek
>            Assignee: Alan Conway
>            Priority: Minor
>
> To get the most out of sanitizers in Qpid Dispatch, it helps to compile 
> Proton with sanitizers as well.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to