[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

ASP.Net & Subversion

From: Craig Gambino <cmgambino_at_gmail.com>
Date: Wed, 4 Jun 2008 09:22:42 -0700

Hello,

I'm attempting to make an SVN client in ASP.NET C# using the SharpSVN
libraries as a wrapper. I have successfully made this configuration work
with http:// repositories. However, SVN:// repositories cause it to hang.
As a test, I wrote a Winforms/Console application using the same exact code,
HTTP & SVN both worked, so it seems that it's limited to ASP.NET. Both of
these were running on an x86 machine WinXP.

After a bit of debugging, it appears to hang in this spot:

svn_error_t* svn_atomic__init_once()
{
.
svn_atomic_t status =
svn_atomic_cas(global_status,SVN_ATOMIC_START_INIT,SVN_ATOMIC_UNINITIALIZED);
.
else while (status != SVN_ATOMIC_INITIALIZED)
{
.
// Stuck in this loop
      status =
svn_atomic_cas(global_status,SVN_ATOMIC_UNINITIALIZED,SVN_ATOMIC_UNINITIALIZED);
}

}

Does anyone know how the svn_atomic initialization works, and any possible
reasons why ASP.Net may be causing issues with this?

Thanks,
Craig
Received on 2008-06-04 18:22:58 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.