qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Duckworth <tob...@duckworth.uk.com>
Subject Re: pn_delivery_finalize Assertion failure
Date Tue, 07 Mar 2017 17:27:13 GMT
Here's some debug output from when the problem happens - In this case one of
the assertions triggers, but that is not always the case:

(imp_server@ubuntu)1> [0x2b8bd80026b0]:1 <- @transfer(20) [handle=1,
delivery-id=0,
delivery-tag=b"X\x00\xd2\xebX\x82\x0eO\x92\x08\x87\x92[i\xc6\xbd",
message-format=0, more=false, batchable=false] (227)
"\x00Sr\xc1W\x06\xa3\x15x-opt-sequence-number\x80\x00\x00\x00\x00\x00\x00\x03B\xa3\x13iothub-enqueuedtime\x83\x00\x00\x01Z\xa9\xca\xb0\x1f\xa3\x14iothub-deliverycountP\x00\x00Ss\xc0^\x0d\xa1$fb64f194-f8ee-4615-8adf-d4ae7dc22bd9@\xa1*/devices/nAieblFn7nMO/messages/devicebound@@@@@@@@@@\x00St\xc1\x13\x02\xa1\x0aiothub-ack\xa1\x04full\x00Sw\xc1\x07\x02\xa1\x02idR\x01"
pn_delivery_finalize on delivery 0x2b8bd801a660
pni_link_live = 1
pni_preserve_delivery 0x2b8bd801a660
conn = 0x2b8bd8000d10
delivery->local.settled = 0
delivery->state.init = 0
delivery->tpwork = 0
pni_preserve_delivery = 1
delivery->referenced = 1
pni_preserve_delivery 0x2b8bd801a660
conn = 0x2b8bd8000d10
delivery->local.settled = 0
delivery->state.init = 0
delivery->tpwork = 0
2
pni_delivery_map_push
pn_delivery_state_init on delivery 0x2b8bd801a660
[0x2b8bd80026b0]:1 -> @flow(19) [next-incoming-id=2,
incoming-window=2147483647, next-outgoing-id=1, outgoing-window=2147483647,
handle=1, delivery-count=1, link-credit=10, drain=false]
2017-03-07 17:21:56.376 imp_server@ubuntu [debug] 70eba461caa3130b
<0.1770.0>@agent_host:maybe_show_log:624 log: <<"{ \"id\": 1 }">>
2017-03-07 17:21:56.391 imp_server@ubuntu [debug] 70eba461caa3130b
<0.1770.0>@agent_host:maybe_show_log:624 log: <<"{ \"iothub-ack\": \"full\"
}">>
Accepting delivery 0x2b8bd801b510
AmqpProtonReceiver::accept 0x2b8bd801b510
Calling accept on 0x2b8bd801b510
pn_delivery_settle 0x2b8bd801a660
pn_delivery_finalize on delivery 0x2b8bd801a660
pni_link_live = 1
pni_preserve_delivery 0x2b8bd801a660
conn = 0x2b8bd8000d10
delivery->local.settled = 1
delivery->state.init = 0
delivery->tpwork = 0
pni_preserve_delivery = 0
delivery->referenced = 1
pni_preserve_delivery 0x2b8bd801a660
conn = 0x2b8bd8000d10
delivery->local.settled = 1
delivery->state.init = 0
delivery->tpwork = 0
3
pn_delivery_finalize on delivery 0x2b8bd801a660
pni_link_live = 1
pni_preserve_delivery 0x2b8bd801a660
conn = 0x2b8bd8000d10
delivery->local.settled = 1
delivery->state.init = 0
delivery->tpwork = 0
pni_preserve_delivery = 0
delivery->referenced = 1
pni_preserve_delivery 0x2b8bd801a660
conn = 0x2b8bd8000d10
delivery->local.settled = 1
delivery->state.init = 0
delivery->tpwork = 0
3
4
5
6 - pn_refcount(delivery) = 0
7
7.5 - pn_refcount(delivery) = 1
8
10
pn_delivery_finalize on delivery 0x2b8bd801a660 exits
[0x2b8bd80026b0]:1 -> @disposition(21) [role=true, first=0, last=0,
settled=true, state=@accepted(36) []]
      4
5
6 - pn_refcount(delivery) = 1
beam.smp: thirdparty/qpid-proton/proton-c/src/engine/engine.c:1454:
pn_delivery_finalize: Assertion `pn_refcount(delivery) == 0' failed.



--
View this message in context: http://qpid.2158936.n2.nabble.com/pn-delivery-finalize-Assertion-failure-tp7660170p7660174.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Mime
View raw message