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

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

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

DISPATCH-1124: null buffer pointers causing assert

Buffer streaming allowed null buffer pointers into the streaming cursor.

This patch keeps buffers in the stream cursor and sets the buffer cursor
to indicate that the buffer has been consumed.


> Assert(buf) in qd_message_send; message copied locally and routed onward
> ------------------------------------------------------------------------
>
>                 Key: DISPATCH-1124
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1124
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Routing Engine
>    Affects Versions: 1.3.0
>         Environment: Fedora 27/28.
>            Reporter: Chuck Rolke
>            Assignee: Chuck Rolke
>            Priority: Major
>         Attachments: BLU.conf, COLLECTD.conf, GRN.conf
>
>
> {{Three routers connected in linear chain.}}
> {{Two systems connected with wireless lan.}}
> {{This does not fail as frequently with all routers on localhost.}}
> {{+-----------------+       +----------------+}}
> {{| System A        |       | System B       |}}
> {{| +-------+       |       | +----------+   |}}
> {{| | green +---------------->| blue     +-----> rcvr2}}
> {{| |       |       |       | +----------+   |}}
> {{| |       |       |       |                |}}
> {{| |       |       |       | +----------+   |}}
> {{| |       |<----------------+ collectd |<----- sndr}}
> {{| +---+---+       |       | +----------+   |}}
> {{+-----|-----------+       +----------------+}}
> {{      V}}
> {{    rcvr1}}
> {{System A:}}
> {{    green router}}
> {{        5672 - normal listener}}
> {{        20001 - inter-router listener}}
> {{System B:}}
> {{   blue router}}
> {{        5672 - normal listener}}
> {{        connector to green}}
> {{   collectd router}}
> {{        15672 - normal listener}}
> {{        connector to green}}
> {{Failing test:}}
> {{   Start receiver 1 on A:5672  (green)}}
> {{   Start receiver 2 on B:5672  (blue)}}
> {{   Start sender on     B:15672 (collectd)}}
> {{   Receivers have credit of 1000}}
> {{   Senders send 500-byte payloads. And plenty of 'em.}}
> {{Data path:}}
> {{   messages received on collectd forwarded to green}}
> {{   green receives interrouter; sends to local receiver, forwards to blue}}
> {{   blue receives interrouter; sends to local receiver}}



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

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

Reply via email to