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

RE: Deadlock-like behaviour of svnserve in multi-threaded mode (-T)

From: Radek Krotil <radek.krotil_at_polarion.com>
Date: Tue, 31 May 2016 16:19:00 +0200

Polarion is our application and it uses SvnKit (http://svnkit.com/) as a
connector to SVN. We use SVNKit version 1.8.12.

Dump from our application also shows that the threads are waiting for data
from network. Could it be an issue in Windows itself? Anyway, we have seen
this behavior both in Windows and Linux environment and never seen it with
Subversion 1.8 and earlier, so we suspect it's a regression in Subversion.

Thanks,
Radek

-----Original Message-----
From: Ivan Zhakov [mailto:ivan_at_visualsvn.com]
Sent: Tuesday, May 31, 2016 2:10 PM
To: Radek Krotil
Cc: dev_at_subversion.apache.org
Subject: Re: Deadlock-like behaviour of svnserve in multi-threaded mode (-T)

On 31 May 2016 at 14:43, Radek Krotil <radek.krotil_at_polarion.com> wrote:
> Hi Ivan.
>
> I managed to get the debug symbols for the Subversion binaries, we've
> been using. It can be downloaded at
> http://www.apachehaus.de/subversion-1.9.3-ap24-x64_pdb.zip.
>
As far I see all 22 workers threads are waiting for data from network:
[[
ntdll.dll!NtWaitForSingleObject () Unknown
mswsock.dll!SockWaitForSingleObject () Unknown
mswsock.dll!WSPRecv () Unknown
ws2_32.dll!WSARecv () Unknown
libapr-1.dll!0000000057bff0aa() Unknown
svnserve.exe!sock_read_cb(void * baton, char * buffer, unsigned
__int64 * len) Line 120 C
svnserve.exe!readbuf_fill(svn_ra_svn_conn_st * conn, apr_pool_t *
pool) Line 391 C
svnserve.exe!svn_ra_svn__read_tuple(svn_ra_svn_conn_st * conn,
apr_pool_t * pool, const char * fmt, ...) Line 1379 C
svnserve.exe!serve_interruptable(int * terminate_p, connection_t *
connection, int(*)(connection_t *) is_busy, apr_pool_t * pool) Line
4057 C
svnserve.exe!serve_thread(apr_thread_t * tid, void * data) Line 598 C
]]]

It also seems that you're using some third-party (Polarion) svn:// client
for Subversion. Is it true?

--
Ivan Zhakov
Received on 2016-05-31 16:19:16 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.