[rabbitmq-discuss] .NET client hangs on BasicGet

Peter Townsend Peter.Townsend at mflow.com
Wed Jan 13 19:43:11 GMT 2010


Matthias,

Full thread dump from Managed Stack Explorer:

Thread ID: 5968
        0. System.Threading.Monitor.Wait (Source Unavailable)
        1. System.Threading.Monitor.Wait (Source Unavailable)
        2. DigitalDistribution.ContentIngest.Messaging.AbstractMessageConsumer`1.Wait (AbstractMessageConsumer.cs:94)
        3. DigitalDistribution.ContentIngest.Pricing.Program.Main (Program.cs:91)

Thread ID: 3264
        0. [Internal thisFrame, 'M-->U', System.Net.UnsafeNclNativeMethods.OSSOCK::recv] (Source Unavailable)
        1. System.Net.Sockets.Socket.Receive (Source Unavailable)
        2. System.Net.Sockets.Socket.Receive (Source Unavailable)
        3. System.Net.Sockets.NetworkStream.Read (Source Unavailable)
        4. System.IO.BinaryReader.ReadBytes (Source Unavailable)
        5. RabbitMQ.Client.Impl.Frame.ReadFrom (Source Unavailable)
        6. RabbitMQ.Client.Impl.SocketFrameHandler_0_9.ReadFrame (Source Unavailable)
        7. RabbitMQ.Client.Impl.ConnectionBase.MainLoopIteration (Source Unavailable)
        8. RabbitMQ.Client.Impl.ConnectionBase.MainLoop (Source Unavailable)
        9. System.Threading.ThreadHelper.ThreadStart_Context (Source Unavailable)
        10. System.Threading.ExecutionContext.Run (Source Unavailable)
        11. System.Threading.ThreadHelper.ThreadStart (Source Unavailable)

Thread ID: 3836

Thread ID: 3816
        0. System.Threading.Monitor.Wait (Source Unavailable)
        1. RabbitMQ.Util.BlockingCell.get_Value (Source Unavailable)
        2. RabbitMQ.Client.Impl.SimpleBlockingRpcContinuation.GetReply (Source Unavailable)
        3. RabbitMQ.Client.Impl.ModelBase.BasicGet (Source Unavailable)
        4. DigitalDistribution.RabbitMQ.RabbitMessageQueue`1.Get (RabbitMessageQueue.cs:121)
        5. DigitalDistribution.ContentIngest.Messaging.AbstractMessageConsumer`1.ReadNextMessage (AbstractMessageConsumer.cs:155)
        6. DigitalDistribution.ContentIngest.Messaging.AbstractMessageConsumer`1.ProcessMessageLoop (AbstractMessageConsumer.cs:107)
        7. System.Threading.ThreadHelper.ThreadStart_Context (Source Unavailable)
        8. System.Threading.ExecutionContext.Run (Source Unavailable)
        9. System.Threading.ThreadHelper.ThreadStart (Source Unavailable)

Thanks
Pete

-----Original Message-----
From: Matthias Radestock [mailto:matthias at lshift.net] 
Sent: 13 January 2010 19:28
To: Peter Townsend
Cc: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] .NET client hangs on BasicGet

Pete,

Peter Townsend wrote:
> I have the stack trace of the hanging Model.BasicGet call

I need to see a stack trace of *all* the threads.

I am not a Windows programmer, but a quick bit of googling brings up

http://stackoverflow.com/questions/190236/how-do-i-make-a-thread-dump-in-net-a-la-jvm-thread-dumps, 
in particular the Managed Stack Explorer program.

Regards,

Matthias.




More information about the rabbitmq-discuss mailing list