[rabbitmq-discuss] Rabbitmq-C amqp_basic_publish crash on connection loss
Lothe Shashank
Shashank.Lothe at techmahindra.com
Wed Oct 16 08:20:03 BST 2013
Hi,
Can someone help me on this? Sample simulation is attached herewith.
Thanks and regards,
Shashank
________________________________
From: Lothe Shashank
Sent: Friday, October 11, 2013 1:20 PM
To: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] Rabbitmq-C amqp_basic_publish crash on connection loss
Hi Alan,
Thanks for the clarification. I am attaching the simulation herewith. I don't have a stack trace. It was abort as I couldn't get the next console print. On similar lines, for a listner, if I stop rabbitmq broker using rabbitmq_ctl stop_app, amqp_maybe_release_buffers(conn) API crashed. I believe that due to abrupt connection loss the conn value becomes invalid (though not changed) and amqp_basic_publish and amqp_maybe_release_buffers APIs fail.
Could you throw some light on this and help me to understand how can I handle abrupt connection loss during publish and listen?
Thanks and regards,
Shashank
________________________________
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131016/2efe7183/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amqp_sendstring.c
Type: text/x-csrc
Size: 4731 bytes
Desc: amqp_sendstring.c
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131016/2efe7183/attachment.c>
More information about the rabbitmq-discuss
mailing list