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

ASF subversion and git services commented on DISPATCH-945:
----------------------------------------------------------

Commit f790e9975bb9503d8a7acc257586812f63217696 in qpid-dispatch's branch 
refs/heads/master from [~chug]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=f790e99 ]

DISPATCH-945: Prevent crash at shutdown when websocket client connected

Execute qd_http_server_free before the server is shut down so that
lws vhost and context destruction activity is handled properly.

This closes #271


> Crash on shutdown when a http+websocket connection is open
> ----------------------------------------------------------
>
>                 Key: DISPATCH-945
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-945
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 1.0.1
>            Reporter: Ted Ross
>            Assignee: Chuck Rolke
>            Priority: Major
>             Fix For: 1.1.0
>
>
> If the router is shut down when there is an active HTTP+websockets 
> connection, the router segfaults.
> This crash appears to be a result of improper shutdown ordering.  When the 
> connection is closed, the container module has already been freed.  This 
> results in the dereferencing of invalid pointers.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to