[MonoDevelop] RemotingException: Unix transport error when Running Tests

Scott Willeke scott at willeke.com
Thu Jan 28 19:33:48 EST 2010


I'd love to work through this problem with you some how. It's really a nasty one.  I applied your patch and put the output below. Note I have some of my own tracing on from when I was tracking this down originally, but I think the messages are self explanatory and won't get in the way. Let me know what ideas you have about further troubleshooting this. I really was at a loss.

If anyone else has ideas on how to debug something like this it would also be greatly appreciated!







 


Starting MonoDevelop
   Starting MonoDevelop
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.Components
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.Core
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.Projects
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.Core.Gui
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.Projects.Gui
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.Ide
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.Debugger
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.SourceEditor2
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.DesignerSupport
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.XmlEditor
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.Deployment
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.AspNet
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.Moonlight
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.NUnit
INFO [2010-01-28 16:29:50Z]: Add-in loaded: MonoDevelop.MacPlatform
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.WebReferences
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.Autotools
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.Gettext
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.Deployment.Linux
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.CBinding
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.VBBinding
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.Refactoring
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.CSharpBinding
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.VersionControl
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.GtkCore
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.MonoDeveloperExtensions
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.Prj2Make
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.ILAsmBinding
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.TextTemplating
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.AspNet.Mvc
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.ChangeLogAddIn
   Loading Workbench
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.WelcomePage
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.CodeMetrics
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.RegexToolkit
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.VersionControl.Subversion
      Initializing Main Window
