[Mono-bugs] [Bug 563818] New: ConnectionClosedException when Trying To Run Remotely in Mono

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 10 18:27:36 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=563818

http://bugzilla.novell.com/show_bug.cgi?id=563818#c0


           Summary: ConnectionClosedException when Trying To Run Remotely
                    in Mono
    Classification: Mono
           Product: Mono: Tools
           Version: MonoVS 1.0.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: jpobst at novell.com
        ReportedBy: dglick at dracorp.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Description of Problem:
I cannot run our application remotely in the VM. It starts fine using the "Run
Locally in Mono" command.

When I select "Run Remotely in Mono" the following happens:

1. Application compiles - appears to be succesfull
2. I get a message in the Visual Studio status bar that files are being copied
3. I can see the /tmp/monovs-xxx folder being created on the VM
4. I get the message "[11:00:19:6463290] Using config file:
/usr/lib/monovs-server/monovs-debug-server.exe.config" on the VM Log Viewer
5. I get a dialog with the following message in Visual Studio:
---------------------------
Mono.VisualStudio.Remoting.ConnectionClosedException: Connection closed.
Server stack trace: 
   at Mono.VisualStudio.Remoting.MultiplexedStream.CheckStatus()
   at Mono.VisualStudio.Remoting.MultiplexedStream.Read(Byte[] buffer, Int32
offset, Int32 count)
   at System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count)
   at Mono.VisualStudio.Remoting.TcpMessageIO.StreamRead(Stream networkStream,
Byte[] buffer, Int32 count)
   at Mono.VisualStudio.Remoting.TcpMessageIO.ReceiveMessageStatus(Stream
networkStream, Byte[] buffer)
   at Mono.VisualStudio.Remoting.TcpPipeClientSink.ProcessMessage(IMessage msg,
ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders&
responseHeaders, Stream& responseStream)
   at
System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage
msg)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
   at Mono.VisualStudio.Mdb.IMdbManager.RunSession(DebuggingSession session)
   at Novell.MonoVS.RunRemotelyRunner.Run()
   at Novell.MonoVS.Package.RunRemotelyCallback(Object sender, EventArgs e)
---------------------------

When I select "Debug Remotely in Mono" the steps above happen in the same
order, except I never get a dialog. Instead Visual Studio appears to kick off a
debugging session but then promptly locks up.

-- 
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