[rabbitmq-discuss] Weird error on 3.2.0 causing failures
Jason McIntosh
mcintoshj at gmail.com
Thu Oct 31 16:47:58 GMT 2013
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/
573-424-7612
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131031/a1620b43/attachment.htm>
More information about the rabbitmq-discuss
mailing list