You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrea Barisani (JIRA)" <ji...@apache.org> on 2012/09/18 10:49:07 UTC

[jira] [Created] (QPID-4316) qpid aborts with FrameDecoder exception "Assertion `b.available() == 0' failed"

Andrea Barisani created QPID-4316:
-------------------------------------

             Summary: qpid aborts with FrameDecoder exception "Assertion `b.available() == 0' failed"
                 Key: QPID-4316
                 URL: https://issues.apache.org/jira/browse/QPID-4316
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.16
         Environment: CentOS Linux 5.5 64bit
            Reporter: Andrea Barisani


All stable qpid versions from 0.8 to 0.16 routinely crash with the following exception on our setup:

2012-09-18 06:01:03 debug No messages to dispatch on queue '192.168.100.192.0'
2012-09-18 06:01:03 trace cluster(10.22.200.2:12586 READY) DLVR 2339671:  Frame[BEbe; channel=0; {ClusterConnectionDeliverDoOutputBody: limit=2048; }] control 10.22.200.4:15196-3
2012-09-18 06:01:03 debug Sufficient credit for buffer-192.168.100.193.0 on anonymous.session-4-350fa3c0-fea2-11e1-bd79-d4ae52bb0582, have bytes: 4294967295 msgs: 4294967295, need 13965 bytes
2012-09-18 06:01:03 debug Credit allocated for buffer-192.168.100.193.0 on anonymous.session-4-350fa3c0-fea2-11e1-bd79-d4ae52bb0582, was  bytes: 4294967295 msgs: 4294967295 now bytes: 4294967295 msgs: 4294967295
2012-09-18 06:01:03 trace anonymous.session-4-350fa3c0-fea2-11e1-bd79-d4ae52bb0582: sent cmd 197949: {MessageTransferBody: destination=buffer-192.168.100.193.0; accept-mode=0; acquire-mode=0; }
2012-09-18 06:01:03 trace anonymous.session-4-350fa3c0-fea2-11e1-bd79-d4ae52bb0582: sent cmd 197949: header (46 bytes); properties={{MessageProperties: content-type=text/plain; }{DeliveryProperties: exchange=replication-mx.0; routing-key=#; }}
2012-09-18 06:01:03 trace anonymous.session-4-350fa3c0-fea2-11e1-bd79-d4ae52bb0582: sent cmd 197949: content (13919 bytes) \x04\x08{\x08:
Document:       data{\x1D"c...
2012-09-18 06:01:03 debug No messages to dispatch on queue '192.168.100.193.0'
2012-09-18 06:01:03 trace MCAST Event[10.22.200.2:12586-1  data 28 bytes]
2012-09-18 06:01:03 trace cluster(10.22.200.2:12586 READY) DLVR 2339672:  Frame[BEbe; channel=0; {MessageAcceptBody: transfers={ [186207,186207] }; }] data 10.22.200.2:12586-1 read-credit=1
2012-09-18 06:01:03 trace anonymous.session-2-d0d6be80-fe87-11e1-b474-0026b97689bc: recv cmd 412347: {MessageAcceptBody: transfers={ [186207,186207] }; }
2012-09-18 06:01:03 debug DeliveryRecord::setEnded() id=186207
2012-09-18 06:01:03 debug Accepted 186207
2012-09-18 06:01:03 debug anonymous.session-2-d0d6be80-fe87-11e1-b474-0026b97689bc: receiver marked completed: 412347 incomplete: { } unknown-completed: { [393216,412347] }
2012-09-18 06:01:03 trace SENT [127.0.0.1:5672-127.0.0.1:59842]: Frame[BEbe; channel=0; {SessionCompletedBody: commands={ [393216,412347] }; }]
2012-09-18 06:01:03 trace cluster(10.22.200.2:12586 READY) DLVR 2339673:  null-frame data 10.22.200.3:21966-2 read-credit=1
2012-09-18 06:01:03 trace MCAST Event[10.22.200.2:12586-0 Frame[BEbe; channel=0; {ClusterClockBody: time=1347940863856643000; }]]
qpidd: qpid/framing/FrameDecoder.cpp:63: bool qpid::framing::FrameDecoder::decode(qpid::framing::Buffer&): Assertion `b.available() == 0' failed.

We cannot confirm if the issue is present in version 0.18 because a different exception for a possibly different problem is triggered before we get a chance to witness this one (I'll file a separate report for that).

We are using corosync for virtual synchrony, qpid is compiled from the C++ broker with default configure flags + --with-cpg. The cluster has auth=no in the configuration and no further tuning.

Cheers


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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