[rabbitmq-discuss] Sending message through rabbitmq-stomp -> exchange(topic) - crashes queue

Matthew Sackman matthew at rabbitmq.com
Wed Feb 2 23:48:19 GMT 2011

On Wed, Feb 02, 2011 at 10:27:45AM -0800, Jurdanas Kriauciunas wrote:
> Versions tested: 2.1.1, 2.2.0 and newest 2.3.0. All have same problem
> (2.1.1 has different destination naming and extra headers). But newest
> version sends error back at least.

Good to know this isn't a bug that's recently been introduced.

> Here is excerpt from .log file:
> =ERROR REPORT==== 2-Feb-2011::19:50:38 ===
> Error in process <0.2811.0> on node 'rabbit at JOSKIS-PC' with exit
> value: {badarg,[{erlang,size,[[<<9 bytes>>]]},
> {rabbit_binary_generator,build_content_frames,7},
> {rabbit_binary_generator,build_simple_content_frames,4},
> {rabbit_writer,assemble_frames,5},
> {rabbit_writer,internal_send_command_async...

Ok, so the message payload is being sent through as a list instead of as
a binary. My guess without checking further is this is a bug in the
stomp client in the way it constructs the messages which are then sent
further into Rabbit, but this may not be the case.

Is there any chance you can send the python code that you use (short and
simple though it may be) that triggers this crash?

Many thanks,


More information about the rabbitmq-discuss mailing list