[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: Mattias Engdegård <mattiase_at_bredband.net>
Date: Wed, 21 Sep 2011 21:21:21 +0200

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

It should be noted that this also explains the crash discussed in the
thread at http://svn.haxx.se/dev/archive-2011-08/0157.shtml, where it
was incorrectly guessed to be a compiler bug. (CC:ing the original
reporter)
Received on 2011-09-21 21:21:57 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.