[jira] [Commented] (PROTON-1586) [proton-c] examples send core dumps on specifying invalid host

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (PROTON-1586) [proton-c] examples send core dumps on specifying invalid host

JIRA jira@apache.org

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

ASF subversion and git services commented on PROTON-1586:

Commit cf5e939a9d3d48edc1858bbab3f9316bf84375e9 in qpid-proton's branch refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=cf5e939 ]

PROTON-1586: c proactor example clients core dump with bad host

Fixed crash: move timer rearm logic to after check for connection closed,
so timer is not rearmed for a closed connection.

Fixed events after PN_TRANSPORT_CLOSE

> [proton-c] examples send core dumps on specifying invalid host
> --------------------------------------------------------------
>                 Key: PROTON-1586
>                 URL: https://issues.apache.org/jira/browse/PROTON-1586
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.18.0
>            Reporter: Ganesh Murthy
>            Assignee: Alan Conway
> Run the send examples code with an invalid hostname like shown in the following -
> {noformat}
> [gmurthy@localhost build]$ pwd
> /home/gmurthy/opensource/qpid-proton/build
> [gmurthy@localhost build]$
> [gmurthy@localhost build]$
> [gmurthy@localhost build]$ examples/c/send nosuchhost
> PN_TRANSPORT_CLOSED: proton:io: No address associated with hostname - connect to  nosuchhost:5672
> epoll proactor failure in /home/gmurthy/opensource/qpid-proton/proton-c/src/proactor/epoll.c:648: "arming polled file descriptor": No such file or directory
> Aborted (core dumped)
> [gmurthy@localhost build]$
> {noformat}
> The proactor code coredumps.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]