INFO [2010-01-28 16:29:51Z]: Creating DefaultWorkbench
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.Debugger.Soft
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.Debugger.Soft.AspNet
INFO [2010-01-28 16:29:51Z]: Add-in loaded: MonoDevelop.Debugger.Soft.Moonlight
node `classlib-cocoa' is not defined on the documentation map
INFO [2010-01-28 16:29:53Z]: Updating Welcome Page from 'http://www.monodevelop.com/files/news/news.xml'.
INFO [2010-01-28 16:29:54Z]: Welcome Page already up-to-date.
Marshal MonoDevelop.Core.Execution.ProcessHostController MonoDevelop.Core.Execution.ProcessHostController  : System.Runtime.Remoting.ObjRef
DEBUG [2010-01-28 16:30:08Z]: ProcessHostController: Running location:/Users/scott/Projects/monodevelop/svn/main/build/bin/mdhost.exe, arguments:MonoDevelop.NUnit.External.ExternalTestRunner "/var/folders/Bi/BiBpYlhyEaSuOrrYCQqxsU+++TM/-Tmp-/tmp792d390a.tmp", BaseDir:/Users/scott/Projects/monodevelop/svn/main/build/bin/
DEBUG [2010-01-28 16:30:08Z]: Running executionHandlerFactory.Execute (exection handler type: MonoPlatformExecutionHandler
DEBUG [2010-01-28 16:30:08Z]: executionHandlerFactory.Execute returned
DEBUG [2010-01-28 16:30:08Z]: MonoDevelopProcessHost running with: 'MonoDevelop.NUnit.External.ExternalTestRunner'[1]:'/var/folders/Bi/BiBpYlhyEaSuOrrYCQqxsU+++TM/-Tmp-/tmp792d390a.tmp'
DEBUG [2010-01-28 16:30:08Z]: MonoDevelopProcessHost WatchParentProcess
DEBUG [2010-01-28 16:30:08Z]: MonoDevelopProcessHost RegisterRemotingChannel...
DEBUG [2010-01-28 16:30:08Z]: ...MonoDevelopProcessHost RegisterRemotingChannel complete
DEBUG [2010-01-28 16:30:08Z]: Deserialized ProcessHostController complete
Marshal MonoDevelop.Core.Logging.RemoteLogger MonoDevelop.Core.Logging.RemoteLogger  : System.Runtime.Remoting.ObjRef
DEBUG [2010-01-28 16:30:08Z]: Initializing ProcessHost
DEBUG [2010-01-28 16:30:09Z]: [MonoDevelop.NUnit.External.ExternalTestRunner] Initializing ProcessHost
Marshal System.Runtime.Remoting.Lifetime.Lease System.Runtime.Remoting.Lifetime.Lease  : System.Runtime.Remoting.ObjRef
Unmarshal ProcessHost ProcessHost  : System.Runtime.Remoting.ObjRef
DEBUG [2010-01-28 16:30:09Z]: ProcessHost.RegisterHost...
DEBUG [2010-01-28 16:30:09Z]: [MonoDevelop.NUnit.External.ExternalTestRunner] ProcessHost.RegisterHost...
Unmarshal ProcessHost ProcessHost  : System.Runtime.Remoting.ObjRef
DEBUG [2010-01-28 16:30:09Z]: ProcessHost.RegisterHost completed
DEBUG [2010-01-28 16:30:09Z]: [MonoDevelop.NUnit.External.ExternalTestRunner] ProcessHost.RegisterHost completed
Unmarshal MonoDevelop.NUnit.External.ExternalTestRunner MonoDevelop.NUnit.External.ExternalTestRunner  : System.Runtime.Remoting.ObjRef
INFO [2010-01-28 16:30:09Z]: Add-in loaded: MonoDevelop.AssemblyBrowser
INFO [2010-01-28 16:30:09Z]: Add-in loaded: MonoDevelop.HexEditor
DEBUG [2010-01-28 16:30:11Z]: ProcessHostController: Running location:/Users/scott/Projects/monodevelop/svn/main/build/bin/mdhost.exe, arguments:MonoDevelop.NUnit.External.ExternalTestRunner "/var/folders/Bi/BiBpYlhyEaSuOrrYCQqxsU+++TM/-Tmp-/tmp69f6d682.tmp", BaseDir:/Users/scott/Projects/monodevelop/svn/main/build/bin/
DEBUG [2010-01-28 16:30:11Z]: Running executionHandlerFactory.Execute (exection handler type: MonoPlatformExecutionHandler
Marshal MonoDevelop.Core.Execution.ProcessHostController MonoDevelop.Core.Execution.ProcessHostController  : System.Runtime.Remoting.ObjRef
Marshal MonoDevelop.NUnit.External.ExternalTestRunner MonoDevelop.NUnit.External.ExternalTestRunner  : System.Runtime.Remoting.ObjRef
DEBUG [2010-01-28 16:30:11Z]: executionHandlerFactory.Execute returned
DEBUG [2010-01-28 16:30:11Z]: MonoDevelopProcessHost running with: 'MonoDevelop.NUnit.External.ExternalTestRunner'[1]:'/var/folders/Bi/BiBpYlhyEaSuOrrYCQqxsU+++TM/-Tmp-/tmp69f6d682.tmp'
DEBUG [2010-01-28 16:30:11Z]: MonoDevelopProcessHost WatchParentProcess
DEBUG [2010-01-28 16:30:11Z]: MonoDevelopProcessHost RegisterRemotingChannel...
DEBUG [2010-01-28 16:30:11Z]: ...MonoDevelopProcessHost RegisterRemotingChannel complete
DEBUG [2010-01-28 16:30:11Z]: Deserialized ProcessHostController complete
Marshal MonoDevelop.Core.Logging.RemoteLogger MonoDevelop.Core.Logging.RemoteLogger  : System.Runtime.Remoting.ObjRef
DEBUG [2010-01-28 16:30:12Z]: Initializing ProcessHost
DEBUG [2010-01-28 16:30:12Z]: [MonoDevelop.NUnit.External.ExternalTestRunner] Initializing ProcessHost
Marshal System.Runtime.Remoting.Lifetime.Lease System.Runtime.Remoting.Lifetime.Lease  : System.Runtime.Remoting.ObjRef
Unmarshal ProcessHost ProcessHost  : System.Runtime.Remoting.ObjRef
DEBUG [2010-01-28 16:30:12Z]: ProcessHost.RegisterHost...
DEBUG [2010-01-28 16:30:12Z]: [MonoDevelop.NUnit.External.ExternalTestRunner] ProcessHost.RegisterHost...
Unmarshal ProcessHost ProcessHost  : System.Runtime.Remoting.ObjRef
DEBUG [2010-01-28 16:30:12Z]: ProcessHost.RegisterHost completed
DEBUG [2010-01-28 16:30:12Z]: [MonoDevelop.NUnit.External.ExternalTestRunner] ProcessHost.RegisterHost completed
Unmarshal MonoDevelop.NUnit.External.ExternalTestRunner MonoDevelop.NUnit.External.ExternalTestRunner  : System.Runtime.Remoting.ObjRef
Marshal System.Runtime.Remoting.Lifetime.Lease System.Runtime.Remoting.Lifetime.Lease  : System.Runtime.Remoting.ObjRef
Unmarshal ProcessHost ProcessHost  : System.Runtime.Remoting.ObjRef
Marshal MonoDevelop.NUnit.External.ExternalTestRunner MonoDevelop.NUnit.External.ExternalTestRunner  : System.Runtime.Remoting.ObjRef
Marshal System.Runtime.Remoting.Lifetime.Lease System.Runtime.Remoting.Lifetime.Lease  : System.Runtime.Remoting.ObjRef
Unmarshal ProcessHost ProcessHost  : System.Runtime.Remoting.ObjRef
INFO [2010-01-28 16:30:23Z]: CodeTemplateService: No user templates, reading default templates.
DEBUG [2010-01-28 16:30:23Z]: Running ResetResult
DEBUG [2010-01-28 16:30:23Z]: Running InitializeTestRun
DEBUG [2010-01-28 16:30:23Z]: Initializing TestContext
DEBUG [2010-01-28 16:30:23Z]: Running test.Run
DEBUG [2010-01-28 16:30:23Z]: Running OnRun from NUnitTestCase
DEBUG [2010-01-28 16:30:23Z]: Begining RunUnitTest...
Marshal MonoDevelop.Core.Execution.ProcessHostController MonoDevelop.Core.Execution.ProcessHostController  : System.Runtime.Remoting.ObjRef
DEBUG [2010-01-28 16:30:23Z]: ProcessHostController: Running location:/Users/scott/Projects/monodevelop/svn/main/build/bin/mdhost.exe, arguments:MonoDevelop.NUnit.External.ExternalTestRunner "/var/folders/Bi/BiBpYlhyEaSuOrrYCQqxsU+++TM/-Tmp-/tmp7ed8a1e2.tmp", BaseDir:/Users/scott/Projects/monodevelop/svn/main/build/bin/
DEBUG [2010-01-28 16:30:23Z]: Running executionHandlerFactory.Execute (exection handler type: DefaultExecutionHandler
DEBUG [2010-01-28 16:30:23Z]: executionHandlerFactory.Execute returned
DEBUG [2010-01-28 16:30:23Z]: MonoDevelopProcessHost running with: 'MonoDevelop.NUnit.External.ExternalTestRunner'[1]:'/var/folders/Bi/BiBpYlhyEaSuOrrYCQqxsU+++TM/-Tmp-/tmp7ed8a1e2.tmp'
DEBUG [2010-01-28 16:30:23Z]: MonoDevelopProcessHost WatchParentProcess
DEBUG [2010-01-28 16:30:23Z]: MonoDevelopProcessHost RegisterRemotingChannel...
DEBUG [2010-01-28 16:30:23Z]: ...MonoDevelopProcessHost RegisterRemotingChannel complete
DEBUG [2010-01-28 16:30:23Z]: Deserialized ProcessHostController complete
Marshal MonoDevelop.Core.Logging.RemoteLogger MonoDevelop.Core.Logging.RemoteLogger  : System.Runtime.Remoting.ObjRef
DEBUG [2010-01-28 16:30:24Z]: Initializing ProcessHost
DEBUG [2010-01-28 16:30:24Z]: [MonoDevelop.NUnit.External.ExternalTestRunner] Initializing ProcessHost
Marshal System.Runtime.Remoting.Lifetime.Lease System.Runtime.Remoting.Lifetime.Lease  : System.Runtime.Remoting.ObjRef
Unmarshal ProcessHost ProcessHost  : System.Runtime.Remoting.ObjRef
DEBUG [2010-01-28 16:30:24Z]: ProcessHost.RegisterHost...
DEBUG [2010-01-28 16:30:24Z]: [MonoDevelop.NUnit.External.ExternalTestRunner] ProcessHost.RegisterHost...
Unmarshal ProcessHost ProcessHost  : System.Runtime.Remoting.ObjRef
DEBUG [2010-01-28 16:30:24Z]: ProcessHost.RegisterHost completed
DEBUG [2010-01-28 16:30:24Z]: [MonoDevelop.NUnit.External.ExternalTestRunner] ProcessHost.RegisterHost completed
Unmarshal MonoDevelop.NUnit.External.ExternalTestRunner MonoDevelop.NUnit.External.ExternalTestRunner  : System.Runtime.Remoting.ObjRef
Marshal MonoDevelop.NUnit.External.LocalTestMonitor MonoDevelop.NUnit.External.LocalTestMonitor  : System.Runtime.Remoting.ObjRef
DEBUG [2010-01-28 16:30:24Z]: Begining runner.Run...
Marshal MonoDevelop.NUnit.External.LocalTestMonitor MonoDevelop.NUnit.External.LocalTestMonitor  : System.Runtime.Remoting.ObjRef
Begining RemoteTestRunner.Run...
**
ERROR:mini-exceptions.c:1170:mono_handle_exception_internal: assertion failed: (jit_tls->end_of_stack)
Stacktrace:

  at (wrapper managed-to-native) System.Net.Sockets.Socket.Receive_internal (intptr,byte[],int,int,System.Net.Sockets.SocketFlags,int&) <0x00004>
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Receive_internal (intptr,byte[],int,int,System.Net.Sockets.SocketFlags,int&) <0x00004>
  at System.Net.Sockets.Socket.Receive_nochecks (byte[],int,int,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:615
  at System.Net.Sockets.Socket.Receive (byte[],int,int,System.Net.Sockets.SocketFlags) [0x00070] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System/System.Net.Sockets/Socket.cs:2397
  at System.Net.Sockets.NetworkStream.Read (byte[],int,int) [0x0004f] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System/System.Net.Sockets/NetworkStream.cs:363
  at System.IO.BufferedStream.Read (byte[],int,int) <IL 0x0015f, 0x00216>
  at Mono.Remoting.Channels.Unix.UnixMessageIO.StreamRead (System.IO.Stream,byte[],int) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixMessageIO.cs:93
  at Mono.Remoting.Channels.Unix.UnixMessageIO.ReceiveMessageStatus (System.IO.Stream,byte[]) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixMessageIO.cs:57
  at Mono.Remoting.Channels.Unix.UnixClientTransportSink.ProcessMessage (System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Channels.ITransportHeaders&,System.IO.Stream&) [0x0004f] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixClientTransportSink.cs:172
  at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x0006c] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs:157
  at System.Runtime.Remoting.Channels.Ipc.Unix.UrlMapperSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x00006] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Ipc.Unix/IpcClientChannel.cs:137
  at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke (System.Runtime.Remoting.Messaging.IMessage) <IL 0x000e2, 0x00336>
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&) <IL 0x0009e, 0x003dc>
  at (wrapper runtime-invoke) object.runtime_invoke_object_object_object_intptr_intptr (object,intptr,intptr,intptr) <IL 0x0002b, 0x00059>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0x00004>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0x00004>
  at (wrapper remoting-invoke) MonoDevelop.Core.Execution.ProcessHostController.WaitForExit () <IL 0x00011, 0x00049>
  at MonoDevelopProcessHost.Main (string[]) [0x00130] in /Users/scott/Projects/monodevelop/svn/main/src/tools/mdhost/src/mdhost.cs:100
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <IL 0x0001d, 0x00043>
ERROR [2010-01-28 16:30:25Z]: System.Runtime.Remoting.RemotingException: Unix transport error.

Server stack trace: 
  at Mono.Remoting.Channels.Unix.UnixMessageIO.ReceiveMessageStatus (System.IO.Stream networkStream, System.Byte[] buffer) [0x0000f] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixMessageIO.cs:59 
  at Mono.Remoting.Channels.Unix.UnixClientTransportSink.ProcessMessage (IMessage msg, ITransportHeaders requestHeaders, System.IO.Stream requestStream, ITransportHeaders& responseHeaders, System.IO.Stream& responseStream) [0x0004f] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixClientTransportSink.cs:172 
  at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage (IMessage msg) [0x0006c] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs:157 

Exception rethrown at [0]: 
 ---> System.Runtime.Remoting.RemotingException: Connection closed
  at Mono.Remoting.Channels.Unix.UnixMessageIO.StreamRead (System.IO.Stream networkStream, System.Byte[] buffer, Int32 count) [0x0002c] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixMessageIO.cs:99 
  at Mono.Remoting.Channels.Unix.UnixMessageIO.ReceiveMessageStatus (System.IO.Stream networkStream, System.Byte[] buffer) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixMessageIO.cs:57 
  --- End of inner exception stack trace ---
  at Mono.Remoting.Channels.Unix.UnixMessageIO.ReceiveMessageStatus (System.IO.Stream networkStream, System.Byte[] buffer) [0x0000f] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixMessageIO.cs:59 
  at Mono.Remoting.Channels.Unix.UnixClientTransportSink.ProcessMessage (IMessage msg, ITransportHeaders requestHeaders, System.IO.Stream requestStream, ITransportHeaders& responseHeaders, System.IO.Stream& responseStream) [0x0004f] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixClientTransportSink.cs:172 
  at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage (IMessage msg) [0x0006c] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs:157 
The application was terminated by a signal: SIGIOT
DEBUG [2010-01-28 16:30:25Z]: Running test.SaveResults()
DEBUG [2010-01-28 16:30:25Z]: Returned from test.SaveResults()



More information about the Monodevelop-list mailing list