Alan Conway created PROTON-1578:
-----------------------------------
Summary: c++; sporadic problems with cpp-container_test
Key: PROTON-1578
URL: https://issues.apache.org/jira/browse/PROTON-1578
Project: Qpid Proton
Issue Type: Bug
Reporter: Alan Conway
Assignee: Andrew Stitcher
I often (not always) see the cpp-containre_test take up to 30-40 sec to run,
the delay seems to be in test_container_bad_address(). A normal run taks < 1sec.
I occasionally see tsan races or asan leaks reported from the test, I believe
the test's use of the multi-threaded proactor is unsafe and there are races
around the listener, but not sure exactly what.
I have seen the delay with libuv and epoll proactors, so suspect the problem is
in the C++ layer - or is a common bug in both proactors.
I often see these (non-fatal) warnings with asan:
8:
/home/aconway/proton/proton-c/bindings/cpp/src/proactor_container_impl.cpp:519:45:
runtime error: member call on address 0x7ffcd1c0e620 which does not point to
an object of type 'listen_handler'
8: 0x7ffcd1c0e620: note: object is of type '*N12_GLOBAL__N_113test_listenerE'
8: fc 7f 00 00 50 3c 41 00 00 00 00 00 00 00 db 2b 21 7f 00 00 40 e6 c0 d1
fc 7f 00 00 00 00 00 00
8: ^~~~~~~~~~~~~~~~~~~~~~~
8: vptr for '*N12_GLOBAL__N_113test_listenerE'
8:
/home/aconway/proton/proton-c/bindings/cpp/src/proactor_container_impl.cpp:521:41:
runtime error: member call on address 0x7ffcd1c0e620 which does not point to
an object of type 'listen_handler'
8: 0x7ffcd1c0e620: note: object is of type '*N12_GLOBAL__N_113test_listenerE'
8: fc 7f 00 00 50 3c 41 00 00 00 00 00 00 00 db 2b 21 7f 00 00 d0 2f 00 00
70 60 00 00 43 00 00 0
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]