[rabbitmq-discuss] badmatch in rabbit_channel? (RabbitMQ 3.2.0)

Simon MacMullen simon at rabbitmq.com
Thu Nov 7 16:58:54 GMT 2013


Huh. That's puzzling. The broker maintains some extra tables for 
bindings to topic exchanges which turned out not to contain any records 
for the binding when it was deleted.

So I'd like to get to the bottom of this. It's weird though because that 
code was written for RabbitMQ 2.4.0 and hasn't changed in a long time, 
and everybody who uses topic exchanges uses it - so I would not expect 
to be finding bugs now.

So are you able to replicate this? Could anything be messing with these 
tables?

Cheers, Simon

On 07/11/13 13:59, Gotthard, Petr wrote:
> Hello,
>
> I’m not sure if this is a bug, but I encountered a badmatch in RabbitMQ
> 3.2.0 when removing bindings shortly before closing connection (during
> application shutdown).
>
> 2013-11-07 14:14:16.583 [debug] <0.674.0> Supervisor
> {<0.674.0>,rabbit_channel_sup} started rabbit_channel:start_link(1,
> <0.669.0>, <0.675.0>, <0.669.0>, <<"192.168.80.1:17459 ->
> 192.168.80.128:5672">>, rabbit_framing_amqp_0_9_1,
> {user,<<"guest">>,[administrator],rabbit_auth_backend_internal,{internal_user,<<"guest">>,<<38,...>>,...}},
> <<"/">>,
> [{<<"publisher_confirms">>,bool,true},{<<"consumer_cancel_notify">>,bool,true},{<<"basic.nack">>,...},...],
> <0.670.0>, <0.676.0>) at pid <0.677.0>
>
> 2013-11-07 14:14:21.798 [error] <0.677.0> CRASH REPORT Process <0.677.0>
> with 0 neighbours exited with reason:
> {error,{{badmatch,{error,[{root,none}],["turbulence"]}},[{rabbit_exchange_type_topic,follow_down_get_path,2,[]},{rabbit_exchange_type_topic,'-remove_bindings/3-lc$^1/1-1-',1,[]},{rabbit_exchange_type_topic,remove_bindings,3,[]},{rabbit_binding,x_callback,4,[]},{rabbit_binding,'-process_deletions/1-fun-0-',2,[]},{dict,map_bucket,2,[{file,"dict.erl"},{line,459}]},{dict,map_bkt_list,2,[{file,"dict.erl"},{line,455}]},{dict,map_bkt_list,2,[{file,"dict.erl"},{line,455}]}]}}
> in rabbit_misc:execute_mnesia_transaction/1 in gen_server2:terminate/3
>
> If this is not desirable I can provide you with more details and/or help
> hunting the problem.
>
> Petr
>
>
>
> _______________________________________________
> 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