Andrew Stitcher created PROTON-2351:
---------------------------------------
Summary: [c] Proactor: libuv proactor unit test fails with libuv
1.41
Key: PROTON-2351
URL: https://issues.apache.org/jira/browse/PROTON-2351
Project: Qpid Proton
Issue Type: Bug
Reporter: Andrew Stitcher
Simplest reproducer:
{code:java}
$ PN_LOG=debug gdb --args ./c/tests/c-proactor-test proactor_connect
(gdb) r
Starting program: /usr/home/andrew/qpid-proton/bld/c/tests/c-proactor-test
proactor_connect
[0x8003a00e0]:EVENT:DEBUG:[0x800d6d000]:(PN_LISTENER_OPEN)
[0x800da51d0]:EVENT:DEBUG:(PN_CONNECTION_INIT, pn_connection<0x800d81290>)
[0x800da51d0]:EVENT:DEBUG:(PN_CONNECTION_LOCAL_OPEN, pn_connection<0x800d81290>)
[0x800da51d0]:EVENT:DEBUG:(PN_CONNECTION_BOUND, pn_connection<0x800d81290>)
[0x8003a00e0]:EVENT:DEBUG:[0x800d6d000]:(PN_LISTENER_ACCEPT)
[0x800da5390]:EVENT:DEBUG:(PN_CONNECTION_INIT, pn_connection<0x800d813d0>)
[0x800da5390]:EVENT:DEBUG:(PN_CONNECTION_BOUND, pn_connection<0x800d813d0>)
[0x800da51d0]:EVENT:DEBUG:(PN_TRANSPORT_TAIL_CLOSED, pn_transport<0x800da51d0>)
[0x800da51d0]:EVENT:DEBUG:(PN_TRANSPORT_ERROR, pn_transport<0x800da51d0>)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c-proactor-test is a Catch v1.12.2 host application.
Run with -? for options
-------------------------------------------------------------------------------
proactor_connect
-------------------------------------------------------------------------------
/home/andrew/qpid-proton/src/c/tests/proactor_test.cpp:138
...............................................................................
/home/andrew/qpid-proton/src/c/tests/proactor_test.cpp:145: FAILED:
CHECKED_IF( (PN_TRANSPORT_CLOSED) == (p).run(PN_TRANSPORT_CLOSED) )
with expansion:
PN_TRANSPORT_CLOSED == PN_TRANSPORT_ERROR
/home/andrew/qpid-proton/src/c/tests/proactor_test.cpp:145: FAILED:
explicitly with message:
pn_condition{"proton:io", "connection already in progress - read :55624"}
===============================================================================
test cases: 1 | 1 failed
assertions: 3 | 1 passed | 2 failed
[Inferior 1 (process 50316) exited with code 02]
{code}
This test passes fine with libuv 1.40. At this point it is unclear whether it
is a bug with libuv or with Proton.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]