[
https://issues.apache.org/jira/browse/PROTON-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15886240#comment-15886240
]
ASF subversion and git services commented on PROTON-1413:
---------------------------------------------------------
Commit 2dae68d6a2a98f457ca7691f74d56296431de866 in qpid-proton's branch
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=2dae68d ]
PROTON-1413: c proactor fix assertion errors, simplify code
- expanded & improved tests/proactor.c tests and tests/test_tools.h framework
- drop wakeup/action callbacks
- simpler listening logic using locks for concurrent leader/worker access
- centralize logic for socket processing and error handling
> [proactor] Assertion `ps->next == &UNLISTED' failed
> ---------------------------------------------------
>
> Key: PROTON-1413
> URL: https://issues.apache.org/jira/browse/PROTON-1413
> Project: Qpid Proton
> Issue Type: Bug
> Components: examples, proton-c
> Affects Versions: 0.18.0
> Reporter: Jiri Danek
> Assignee: Alan Conway
>
> Use commit 204c847 PROTON-1403: C libuv proactor fixes and tests, build with
> {{-DCMAKE_BUILD_TYPE=Debug}}
> {noformat}
> ./qpid-proton/build/examples/c/proactor/send -a 192.168.1.100
> 100 messages sent and acknowledged
> PN_TRANSPORT_CLOSED: amqp:connection:framing-error: connection aborted
> /receive -a 192.168.1.100
> {"sequence"=1}
> {"sequence"=2}
> receive: .../proton-c/src/proactor/libuv.c:203: void push_lh(queue *,
> psocket_t *): Assertion `ps->next == &UNLISTED' failed.
> Aborted (core dumped)
> {noformat}
> Another (more deterministic) way to reproduce this is
> {noformat}
> $ nc -l 5672 < /dev/null
> $ qpid-proton/build/examples/c/proactor/receive
> receive: .../qpid-proton/proton-c/src/proactor/libuv.c:203: void
> push_lh(queue *, psocket_t *): Assertion `ps->next == &UNLISTED' failed.
> Aborted (core dumped)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]