You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (Jira)" <ji...@apache.org> on 2020/11/20 13:19:00 UTC

[jira] [Commented] (PROTON-2271) Valgrind failure in c_threaderciser test

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

Justin Ross commented on PROTON-2271:
-------------------------------------

From PROTON-2274:

{noformat}
 test 7
 Start 7: c-threaderciser
7: Test command: /opt/pyenv/shims/python3 "/home/travis/build/apache/qpid-proton/scripts/env.py" "--" "TEST_EXE_PREFIX=/usr/bin/valgrind --tool=memcheck --leak-check=full --error-exitcode=42 --quiet --suppressions=/home/travis/build/apache/qpid-proton/tests/valgrind.supp" "/usr/bin/valgrind" "--tool=memcheck" "--leak-check=full" "--error-exitcode=42" "--quiet" "--suppressions=/home/travis/build/apache/qpid-proton/tests/valgrind.supp" "/home/travis/build/apache/qpid-proton/build/c/tests/c-threaderciser"
7: Test timeout computed to be: 360
7: threaderciser start: threads=8, time=1, actions=[listen, close-listen, connect, close-connect, wake, timeout, cancel-timeout]
7: ==12926== 128,678 (1,128 direct, 127,550 indirect) bytes in 1 blocks are definitely lost in loss record 165 of 165
7: ==12926== at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
7: ==12926== by 0x10B110: listener_ctx_new (threaderciser.c:264)
7: ==12926== by 0x10B110: lpool_listen.part.0 (threaderciser.c:283)
7: ==12926== by 0x10B88B: lpool_listen (threaderciser.c:380)
7: ==12926== by 0x10B88B: global_do_stuff (threaderciser.c:380)
7: ==12926== by 0x10BBD7: user_thread (threaderciser.c:398)
7: ==12926== by 0x48AF608: start_thread (pthread_create.c:477)
7: ==12926== by 0x49EB102: clone (clone.S:95)
7: ==12926== 
 7/48 Test #7: c-threaderciser ..................***Failed 2.14 sec
{noformat}


> Valgrind failure in c_threaderciser test
> ----------------------------------------
>
>                 Key: PROTON-2271
>                 URL: https://issues.apache.org/jira/browse/PROTON-2271
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: build
>    Affects Versions: proton-c-0.31.0
>         Environment: Fedora 31
>            Reporter: Charles E. Rolke
>            Priority: Major
>
> From PROTON-2270 research
> {code:java}
> 7: Test timeout computed to be: 6000
> 7: threaderciser start: threads=8, time=1, actions=[listen, close-listen, connect, close-connect, wake, timeout, cancel-timeout]
> 7: ==7576== 2,320 (1,408 direct, 912 indirect) bytes in 1 blocks are definitely lost in loss record 148 of 156
> 7: ==7576==    at 0x483BB1A: calloc (vg_replace_malloc.c:760)
> 7: ==7576==    by 0x4854315: pn_listener (epoll.c:1617)
> 7: ==7576==    by 0x402C9C: listener_ctx_new (threaderciser.c:264)
> 7: ==7576==    by 0x402C9C: lpool_listen.part.0 (threaderciser.c:282)
> 7: ==7576==    by 0x40338B: lpool_listen (threaderciser.c:379)
> 7: ==7576==    by 0x40338B: global_do_stuff (threaderciser.c:379)
> 7: ==7576==    by 0x40360F: handle (threaderciser.c:414)
> 7: ==7576==    by 0x40360F: proactor_thread (threaderciser.c:476)
> 7: ==7576==    by 0x48D34E1: start_thread (pthread_create.c:479)
> 7: ==7576==    by 0x49ED6C2: clone (clone.S:95)
> 7: ==7576== 
> 7: ==7576== 95,957 (1,128 direct, 94,829 indirect) bytes in 1 blocks are definitely lost in loss record 156 of 156
> 7: ==7576==    at 0x483980B: malloc (vg_replace_malloc.c:307)
> 7: ==7576==    by 0x402C94: listener_ctx_new (threaderciser.c:263)
> 7: ==7576==    by 0x402C94: lpool_listen.part.0 (threaderciser.c:282)
> 7: ==7576==    by 0x40338B: lpool_listen (threaderciser.c:379)
> 7: ==7576==    by 0x40338B: global_do_stuff (threaderciser.c:379)
> 7: ==7576==    by 0x40368F: user_thread (threaderciser.c:397)
> 7: ==7576==    by 0x48D34E1: start_thread (pthread_create.c:479)
> 7: ==7576==    by 0x49ED6C2: clone (clone.S:95)
> 7: ==7576== 
> 1/1 Test #7: c-threaderciser ..................***Failed    5.75 sec
> 0% tests passed, 1 tests failed out of 1
> Total Test time (real) =   5.76 sec
> The following tests FAILED:
> 	  7 - c-threaderciser (Failed)
> Errors while running CTest{code}
>  



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

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