You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kamesh Jayachandran <ka...@collab.net> on 2008/03/14 12:35:26 UTC

Strange issue with 1.5.0-beta1

Hi All,

I use 
http://orac.ece.utexas.edu/pub/svn/1.5.0-beta1/pflugerville-peanut/to-tigris/subversion-deps-1.5.0-beta1.tar.bz2
and 
http://orac.ece.utexas.edu/pub/svn/1.5.0-beta1/pflugerville-peanut/subversion-1.5.0-beta1.tar.bz2

make davautocheck fails.

When trying to get closer, I get errors like the following while 'svn 
import'.
../subversion/libsvn_ra_neon/util.c:711: (apr_err=2)
svn: Can't open file 
'/repositories/test1.5/db/transactions/0-0.txn/props': No such file or 
directory

But commit seems to be successful.

Still figuring out the cause.

Any clues appreciated.

With regards
Kamesh Jayachandran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Strange issue with 1.5.0-beta1

Posted by Dan Christian <dc...@google.com>.
Don't downgrade!  apr-0.9 is un-official, un-supported junk.  Get away
from this dinosaur.

If you can't move forward now, then you never will be able to.

And now, in a slightly calmer voice...

I've been bitten by mixing apr-0 and apr-1, too.  The interfaces are
different in subtle ways (e.g. the number of arguments to some
functions) that case weird errors (and weirder debugging).

You can do a run time check that you are really running with the apr
you built with.  The code looks like this (put somewhere that gets run
once and early):
+    {                                   /* Verify APR run time version. */
+      apr_version_t av;
+      apr_version(&av);
+      if (APR_MAJOR_VERSION != av.major) {
+        fprintf(stderr, "APR version mismatch %d != run-time %d\n",
+                APR_MAJOR_VERSION, av.major);
+        abort();
+      }
+    }

-Dan C

On Tue, Mar 18, 2008 at 12:52 AM, Kamesh Jayachandran <ka...@collab.net> wrote:
> Hi All,
>
>  I found the cause of the issue to do with apr version incompatiblity.
>
>  My Apache 2.0 is built with 'apr-0.9.x'.
>
>  Subversion-1.5.0-beta1 is shipping apr-1.x in its deps tar ball and
>  hence 'mod_dav_svn' and 'mod_authz_svn' are built with apr-1.x which is
>  not compatible with apache 2.0(which uses apr 0.9.x). This
>  in-compatiblity is causing segfaults.
>  <snip from INSTALL>
>        | Subversion 1.0 originally shipped with APR 0.9.  Even        |
>         | though APR 1.X has been available for many years, we         |
>         | continue to ship APR 0.9 so as not to accidentally break     |
>         | binary compatibility in Subversion upgrades.                 |
>  </snip>
>
>  Either we need to update the INSTALL file or downgrade the apr in the
>  deps file.
>
>  Thanks
>  With regards
>  Kamesh Jayachandran
>
>
>
>  Kamesh Jayachandran wrote:
>  > Hi All,
>  >
>  > I use
>  > http://orac.ece.utexas.edu/pub/svn/1.5.0-beta1/pflugerville-peanut/to-tigris/subversion-deps-1.5.0-beta1.tar.bz2
>  >
>  > and
>  > http://orac.ece.utexas.edu/pub/svn/1.5.0-beta1/pflugerville-peanut/subversion-1.5.0-beta1.tar.bz2
>  >
>  >
>  > make davautocheck fails.
>  >
>  > When trying to get closer, I get errors like the following while 'svn
>  > import'.
>  > ../subversion/libsvn_ra_neon/util.c:711: (apr_err=2)
>  > svn: Can't open file
>  > '/repositories/test1.5/db/transactions/0-0.txn/props': No such file or
>  > directory
>  >
>  > But commit seems to be successful.
>  >
>  > Still figuring out the cause.
>  >
>  > Any clues appreciated.
>  >
>  > With regards
>  > Kamesh Jayachandran
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>  > For additional commands, e-mail: dev-help@subversion.tigris.org
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>  For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Strange issue with 1.5.0-beta1

Posted by Kamesh Jayachandran <ka...@collab.net>.
Hi All,

I found the cause of the issue to do with apr version incompatiblity.

My Apache 2.0 is built with 'apr-0.9.x'.

Subversion-1.5.0-beta1 is shipping apr-1.x in its deps tar ball and 
hence 'mod_dav_svn' and 'mod_authz_svn' are built with apr-1.x which is 
not compatible with apache 2.0(which uses apr 0.9.x). This 
in-compatiblity is causing segfaults.
<snip from INSTALL>
       | Subversion 1.0 originally shipped with APR 0.9.  Even        |
        | though APR 1.X has been available for many years, we         |
        | continue to ship APR 0.9 so as not to accidentally break     |
        | binary compatibility in Subversion upgrades.                 |
</snip>

Either we need to update the INSTALL file or downgrade the apr in the 
deps file.

Thanks
With regards
Kamesh Jayachandran

Kamesh Jayachandran wrote:
> Hi All,
>
> I use 
> http://orac.ece.utexas.edu/pub/svn/1.5.0-beta1/pflugerville-peanut/to-tigris/subversion-deps-1.5.0-beta1.tar.bz2 
>
> and 
> http://orac.ece.utexas.edu/pub/svn/1.5.0-beta1/pflugerville-peanut/subversion-1.5.0-beta1.tar.bz2 
>
>
> make davautocheck fails.
>
> When trying to get closer, I get errors like the following while 'svn 
> import'.
> ../subversion/libsvn_ra_neon/util.c:711: (apr_err=2)
> svn: Can't open file 
> '/repositories/test1.5/db/transactions/0-0.txn/props': No such file or 
> directory
>
> But commit seems to be successful.
>
> Still figuring out the cause.
>
> Any clues appreciated.
>
> With regards
> Kamesh Jayachandran
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org