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

Jiri Daněk commented on PROTON-2230:
------------------------------------

Still another new failure from tsan, 
https://travis-ci.com/github/apache/qpid-proton/jobs/495356231#L3068

{noformat}
6: threaderciser start: threads=8, time=1, actions=[listen, close-listen, 
connect, close-connect, wake, timeout, cancel-timeout]
6: ==================
6: WARNING: ThreadSanitizer: use of an invalid mutex (e.g. uninitialized or 
destroyed) (pid=13770)
6:     #0 pthread_mutex_lock <null> (libtsan.so.0+0x5271c)
6:     #1 lock 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll-internal.h:330 
(libqpid-proton-proactor.so.1+0x64ca)
6:     #2 unassign_thread 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:478 
(libqpid-proton-proactor.so.1+0x64ca)
6:     #3 listener_done 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:1820 
(libqpid-proton-proactor.so.1+0xd765)
6:     #4 pn_proactor_done 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:2688 
(libqpid-proton-proactor.so.1+0xd765)
6:     #5 proactor_thread 
/home/travis/build/apache/qpid-proton/c/tests/threaderciser.c:479 
(c-threaderciser+0x4be2)
6:     #6 <null> <null> (libtsan.so.0+0x2d1af)
6: 
6:   Mutex M51 (0x7b680000fc00) created at:
6:     #0 pthread_mutex_lock <null> (libtsan.so.0+0x5271c)
6:     #1 lock 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll-internal.h:330 
(libqpid-proton-proactor.so.1+0x64ca)
6:     #2 unassign_thread 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:478 
(libqpid-proton-proactor.so.1+0x64ca)
6:     #3 listener_done 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:1820 
(libqpid-proton-proactor.so.1+0xd765)
6:     #4 pn_proactor_done 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:2688 
(libqpid-proton-proactor.so.1+0xd765)
6:     #5 proactor_thread 
/home/travis/build/apache/qpid-proton/c/tests/threaderciser.c:479 
(c-threaderciser+0x4be2)
6:     #6 <null> <null> (libtsan.so.0+0x2d1af)
6: 
6: SUMMARY: ThreadSanitizer: use of an invalid mutex (e.g. uninitialized or 
destroyed) (/lib/x86_64-linux-gnu/libtsan.so.0+0x5271c) in pthread_mutex_lock
6: ==================
6: ==================
6: WARNING: ThreadSanitizer: unlock of an unlocked mutex (or by a wrong thread) 
(pid=13770)
6:     #0 pthread_mutex_unlock <null> (libtsan.so.0+0x3aafc)
6:     #1 unlock 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll-internal.h:331 
(libqpid-proton-proactor.so.1+0x6507)
6:     #2 unassign_thread 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:480 
(libqpid-proton-proactor.so.1+0x6507)
6:     #3 listener_done 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:1820 
(libqpid-proton-proactor.so.1+0xd765)
6:     #4 pn_proactor_done 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:2688 
(libqpid-proton-proactor.so.1+0xd765)
6:     #5 proactor_thread 
/home/travis/build/apache/qpid-proton/c/tests/threaderciser.c:479 
(c-threaderciser+0x4be2)
6:     #6 <null> <null> (libtsan.so.0+0x2d1af)
6: 
6:   Mutex M51 (0x7b680000fc00) created at:
6:     #0 pthread_mutex_lock <null> (libtsan.so.0+0x5271c)
6:     #1 lock 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll-internal.h:330 
(libqpid-proton-proactor.so.1+0x64ca)
6:     #2 unassign_thread 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:478 
(libqpid-proton-proactor.so.1+0x64ca)
6:     #3 listener_done 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:1820 
(libqpid-proton-proactor.so.1+0xd765)
6:     #4 pn_proactor_done 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:2688 
(libqpid-proton-proactor.so.1+0xd765)
6:     #5 proactor_thread 
/home/travis/build/apache/qpid-proton/c/tests/threaderciser.c:479 
(c-threaderciser+0x4be2)
6:     #6 <null> <null> (libtsan.so.0+0x2d1af)
6: 
6: SUMMARY: ThreadSanitizer: unlock of an unlocked mutex (or by a wrong thread) 
(/lib/x86_64-linux-gnu/libtsan.so.0+0x3aafc) in pthread_mutex_unlock
6: ==================
6: ==================
6: WARNING: ThreadSanitizer: use of an invalid mutex (e.g. uninitialized or 
destroyed) (pid=13770)
6:     #0 pthread_mutex_unlock <null> (libtsan.so.0+0x3aafc)
6:     #1 unlock 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll-internal.h:331 
(libqpid-proton-proactor.so.1+0x6507)
6:     #2 unassign_thread 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:480 
(libqpid-proton-proactor.so.1+0x6507)
6:     #3 listener_done 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:1820 
(libqpid-proton-proactor.so.1+0xd765)
6:     #4 pn_proactor_done 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:2688 
(libqpid-proton-proactor.so.1+0xd765)
6:     #5 proactor_thread 
/home/travis/build/apache/qpid-proton/c/tests/threaderciser.c:479 
(c-threaderciser+0x4be2)
6:     #6 <null> <null> (libtsan.so.0+0x2d1af)
6: 
6:   Mutex M51 (0x7b680000fc00) created at:
6:     #0 pthread_mutex_lock <null> (libtsan.so.0+0x5271c)
6:     #1 lock 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll-internal.h:330 
(libqpid-proton-proactor.so.1+0x64ca)
6:     #2 unassign_thread 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:478 
(libqpid-proton-proactor.so.1+0x64ca)
6:     #3 listener_done 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:1820 
(libqpid-proton-proactor.so.1+0xd765)
6:     #4 pn_proactor_done 
/home/travis/build/apache/qpid-proton/c/src/proactor/epoll.c:2688 
(libqpid-proton-proactor.so.1+0xd765)
6:     #5 proactor_thread 
/home/travis/build/apache/qpid-proton/c/tests/threaderciser.c:479 
(c-threaderciser+0x4be2)
6:     #6 <null> <null> (libtsan.so.0+0x2d1af)
6: 
6: SUMMARY: ThreadSanitizer: use of an invalid mutex (e.g. uninitialized or 
destroyed) (/lib/x86_64-linux-gnu/libtsan.so.0+0x3aafc) in pthread_mutex_unlock
6: ==================
6: ThreadSanitizer: reported 3 warnings
 6/45 Test  #6: c-threaderciser ..................***Failed    1.20 sec
{noformat}

> Valgrind and Sanitizer issues in c-threaderciser test
> -----------------------------------------------------
>
>                 Key: PROTON-2230
>                 URL: https://issues.apache.org/jira/browse/PROTON-2230
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.31.0
>            Reporter: Jiri Daněk
>            Priority: Major
>
> As described in PROTON-2225, the test is not passing cleanly under Valgrind 
> and Sanitizers. Currently, the issues are suppressed and the entries in 
> suppression file are marked with TODO comments.



--
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