SOS 4.0 Concurrency problem

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
gadzuk
Posts: 9
Joined: Mon Apr 26, 2004 11:47 am

SOS 4.0 Concurrency problem

Post by gadzuk » Mon Apr 26, 2004 12:50 pm

I've turned on SOS 4.0 as my source control provider.

I'm crashing the SOS server. Steps to reproduce:
Open SOS client
Access SOS functionality in VS.Net (two concurrent connections from my PC).

When I start VS.Net (Enterprise Architect) and choose "File / SourceControl / Open From Source Control", I get the following...

Code: Select all

To ensure optimal source control integration with Visual Studio .NET, check with your source control providver for compatibility and update information.
Installed provider: SourceOffSite
Installed version 4.0.0.135
I then get the SOS login prompt

and VS.Net hangs. My other SourceOffSite window loses connection with the server. The server has died and needs to be restarted.

The server log (dying words) looks like this:

Code: Select all

4/21/2004 5:37:20 PM - Connection accepted from 10.21.9.2:4058, session id is 8.
4/21/2004 5:37:33 PM - Killing disconnected or idle client FCGPC229 - (10.21.9.2)
4/21/2004 5:37:33 PM - 8: Exception: A blocking operation was interrupted by a call to WSACancelBlockingCall
4/21/2004 5:37:33 PM - Killing disconnected or idle client  - ()
4/21/2004 5:37:33 PM - 9: Failed to start the client instance: Object reference not set to an instance of an object.
4/21/2004 5:37:33 PM - Exception in Listen(): System.ObjectDisposedException: Cannot access a disposed object named "System.Net.Sockets.Socket".
Object name: "System.Net.Sockets.Socket".
   at System.Net.Sockets.Socket.get_RemoteEndPoint()
   at ClassicService.Listener.Listen()
Our config is as follows (VSS 6.0c)

Code: Select all

4/22/2004 8:46:31 AM - ****************************************************
4/22/2004 8:46:31 AM - SourceOffSite Server 4.0.0 Standard - No Cryptography

4/22/2004 8:46:31 AM - CurrentCulture is en-US.

4/22/2004 8:48:00 AM - Server Information
4/22/2004 8:48:00 AM -     Operating System: Microsoft Windows 2000 Server
4/22/2004 8:48:00 AM -     Service Pack: 4.0
4/22/2004 8:48:00 AM -     OS Version: 5.0.2195
4/22/2004 8:48:00 AM -     Locale: Ox0409
4/22/2004 8:48:00 AM -     OSLanguage: 1033
4/22/2004 8:48:00 AM -     Total Physical Memory: 253.43 MB
4/22/2004 8:48:00 AM -     Time Zone: (GMT-07:00) Mountain Time (US & Canada)
4/22/2004 8:48:00 AM - 
4/22/2004 8:48:00 AM - SSAPI.dll Information:
4/22/2004 8:48:00 AM -     Location: file:///C:/Program Files/SourceOffSite Server/Interop.SourceSafeTypeLib.DLL
4/22/2004 8:48:00 AM -     DisplayName: Interop.SourceSafeTypeLib, Version=5.1.0.0, Culture=neutral, PublicKeyToken=null
4/22/2004 8:48:00 AM -     
4/22/2004 8:48:00 AM - Started at 4/22/2004 8:48:00 AM

4/22/2004 8:48:00 AM - General logging level is Error.	Method logging is Disabled.

4/22/2004 8:48:00 AM - Number of licenses configured: 10
4/22/2004 8:48:00 AM - SourceSafe Initialization file(s) located at:
4/22/2004 8:48:00 AM - C:\Program Files\Microsoft Visual Studio\VSS\srcsafe.ini
Thoughts?

PS Seems to work if I can remember to close my existing SOS window.

Haven't tried other combinations yet (e.g. two SOS windows), this is my 5th server reboot so just getting a handle on how this product will work for us.

gadzuk
Posts: 9
Joined: Mon Apr 26, 2004 11:47 am

Post by gadzuk » Mon Apr 26, 2004 12:56 pm

An update...

The simpler steps to reproduce (without crashing VS.Net).

Open SourceOffSite
Open a 2nd SOS.

The 2nd instance fails to connect, the 1st instance loses the connectoin.

The SOS server service must be restarted.

Server's dying words:

Code: Select all

4/26/2004 12:53:22 PM - fcgwnt22 (10.2.11.72) is attempting to listen for connections on unsecure port 8080


4/26/2004 12:53:22 PM - Waiting for a connection....secure = False
4/26/2004 12:53:29 PM - Connection accepted from 10.18.9.0:1808, session id is 1.
4/26/2004 12:54:09 PM - Killing disconnected or idle client FCGPC229 - (10.18.9.0)
4/26/2004 12:54:09 PM - 1: Exception: A blocking operation was interrupted by a call to WSACancelBlockingCall
4/26/2004 12:54:09 PM - Killing disconnected or idle client  - ()
4/26/2004 12:54:09 PM - 2: Failed to start the client instance: Object reference not set to an instance of an object.
4/26/2004 12:54:09 PM - Exception in Listen(): System.ObjectDisposedException: Cannot access a disposed object named "System.Net.Sockets.Socket".
Object name: "System.Net.Sockets.Socket".
   at System.Net.Sockets.Socket.get_RemoteEndPoint()
   at ClassicService.Listener.Listen()
We're running .NET framework 1.1 (version 1.1.4322).
Win2k SP4
SourceSafe Client 6.0c

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Apr 26, 2004 8:59 pm

Linda Bauer
SourceGear
Technical Support Manager

gadzuk
Posts: 9
Joined: Mon Apr 26, 2004 11:47 am

Post by gadzuk » Tue Apr 27, 2004 7:05 am

Thanks, that solved the problem

Post Reply