[
https://issues.apache.org/jira/browse/PROTON-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15333724#comment-15333724
]
ASF subversion and git services commented on PROTON-1236:
---------------------------------------------------------
Commit 03b4ac60932110ffe0352195add7667dc11a2875 in qpid-proton's branch
refs/heads/master from [~kgiusti]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=03b4ac6 ]
PROTON-1236: add a link to the transport's reactor as soon as the it is bound
Previously the reactor would be put on the transport's attachment list
when a socket selector was created for the transport. If the socket
setup fails then no selector is created and the reactor is never added
to the transport. This would result in a crash as the code depends on
the reactor being present in the transport when transport events are
generated.
> Reactor - segfault if connection address cannot be resolved
> -----------------------------------------------------------
>
> Key: PROTON-1236
> URL: https://issues.apache.org/jira/browse/PROTON-1236
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: 0.13.0
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Priority: Critical
> Fix For: 0.13.1
>
>
> $ cd examples/python/reactor/send.py
> $ python ./send.py lolhost:9999/foo
> Segmentation fault (core dumped)
> Same action using 0.12.2 release:
> $ python ./send.py lolhost:9999/foo
> Condition('proton:io', 'getaddrinfo(lolhost, 9999/amq.topic): Servname not
> supported for ai_socktype')
> $
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]