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

Bryan Murphy bmurphy1976 at gmail.com
Fri Jan 6 21:17:22 GMT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120106/20b08d6c/attachment.htm>


More information about the rabbitmq-discuss mailing list