[rabbitmq-discuss] Weird error on 3.2.0 causing failures
Simon MacMullen
simon at rabbitmq.com
Thu Oct 31 17:22:31 GMT 2013
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/
> 573-424-7612
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
--
Simon MacMullen
RabbitMQ, Pivotal
More information about the rabbitmq-discuss
mailing list