[rabbitmq-discuss] Weird error on 3.2.0 causing failures

Jason McIntosh mcintoshj at gmail.com
Thu Oct 31 20:26:13 GMT 2013


Sorry, we're not using the erlang client other than for shovels.  We have
the Java client we're using for consumer/publishers.  In this case though,
I'm pretty sure this was done from the web GUI based on a conversation I've
had with the developers who published the message.  I'm trying to replicate
the issue right now - at a guess, they half way typed the message in the
GUI page, and somehow submitted a blank property.


And it was all done from 3.2.0.  It's POSSIBLE a cached gui javascript
might have been in play, but I don't think so,


Jason


On Thu, Oct 31, 2013 at 12:22 PM, Simon MacMullen <simon at rabbitmq.com>wrote:

> Just to add to what I said before: you said that the message was published
> through management - how sure are you of that? I ask because you say you're
> also using the Erlang client.
>
> If you use the Erlang client in direct mode then no validation is
> performed of any properties you pass in and you could provoke exactly this
> sort of breakage when subsequently reading in network mode.
>
> Cheers, Simon
>
>
> On 31/10/13 16:47, Jason McIntosh wrote:
>
>> We have a consumer process that's just dying repeatedly throwing low
>> level channel errors.  This is using amqp-client 3.2.0.  We've tried
>> with an earlier version as well.  We die as soon as we try and do a
>> basicConsume on the channel.  On the server, I found the below logs.
>>
>>
>> Just wanted to see if anyone had any ideas?  We deleted the messages,
>> published them again and our consumer works fine.  This has us pretty
>> confused.  The ONLY guess I have right now is some sort of funky
>> character or a blank tag somehow got in, but I can't imagine what that
>> would be - nothing here seems out of place.  Note, the original problem
>> message was published through the management GUI.
>>
>> Thanks for any advice!
>>
>> Jason
>>
>> =SUPERVISOR REPORT==== 31-Oct-2013::11:30:42 ===
>>
>>       Supervisor: {<0.1276.61>,rabbit_channel_**sup}
>>
>>       Context: child_terminated
>>
>>       Reason: badarg
>>
>>       Offender:   [{pid,<0.1275.61>},
>>
>> {name,writer},
>>
>> {mfargs,
>>
>> {rabbit_writer,start_link,
>>
>> [#Port<0.347665>,2,131072,**rabbit_framing_amqp_0_9_1,
>>
>> <0.1278.61>,true]}},
>>
>> {restart_type,intrinsic},
>>
>> {shutdown,4294967295},
>>
>> {child_type,worker}]
>>
>> =SUPERVISOR REPORT==== 31-Oct-2013::11:30:42 ===
>>
>>       Supervisor: {<0.1276.61>,rabbit_channel_**sup}
>>
>>       Context:    shutdown
>>
>>       Reason: reached_max_restart_intensity
>>
>>       Offender: [{pid,<0.1275.61>},
>>
>> {name,writer},
>>
>> {mfargs,
>>
>> {rabbit_writer,start_link,
>>
>> [#Port<0.347665>,2,131072,**rabbit_framing_amqp_0_9_1,
>>
>> <0.1278.61>,true]}},
>>
>> {restart_type,intrinsic},
>>
>> {shutdown,4294967295},
>>
>> {child_type,worker}]
>>
>> =CRASH REPORT==== 31-Oct-2013::11:30:43 ===
>>
>>    crasher:
>>
>>      initial call: rabbit_writer:mainloop/2
>>
>>      pid: <0.1299.61>
>>
>>      registered_name: []
>>
>>      exception error: bad argument
>>
>>        in function rabbit_framing_amqp_0_9_1:**encode_properties/1
>>
>>        in call from rabbit_binary_generator:**ensure_content_encoded/2
>>
>>        in call from rabbit_binary_generator:build_**
>> simple_content_frames/4
>>
>>        in call from rabbit_writer:assemble_frames/**5
>>
>>        in call from rabbit_writer:internal_send_**command_async/3
>>
>>        in call from rabbit_writer:handle_message/2
>>
>>        in call from rabbit_writer:handle_message/3
>>
>>        in call from rabbit_writer:mainloop1/2
>>
>>      ancestors: [<0.1300.61>,<0.1303.61>,<0.**1272.61>,<0.1273.61>,
>>
>> rabbit_tcp_client_sup,rabbit_**sup,<0.165.0>]
>>
>>      messages: [{send_command_and_notify,<0.**14808.16>,<0.1293.61>,
>>
>> {'basic.deliver',<<"amq.ctag-**y_Tr2BuZFgx7A3XAmXxzSg">>,
>>
>> 2,true,<<>>,<<"extractions.**summarizer">>},
>>
>>                       {content,60,
>>
>> {'P_basic',<<"text/plain">>,<<**"UTF-8">>,[],1,
>>
>> <<"0">>,undefined,undefined,**undefined,undefined,
>>
>> undefined,undefined,undefined,**undefined,
>>
>> undefined},
>>
>> none,none,
>>
>> [<<"{\"jobName\":\"**BIGFauxTest2\",\"creationTime\**":\"10-03-2013
>> 14:36:10\"}">>]}}]
>>
>>      links: [<0.1300.61>]
>>
>>      dictionary: []
>>
>>      trap_exit: false
>>
>>      status: running
>>
>>      heap_size: 376
>>
>>      stack_size: 27
>>
>>      reductions: 423
>>
>>    neighbours:
>>
>> =SUPERVISOR REPORT==== 31-Oct-2013::11:30:43 ===
>>
>>       Supervisor: {<0.1300.61>,rabbit_channel_**sup}
>>
>>       Context: child_terminated
>>
>>       Reason: badarg
>>
>>       Offender: [{pid,<0.1299.61>},
>>
>> {name,writer},
>>
>> {mfargs,
>>
>> {rabbit_writer,start_link,
>>
>> [#Port<0.347666>,2,131072,**rabbit_framing_amqp_0_9_1,
>>
>> <0.1271.61>,true]}},
>>
>> {restart_type,intrinsic},
>>
>> {shutdown,4294967295},
>>
>> {child_type,worker}]
>>
>> =SUPERVISOR REPORT==== 31-Oct-2013::11:30:43 ===
>>
>>       Supervisor: {<0.1300.61>,rabbit_channel_**sup}
>>
>>       Context:    shutdown
>>
>>       Reason: reached_max_restart_intensity
>>
>>       Offender: [{pid,<0.1299.61>},
>>
>> {name,writer},
>>
>> {mfargs,
>>
>> {rabbit_writer,start_link,
>>
>> [#Port<0.347666>,2,131072,**rabbit_framing_amqp_0_9_1,
>>
>> <0.1271.61>,true]}},
>>
>> {restart_type,intrinsic},
>>
>> {shutdown,4294967295},
>>
>> {child_type,worker}]
>>
>> =CRASH REPORT==== 31-Oct-2013::11:30:43 ===
>>
>>    crasher:
>>
>>      initial call: rabbit_writer:mainloop/2
>>
>>      pid: <0.1325.61>
>>
>>      registered_name: []
>>
>>      exception error: bad argument
>>
>>        in function rabbit_framing_amqp_0_9_1:**encode_properties/1
>>
>>        in call from rabbit_binary_generator:**ensure_content_encoded/2
>>
>>        in call from rabbit_binary_generator:build_**
>> simple_content_frames/4
>>
>>        in call from rabbit_writer:assemble_frames/**5
>>
>>        in call from rabbit_writer:internal_send_**command_async/3
>>
>>        in call from rabbit_writer:handle_message/2
>>
>>        in call from rabbit_writer:handle_message/3
>>
>>        in call from rabbit_writer:mainloop1/2
>>
>>      ancestors: [<0.1323.61>,<0.1317.61>,<0.**1296.61>,<0.1297.61>,
>>
>> rabbit_tcp_client_sup,rabbit_**sup,<0.165.0>]
>>
>>      messages: [{send_command_and_notify,<0.**14808.16>,<0.1322.61>,
>>
>> {'basic.deliver',<<"amq.ctag-**ACPfvFFpUNKEw1WOwN9IbQ">>,
>>
>> 2,true,<<>>,<<"extractions.**summarizer">>},
>>
>> {content,60,
>>
>> {'P_basic',<<"text/plain">>,<<**"UTF-8">>,[],1,
>>
>> <<"0">>,undefined,undefined,**undefined,undefined,
>>
>> undefined,undefined,undefined,**undefined,
>>
>> undefined},
>>
>> none,none,
>>
>> [<<"{\"jobName\":\"**BIGFauxTest2\",\"creationTime\**":\"10-03-2013
>> 14:36:10\"}">>]}}]
>>
>>      links: [<0.1323.61>]
>>
>>      dictionary: []
>>
>>      trap_exit: false
>>
>>      status: running
>>
>>      heap_size: 376
>>
>>      stack_size: 27
>>
>>      reductions: 438
>>
>>    neighbours:
>>
>> =SUPERVISOR REPORT==== 31-Oct-2013::11:30:43 ===
>>
>>       Supervisor: {<0.1323.61>,rabbit_channel_**sup}
>>
>>       Context: child_terminated
>>
>>       Reason: badarg
>>
>>       Offender: [{pid,<0.1325.61>},
>>
>>              {name,writer},
>>
>> {mfargs,
>>
>> {rabbit_writer,start_link,
>>
>> [#Port<0.347667>,2,131072,**rabbit_framing_amqp_0_9_1,
>>
>> <0.1295.61>,true]}},
>>
>> {restart_type,intrinsic},
>>
>> {shutdown,4294967295},
>>
>> {child_type,worker}]
>>
>> =SUPERVISOR REPORT==== 31-Oct-2013::11:30:43 ===
>>
>>       Supervisor: {<0.1323.61>,rabbit_channel_**sup}
>>
>>       Context:    shutdown
>>
>>       Reason: reached_max_restart_intensity
>>
>>       Offender: [{pid,<0.1325.61>},
>>
>> {name,writer},
>>
>> {mfargs,
>>
>> {rabbit_writer,start_link,
>>
>> [#Port<0.347667>,2,131072,**rabbit_framing_amqp_0_9_1,
>>
>> <0.1295.61>,true]}},
>>
>> {restart_type,intrinsic},
>>
>> {shutdown,4294967295},
>>
>> {child_type,worker}]
>>
>>
>> --
>> Jason McIntosh
>> https://github.com/**jasonmcintosh/ <https://github.com/jasonmcintosh/>
>> 573-424-7612
>>
>>
>> ______________________________**_________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
>> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss<https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>
>>
>>
>
> --
> Simon MacMullen
> RabbitMQ, Pivotal
>



-- 
Jason McIntosh
https://github.com/jasonmcintosh/
573-424-7612
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131031/bd8a0ac4/attachment.htm>


More information about the rabbitmq-discuss mailing list