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

Re: Possible deadlock in named atomic infrastructure used by revprop caching

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Mon, 18 Aug 2014 14:51:08 +0200

On Tue, Aug 12, 2014 at 7:22 PM, Ivan Zhakov <ivan_at_visualsvn.com> wrote:

> Stefan,
>
> I've noticed another severe issue in named atomic infrastructure used
> by revprop caching code while reviewing r1611379 fix:
> svn_atomic_namespace__create() doesn't release file lock and
> process-wide mutex (!) on error in libsvn_subr\named_atomic.c:446.
>

Thanks for the report, fixed in r1617687.

> Which is basically mean that server will be deadlocked if *any* of
> named atomic shared file contains some invalid data.
>

That specific error condition means that something randomly
modified or modifies on-disk data on your server. A deadlock
is probably not the worst effect in that case ...

-- Stefan^2.
Received on 2014-08-18 14:51:36 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.