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

Re: Subversion 1.7.0 GO / NO-GO

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Wed, 21 Sep 2011 15:26:38 +0300

Hyrum K Wright wrote on Wed, Sep 21, 2011 at 03:51:01 -0500:
> On Tue, Sep 20, 2011 at 1:53 PM, Daniel Shahaf <danielsh_at_elego.de> wrote:
> > Mattias Engdegård (CC'd) reports on IRC that apr_atomic_xchgptr() in
> > recent APR's is broken, and the brokenness can affect Subversion under
> > certain circumstances:
> >
> > <@danielsh> wayita: t
> > < wayita> gcc 4.0.x or older
> > < wayita> apr 1.3.x or newer
> > < wayita> x86-64 only
> > < wayita> WORKAROUND: --disable-nonportable-atomics to APR's configure
> > < wayita> OS: any unix
> > < wayita> nature of the bug: apr_atomic_xchgptr() does not initialize the return value
> > < wayita> https://issues.apache.org/bugzilla/show_bug.cgi?id=51851
> > < wayita> manifests as a segfault in svn.
> >
> > I suppose we could recommend --disable-nonportable-atomics in the
> > release notes.  It is undetermined at this time whether Windows 64-bit
> > is affected.
>
> I'd still like to know what the reaction of the APR folks to this is.
> Has it been reported? What's their release plan? Should they be
> recommending the above to their users?
>
> Fundamentally, this is a bug in APR *not* Subversion. Let's try to
> get it fixed at the source.
>

Yes, it's been reported to APR, see wayita's next-to-last utterance.

> -Hyrum
>
>
> --
>
> uberSVN: Apache Subversion Made Easy
> http://www.uberSVN.com/
Received on 2011-09-21 14:27: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.