qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Sim (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DISPATCH-191) router not replying to detach frame
Date Wed, 04 Nov 2015 19:41:27 GMT

     [ https://issues.apache.org/jira/browse/DISPATCH-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gordon Sim updated DISPATCH-191:
--------------------------------
    Attachment: timed_recv.py

Reproducer client. Just run this against the router and observe the detach is never echoed
back. Appears this is due to the test on line 394 of container.c, qd_link->pn_link == pn_link,
being false when the detach is handled.

> router not replying to detach frame
> -----------------------------------
>
>                 Key: DISPATCH-191
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-191
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Router Node
>    Affects Versions: 0.6
>         Environment: Latest master of both dispatch and proton.
>            Reporter: Gordon Sim
>         Attachments: timed_recv.py
>
>
> Trace from router (notice there is no outgoing detach frame in response to that sent
by the client):
> {noformat}
> $ PN_SASL_CONFIG_PATH=$(pwd)/etc/sasl2/  PN_TRACE_FRM=1 ./sbin/qdrouterd 
> Wed Nov  4 18:54:09 2015 SERVER (info) Container Name: Qpid.Dispatch.Router.A
> Wed Nov  4 18:54:09 2015 ROUTER (info) Router started in Standalone mode
> Wed Nov  4 18:54:09 2015 AGENT (info) Activating management agent on $management
> Wed Nov  4 18:54:09 2015 ROUTER (info) In-Process Address Registered: $management
> Wed Nov  4 18:54:09 2015 ROUTER (info) In-Process Address Registered: $management
> Wed Nov  4 18:54:09 2015 ROUTER (info) Configured Address: prefix=/closest/ phase=0 fanout=QD_SCHEMA_FIXEDADDRESS_FANOUT_SINGLE
bias=QD_SCHEMA_FIXEDADDRESS_BIAS_CLOSEST
> Wed Nov  4 18:54:09 2015 ROUTER (info) Configured Address: prefix=/multicast/ phase=0
fanout=QD_SCHEMA_FIXEDADDRESS_FANOUT_MULTIPLE
> Wed Nov  4 18:54:09 2015 ROUTER (info) Configured Address: prefix=/queue/ phase=0 fanout=QD_SCHEMA_FIXEDADDRESS_FANOUT_SINGLE
bias=QD_SCHEMA_FIXEDADDRESS_BIAS_CLOSEST
> Wed Nov  4 18:54:09 2015 ROUTER (info) Configured Address: prefix=/queue/ phase=1 fanout=QD_SCHEMA_FIXEDADDRESS_FANOUT_SINGLE
bias=QD_SCHEMA_FIXEDADDRESS_BIAS_CLOSEST
> Wed Nov  4 18:54:09 2015 ROUTER (info) Configured Address: prefix=/unicast phase=0 fanout=QD_SCHEMA_FIXEDADDRESS_FANOUT_SINGLE
bias=QD_SCHEMA_FIXEDADDRESS_BIAS_CLOSEST
> Wed Nov  4 18:54:09 2015 ROUTER (info) Configured Address: prefix=/exclusive phase=0
fanout=QD_SCHEMA_FIXEDADDRESS_FANOUT_SINGLE bias=QD_SCHEMA_FIXEDADDRESS_BIAS_CLOSEST
> Wed Nov  4 18:54:09 2015 ROUTER (info) Configured Address: prefix=/broadcast phase=0
fanout=QD_SCHEMA_FIXEDADDRESS_FANOUT_MULTIPLE
> Wed Nov  4 18:54:09 2015 ROUTER (info) Configured Address: prefix=/ phase=0 fanout=QD_SCHEMA_FIXEDADDRESS_FANOUT_MULTIPLE
> Wed Nov  4 18:54:09 2015 CONN_MGR (info) Configured Listener: 0.0.0.0:5671 role=normal
> Listening on 0.0.0.0:5671
> Wed Nov  4 18:54:09 2015 CONN_MGR (info) Configured Listener: 0.0.0.0:amqp role=normal
> Listening on 0.0.0.0:amqp
> Wed Nov  4 18:54:09 2015 SERVER (info) Operational, 4 Threads Running
> Wed Nov  4 18:54:09 2015 SERVER (info) Running in DEBUG Mode
> Accepted from localhost.localdomain:36084
> [0x7fd2cc002440]:  <- SASL
> [0x7fd2cc002440]:  -> SASL
> [0x7fd2cc002440]:0 -> @sasl-mechanisms(64) [sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS,
:"DIGEST-MD5", :PLAIN]]
> [0x7fd2cc002440]:0 <- @sasl-init(65) [mechanism=:ANONYMOUS, initial-response=b"anonymous@GRS-T520"]
> [0x7fd2cc002440]:0 -> @sasl-outcome(68) [code=0]
> [0x7fd2cc002440]:  <- AMQP
> [0x7fd2cc002440]:0 <- @open(16) [container-id="b2097be8-4ffb-4792-b8aa-f815af8ef2a6",
hostname="127.0.0.1:amqps", channel-max=32767]
> [0x7fd2cc002440]:  -> AMQP
> [0x7fd2cc002440]:0 -> @open(16) [container-id="Qpid.Dispatch.Router.A", max-frame-size=65536,
channel-max=32767, idle-time-out=8000, offered-capabilities=:"ANONYMOUS-RELAY", properties={:product="qpid-dispatch-router",
:version="0.6.0"}]
> [0x7fd2cc002440]:0 <- @begin(17) [next-outgoing-id=0, incoming-window=2147483647,
outgoing-window=2147483647]
> [0x7fd2cc002440]:0 <- @attach(18) [name="45e56918-f9e7-43c8-877d-c31dd6abdccd", handle=0,
role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="some_destination",
durable=0, timeout=0, dynamic=false], target=@target(41) [durable=0, timeout=0, dynamic=false],
initial-delivery-count=0]
> Wed Nov  4 18:54:14 2015 ROUTER (info) Registered local address=some_destination phase=0
> [0x7fd2cc002440]:0 -> @begin(17) [remote-channel=0, next-outgoing-id=0, incoming-window=15,
outgoing-window=2147483647]
> [0x7fd2cc002440]:0 -> @attach(18) [name="45e56918-f9e7-43c8-877d-c31dd6abdccd", handle=0,
role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="some_destination",
durable=0, timeout=0, dynamic=false], initial-delivery-count=0]
> [0x7fd2cc002440]:0 <- @flow(19) [next-incoming-id=0, incoming-window=2147483647, next-outgoing-id=0,
outgoing-window=2147483647, handle=0, delivery-count=0, link-credit=1, drain=false]
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- @detach(22) [handle=0, closed=true]
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- (EMPTY FRAME)
> [0x7fd2cc002440]:0 <- @close(24) []
> [0x7fd2cc002440]:0 -> @close(24) []
> [0x7fd2cc002440]:  -> EOS
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message