[rabbitmq-discuss] C# v2.7.1 Client Unhandled Exceptions

Simone Busoli simone.busoli at gmail.com
Fri Jan 6 21:54:30 GMT 2012


Hi Bryan, I think it's a known bug which has popped up on the list some
days ago, not sure it is fixed in the repository though, but a bug report
has been filed already. It's indeed related to heartbeat settings.
The thread was titled "Possible bug when disposing connections in .NET
client 2.7.0/1"

On Fri, Jan 6, 2012 at 22:17, Bryan Murphy <bmurphy1976 at gmail.com> wrote:

> Hi Guys,
>
> Every since upgrading to v2.7.1 we've found that the RabbitMQ driver has
> been killing our applications by throwing unhandled exceptions in
> background threads.  Here are two stack traces that brought down one of our
> test apps:
>
> [2012-01-06 21:13:36,193] [ERROR] Unhandled Exception
> System.Net.Sockets.SocketException: The descriptor is not a socket
>   at System.Net.Sockets.Socket.SetSocketOption (SocketOptionLevel
> optionLevel, SocketOptionName optionName, System.Object optionValue)
> [0x00000] in <filename unknown>:0
>   at System.Net.Sockets.TcpClient.set_LingerState
> (System.Net.Sockets.LingerOption value) [0x00000] in <filename unknown>:0
>   at RabbitMQ.Client.Impl.SocketFrameHandler_0_9.Close () [0x00000] in
> <filename unknown>:0
>   at RabbitMQ.Client.Impl.ConnectionBase.FinishClose () [0x00000] in
> <filename unknown>:0
>   at RabbitMQ.Client.Impl.ConnectionBase.HeartbeatReadLoop () [0x00000] in
> <filename unknown>:0
>   at System.Threading.Thread.StartUnsafe () [0x00000] in <filename
> unknown>:0
>
> [2012-01-06 21:13:20,706] [ERROR] Unhandled Exception
> System.ObjectDisposedException: The object was used after being disposed.
>   at System.Net.Sockets.Socket.SetSocketOption (SocketOptionLevel
> optionLevel, SocketOptionName optionName, System.Object optionValue)
> [0x00000] in <filename unknown>:0
>   at System.Net.Sockets.TcpClient.set_LingerState
> (System.Net.Sockets.LingerOption value) [0x00000] in <filename unknown>:0
>   at RabbitMQ.Client.Impl.SocketFrameHandler_0_9.Close () [0x00000] in
> <filename unknown>:0
>   at RabbitMQ.Client.Impl.ConnectionBase.FinishClose () [0x00000] in
> <filename unknown>:0
>   at RabbitMQ.Client.Impl.ConnectionBase.HeartbeatReadLoop () [0x00000] in
> <filename unknown>:0
>   at System.Threading.Thread.StartUnsafe () [0x00000] in <filename
> unknown>:0
>
> This happens on both windows and mono 2.10.1 and never seems to originate
> in any of our code.
>
> Thanks,
> Bryan
>
> _______________________________________________
> 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/20120106/fe05be85/attachment.htm>


More information about the rabbitmq-discuss mailing list