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

Alan Antonuk alan.antonuk at gmail.com
Thu Oct 17 07:04:21 BST 2013


Try running the program under the debugger and see what happens.  This will
tell you where, and what is causing the program to fail.

-Alan


On Fri, Oct 11, 2013 at 12:50 AM, Lothe Shashank <
Shashank.Lothe at techmahindra.com> wrote:

>  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.
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131016/658b4186/attachment.htm>


More information about the rabbitmq-discuss mailing list