qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-1129) Receiver crash due to data corruption on multicast streamed messages
Date Tue, 25 Sep 2018 19:28:00 GMT

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

ASF GitHub Bot commented on DISPATCH-1129:
------------------------------------------

GitHub user ganeshmurthy opened a pull request:

    https://github.com/apache/qpid-dispatch/pull/383

    DISPATCH-1129 - Moved call to forwarding multicast messages to end of…

    … forwarder function. Also modified qd_message_check_LH to not validate the message
if bufferes have already been freed

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ganeshmurthy/qpid-dispatch DISPATCH-1129-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/qpid-dispatch/pull/383.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #383
    
----
commit 67a210c93d9097999158b06c5b61a8726a2bdd0d
Author: Ganesh Murthy <gmurthy@...>
Date:   2018-09-24T17:06:47Z

    DISPATCH-1129 - Moved call to forwarding multicast messages to end of forwarder function.
Also modified qd_message_check_LH to not validate the message if bufferes have already been
freed

----


> Receiver crash due to data corruption on multicast streamed messages
> --------------------------------------------------------------------
>
>                 Key: DISPATCH-1129
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1129
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Container
>    Affects Versions: 1.3.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>             Fix For: 1.4.0
>
>         Attachments: blue.conf, collectd.conf, datafile.txt, green.conf, simple_recv.py,
simple_send_datafile.py
>
>
> Create a 3 router network using the attached router config files. It forms a linear network
>  
> Router -> Router B -> Router C
> Attach one receiver on Router B and another one on Router C. Send a 50k streaming message
using a sender connected to Router A.
>  
> One of the receivers will crash with the following error
>  
> {noformat}
> Traceback (most recent call last):
>   File "simple_recv.py", line 55, in <module>
>     Container(Recv(opts.address, opts.messages)).run()
>   File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/reactor.py",
line 175, in run
>     while self.process(): pass
>   File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/reactor.py",
line 201, in process
>     self._check_errors()
>   File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/reactor.py",
line 197, in _check_errors
>     _compat.raise_(exc, value, tb)
>   File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/_reactor_impl.py",
line 133, in dispatch
>     ev.dispatch(self.handler)
>   File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/_events.py",
line 254, in dispatch
>     self.dispatch(h, type)
>   File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/_events.py",
line 251, in dispatch
>     result = dispatch(handler, type.method, self)
>   File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/_events.py",
line 113, in dispatch
>     return m(*args)
>   File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/handlers.py",
line 178, in on_delivery
>     event.message = recv_msg(dlv)
>   File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/handlers.py",
line 107, in recv_msg
>     msg.decode(delivery.link.recv(delivery.pending))
>   File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/_message.py",
line 398, in decode
>     self._check(pn_message_decode(self._msg, data))
>   File "/opt/qpid-proton/qpid-proton/lib64/proton/bindings/python/proton/_message.py",
line 94, in _check
>     raise exc("[%s]: %s" % (err, pn_error_text(pn_message_error(self._msg))))
> proton._exceptions.MessageException: [-6]: data error: (null)
> [gmurthy@localhost examples]$
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message