Qpid C++ Broker Decoder.cpp bug?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Qpid C++ Broker Decoder.cpp bug?

mottese
I've been conducting some testing and it seems that ocasionally the C++ message broker is getting a bad message and failing to parse it. The line from the broker log looks like this:

[System] debug Exception constructed: Out of Bounds: request advance of 4294967295 at 55 but only 255 available (.../qpid-cpp-1.36.0/src/qpid/amqp/Decoder.cpp:307)

I'm using the latest version of the Qpid Messaging API and I'm using AMQP 1.0. When compiling qpid-cpp-1.36.0, I had to use qpid-proton-0.11.0 due to some other constraints on my system. Is the error I'm seeing above related to some kind of library mismatch or maybe a bug that was fixed in a later version of Proton?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Qpid C++ Broker Decoder.cpp bug?

Gordon Sim
On 10/08/17 22:52, mottese wrote:

> I've been conducting some testing and it seems that ocasionally the C++
> message broker is getting a bad message and failing to parse it. The line
> from the broker log looks like this:
>
> [System] debug Exception constructed: Out of Bounds: request advance of
> 4294967295 at 55 but only 255 available
> (.../qpid-cpp-1.36.0/src/qpid/amqp/Decoder.cpp:307)
>
> I'm using the latest version of the Qpid Messaging API and I'm using AMQP
> 1.0. When compiling qpid-cpp-1.36.0, I had to use qpid-proton-0.11.0 due to
> some other constraints on my system. Is the error I'm seeing above related
> to some kind of library mismatch or maybe a bug that was fixed in a later
> version of Proton?

I don't *think* so (at least not obviously so). Are all the messages
that are produced produced through that same version of qpid::messaging?
If you can try and narrow down a reproducer and then get a wireshark
trace that would help.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...