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

Re: svn and svnserve hanging

From: Branko Čibej <brane_at_apache.org>
Date: Thu, 11 Apr 2019 20:17:54 +0200

On 11.04.2019 10:17, Vincent Lefevre wrote:
> On 2019-04-11 04:22:29 +0200, Branko Čibej wrote:
>> I think that svnserve would only use that function to find the current
>> user's home directory, to locate the config files. And that seems wrong
>> because svnserve has no business looking at the client's config area ...
> I think that it would be better to honor the value of $HOME
> for that purpose.

I disagree. For a daemon, $HOME shouldn't be set in the first place. But
in any case, we don't really care what APR or glibc do under the covers;
that's our platform abstraction.

>
>> Still, I don't see from the code how it could hang. The homedir is
>> either found or not, and if it's not, it's ignored.
> So it would mean that it is at the glibc level that it blocks.

I don't know, I'm only guessing, since I have no way to reproduce the
problem. Getting a call stack from the blocked svnserve process would
help diagnose the reason.

-- Brane
Received on 2019-04-11 20:17:57 CEST

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

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