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

Roddie Kieley commented on PROTON-2231:
---------------------------------------

After collecting lots of logging using the -debug method via:
{code}
./c-threaderciser -time 10 -threads 12 -debug -no-timeout -no-cancel-timeout
{code}

A very short reproduction of the assertion was recorded:
{code}
i7mbp:tests rkieley$ ./c-threaderciser -time 10 -threads 12 -debug -no-timeout 
-no-cancel-timeout 2>&1 >> 
/wip/issues/issues.apache.org/PROTON-2231/threader-110620-4-no-timeouts-1.out | 
tee 
/wip/issues/issues.apache.org/PROTON-2231/threader-110620-4-no-timeouts-1.out   
                                                               
(1053a35c0) [0x7fb3c8802800] listen
(7000009b0000) user_thread start
(700000a33000) proactor_thread start
(700000ab6000) user_thread start
(700000b39000) proactor_thread start
(700000c3f000) proactor_thread start
(7000009b0000) [0x7fb3c7d006a0] connect
(700000cc2000) user_thread start
(700000bbc000) user_thread start
(700000d45000) proactor_thread start
(700000dc8000) user_thread start
(700000bbc000) [0x7fb3c9100070] connect
(700000e4b000) proactor_thread start
(700000ece000) user_thread start
(700000f51000) proactor_thread start
(7000009b0000) [0x7fb3c8802800] close-listen
(7000009b0000) [0x7fb3c9100070] wake
(700000dc8000) [0x7fb3c7d01f10] connect
(700000dc8000) [0x7fb3c980d200] listen
(700000dc8000) [0x7fb3c8802800] close-listen
(700000dc8000) [0x7fb3c9100070] wake
(700000ece000) [0x7fb3c7f02eb0] connect
(7000009b0000) [0x7fb3c980de00] listen
(700000bbc000) [0x7fb3c7d006a0] wake
(700000ece000) [0x7fb3c980d200] close-listen
(700000cc2000) [0x7fb3c7d006a0] wake
(700000bbc000) [0x7fb3c7f041f0] connect
(700000bbc000) [0x7fb3c7f02eb0] wake
(700000ece000) [0x7fb3c9100070] wake
(700000a33000) [0x7fb3c8802800] listening on :::62859
(700000a33000) [0x7fb3c7c04e60] connect
(700000c3f000) [0x7fb3c980de00] listening on :::62860
(700000c3f000) [0x7fb3c9101200] connect
(700000dc8000) [0x7fb3c7f02c90] connect
(700000dc8000) [0x7fb3c7f02c90] wake
(7000009b0000) [0x7fb3c7f02c90] wake
(700000bbc000) [0x7fb3c980de00] close-listen
Assertion failed: (p->active > 0), function remove_active_lh, file 
/wip/src/github.com/apache/qpid-proton/c/src/proactor/libuv.c, line 394.        
                   
i7mbp:tests rkieley$
{code}

> Assertion fail on macOS with libuv in c-threaderciser test
> ----------------------------------------------------------
>
>                 Key: PROTON-2231
>                 URL: https://issues.apache.org/jira/browse/PROTON-2231
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.32.0
>            Reporter: Jiri Daněk
>            Assignee: Roddie Kieley
>            Priority: Major
>              Labels: macOS
>
> As described on PROTON-2225, the test fails with assertion error. It is 
> currently disabled on macOS for this reason (in .travis.yml).
> {noformat}
> 6: Test command: /usr/local/opt/python/libexec/bin/python 
> "/Users/travis/build/jiridanek/qpid-proton/scripts/env.py" "--" 
> "/Users/travis/build/jiridanek/qpid-proton/build/c/tests/c-threaderciser"
> 6: Test timeout computed to be: 1500
> 6: threaderciser start: threads=8, time=1, actions=[listen, close-listen, 
> connect, close-connect, wake, timeout, cancel-timeout]
> 6: Assertion failed: (p->active > 0), function remove_active_lh, file 
> /Users/travis/build/jiridanek/qpid-proton/c/src/proactor/libuv.c, line 392.
>  6/31 Test  #6: c-threaderciser ..................***Failed    0.18 sec
> {noformat}
> If the test is meant to stay disabled for a longer time, it will have to be 
> disabled in CMakeLists.txt, so that users compiling the project do not run it 
> accidentally.



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