[Mono-bugs] [Bug 528990] New: Remoting produces exceptions while idle
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Aug 6 15:49:45 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=528990
Summary: Remoting produces exceptions while idle
Classification: Mono
Product: Mono: Tools
Version: 2.4.x
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Visual Studio Integration
AssignedTo: lluis at novell.com
ReportedBy: jpobst at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
If you leave a session running and idle, it will produce
ConnectionClosedExceptions every 30-60 seconds. The exceptions are caught and
handled, but this probably shouldn't be occurring, and may point to a bug.
Note: you will either need to be debugging VS itself to see these messages in
the Immediate Window, or modify MultiplexedStream.CheckStatus to log when it
throws its ConnectionClosedException.
1) Create/Open an empty winforms application.
2) No breakpoints need to be set.
3) Do "Run Remotely on Mono" and click Ok.
4) Every 30-60 seconds, a ConnectionClosedException will be thrown.
Some logging from my run:
App starting: 8/6/2009 2:30:34 PM
CheckStatus Failed: 8/6/2009 2:30:59 PM - 23522948 - 1
CheckStatus Failed: 8/6/2009 2:33:02 PM - 24219861 - 1
CheckStatus Failed: 8/6/2009 2:33:33 PM - 20974680 - 2
CheckStatus Failed: 8/6/2009 2:34:03 PM - 37916227 - 3
CheckStatus Failed: 8/6/2009 2:34:33 PM - 63403007 - 4
CheckStatus Failed: 8/6/2009 2:35:12 PM - 38855053 - 5
CheckStatus Failed: 8/6/2009 2:35:42 PM - 10649759 - 6
CheckStatus Failed: 8/6/2009 2:35:51 PM - 4916187 - 2
CheckStatus Failed: 8/6/2009 2:36:21 PM - 58366981 - 7
CheckStatus Failed: 8/6/2009 2:36:21 PM - 22318356 - 3
CheckStatus Failed: 8/6/2009 2:36:51 PM - 59231349 - 8
CheckStatus Failed: 8/6/2009 2:37:04 PM - 66032303 - 4
CheckStatus Failed: 8/6/2009 2:37:33 PM - 44501086 - 9
CheckStatus Failed: 8/6/2009 2:37:34 PM - 38583594 - 5
CheckStatus Failed: 8/6/2009 2:38:04 PM - 51781231 - 6
CheckStatus Failed: 8/6/2009 2:38:12 PM - 52253787 - 10
CheckStatus Failed: 8/6/2009 2:38:34 PM - 17987329 - 7
CheckStatus Failed: 8/6/2009 2:38:51 PM - 13804354 - 11
CheckStatus Failed: 8/6/2009 2:39:04 PM - 62107587 - 8
CheckStatus Failed: 8/6/2009 2:39:22 PM - 29190913 - 12
CheckStatus Failed: 8/6/2009 2:39:43 PM - 65849037 - 9
CheckStatus Failed: 8/6/2009 2:39:52 PM - 60542136 - 13
Numbers at the end are:
MultiplexedStream.GetHashCode
MultiplexedStream.Id
So it seems to be creating a bunch of new sockets?
Stacktrace causing the exception:
at Mono.VisualStudio.Remoting.MultiplexedStream.CheckStatus() in
D:\\Documents\\Visual Studio
2008\\Projects\\MonoVS\\RemotingContract\\StreamMultiplexer.cs:line 365
at Mono.VisualStudio.Remoting.MultiplexedStream.Read(Byte[] buffer, Int32
offset, Int32 count) in D:\\Documents\\Visual Studio
2008\\Projects\\MonoVS\\RemotingContract\\StreamMultiplexer.cs:line 339
at System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count)
at Mono.VisualStudio.Remoting.TcpMessageIO.StreamRead(Stream networkStream,
Byte[] buffer, Int32 count) in D:\\Documents\\Visual Studio
2008\\Projects\\MonoVS\\RemotingContract\\TcpMessageIO.cs:line 88
at Mono.VisualStudio.Remoting.TcpMessageIO.ReceiveMessageStatus(Stream
networkStream, Byte[] buffer) in D:\\Documents\\Visual Studio
2008\\Projects\\MonoVS\\RemotingContract\\TcpMessageIO.cs:line 55
at Mono.VisualStudio.Remoting.ClientConnection.ProcessMessages() in
D:\\Documents\\Visual Studio
2008\\Projects\\MonoVS\\RemotingContract\\TcpPipeServerChannel.cs:line 378
at
Mono.VisualStudio.Remoting.TcpPipeServerChannel.<>c__DisplayClass1.<CreateConnection>b__0(Object
) in D:\\Documents\\Visual Studio
2008\\Projects\\MonoVS\\RemotingContract\\TcpPipeServerChannel.cs:line 244
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)
at
System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback
tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list