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

Charles E. Rolke commented on PROTON-2277:
------------------------------------------

Also fails on Fedora 31

{code:java}
test 24
      Start 24: cpp-connect_config_test

24: Test command: /usr/bin/python "/home/chug/git/qpid-proton/scripts/env.py" 
"--" "TEST_EXE_PREFIX=/usr/bin/valgrind --tool=memcheck --leak-check=full 
--error-exitcode=42 --quiet 
--suppressions=/home/chug/git/qpid-proton/tests/valgrind.supp" 
"PN_SASL_CONFIG_PATH=/home/chug/git/qpid-proton/build/cpp/testdata/sasl-conf" 
"/usr/bin/valgrind" "--tool=memcheck" "--leak-check=full" "--error-exitcode=42" 
"--quiet" "--suppressions=/home/chug/git/qpid-proton/tests/valgrind.supp" 
"/home/chug/git/qpid-proton/build/cpp/connect_config_test"
24: Test timeout computed to be: 1500
24: TEST: test_default_file()
24: TEST: test_addr()
24: TEST: test_invalid_config()
24: TEST: test_invalid_json()
24: TEST: test_default_connect().run()
24: ERROR test_default_connect().run()
24: /home/chug/git/qpid-proton/cpp/src/connect_config_test.cpp:419: 
/home/chug/git/qpid-proton/cpp/src/connect_config_test.cpp:272: failed 
ASSERT_SUBSTRING("localhost:5671", t.error().description()) 'localhost:5671' 
not found in 'Connection refused - on read from lo:5671'
24: TEST: test_almost_default_connect().run()
24: TEST: test_host_user_pass().run()
24: TEST: test_tls().run()
24: TEST: test_tls_default_fail().run()
24: TEST: test_tls_external().run()
24: TEST: test_tls_plain().run()
24: ==1733591== 149,885 (1,408 direct, 148,477 indirect) bytes in 1 blocks are 
definitely lost in loss record 257 of 257
24: ==1733591==    at 0x483BB1A: calloc (vg_replace_malloc.c:760)
24: ==1733591==    by 0x4EAA9A2: pn_listener (epoll.c:1634)
24: ==1733591==    by 0x4881156: 
proton::container::impl::listen_common_lh(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) 
(proactor_container_impl.cpp:434)
24: ==1733591==    by 0x4881450: 
proton::container::impl::listen(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, proton::listen_handler&) 
(proactor_container_impl.cpp:456)
24: ==1733591==    by 0x487DBF4: 
proton::container::listen(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, proton::listen_handler&) 
(container.cpp:90)
24: ==1733591==    by 0x40A306: (anonymous 
namespace)::test_handler::on_container_start(proton::container&) 
(connect_config_test.cpp:180)
24: ==1733591==    by 0x4882DCF: proton::container::impl::start_event() 
(proactor_container_impl.cpp:785)
24: ==1733591==    by 0x4888533: void std::__invoke_impl<void, void 
(proton::container::impl::*)(), 
proton::container::impl*>(std::__invoke_memfun_deref, void 
(proton::container::impl::*&&)(), proton::container::impl*&&) (invoke.h:73)
24: ==1733591==    by 0x488673E: std::__invoke_result<void 
(proton::container::impl::*)(), proton::container::impl*>::type 
std::__invoke<void (proton::container::impl::*)(), 
proton::container::impl*>(void (proton::container::impl::*&&)(), 
proton::container::impl*&&) (invoke.h:95)
24: ==1733591==    by 0x48844C3: void std::call_once<void 
(proton::container::impl::*)(), proton::container::impl*>(std::once_flag&, void 
(proton::container::impl::*&&)(), 
proton::container::impl*&&)::{lambda()#1}::operator()() const (mutex:671)
24: ==1733591==    by 0x48844F2: void std::call_once<void 
(proton::container::impl::*)(), proton::container::impl*>(std::once_flag&, void 
(proton::container::impl::*&&)(), 
proton::container::impl*&&)::{lambda()#2}::operator()() const (mutex:676)
24: ==1733591==    by 0x4884502: void std::call_once<void 
(proton::container::impl::*)(), proton::container::impl*>(std::once_flag&, void 
(proton::container::impl::*&&)(), 
proton::container::impl*&&)::{lambda()#2}::_FUN() (mutex:676)
24: ==1733591== 
24/48 Test #24: cpp-connect_config_test ..........***Failed    9.12 sec
{code}


> Epoll proactor debug assistance
> -------------------------------
>
>                 Key: PROTON-2277
>                 URL: https://issues.apache.org/jira/browse/PROTON-2277
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c
>    Affects Versions: proton-c-0.32.0
>            Reporter: Clifford Jansen
>            Assignee: Clifford Jansen
>            Priority: Major
>             Fix For: proton-c-0.33.0
>
>
> Crashes can be hard to debug when release build optimizations limit the 
> debugger's view of the process state at the time of the crash.
>  
> Provide a few breadcrumbs that will survive optimizations: perhaps last 
> relevant kernel events and Proton pn_event_type_t.



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