[Mono-bugs] [Bug 550210] New: Clicking run remotely twice without closing the first run sometimes errors (race condition)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 26 16:16:59 EDT 2009


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


           Summary: Clicking run remotely twice without closing the first
                    run sometimes errors (race condition)
    Classification: Mono
           Product: Mono: Tools
           Version: MonoVS 0.8
          Platform: i586
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: martin at novell.com
        ReportedBy: twiest at novell.com
         QAContact: mono-bugs at lists.ximian.com
                CC: jpobst at novell.com
          Found By: Component Test


Description of Problem:
Clicking run remotely twice without closing the first run sometimes errors
(race condition). Baulig reported this.

I tried this with the template winforms app and got this error message on the
2nd run:

---------------------------

---------------------------
System.ApplicationException: Could not create session. Process creation timed
out.

Server stack trace: 
  at Server+MonoVsServer.StartManager (System.Int32& newSessionId) [0x00000] 
  at (wrapper managed-to-native)
System.Runtime.Remoting.RemotingServices:InternalExecute
(System.Reflection.MethodBase,object,object[],object[]&)
  at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage
(System.MarshalByRefObject target, IMethodCallMessage reqMsg) [0x00000] 

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.IMonoVsServer.StartManager(Int32& id)
   at Mono.VisualStudio.MonoVsSession..ctor(String url)
   at Mono.VisualStudio.SessionManager.StartSession(String url)
   at Novell.MonoVS.RunRemotelyRunner.Run()
---------------------------
OK   
---------------------------



Steps to reproduce the problem:
1. Create a new solution based on the C# winforms template project
2. Click "Mono / Run Remotely in Mono"
3. Without closing the first run Click "Mono / Run Remotely in Mono" again
4. If an error appears, click on the box with the '?' to get a full error.
5. If an error doesnt' appear, go back to step 2.


Actual Results:
Error on the 2nd run.


Expected Results:
No error.


How often does this happen? 
It's a race condition, so it really just matters on timing.

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