[rabbitmq-discuss] Rabbitmq-C amqp_basic_publish crash on connection loss

Lothe Shashank Shashank.Lothe at techmahindra.com
Fri Oct 11 08:50:59 BST 2013


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/20131011/986f3b6d/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/20131011/986f3b6d/attachment.c>


More information about the rabbitmq-discuss mailing list