Bug - svn hangs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug - svn hangs

Luca Baraldi

Hello, I am experiencing a problem for which I cannot see solution nor better way to investigate my case than writing to you.

I am a java developer so I may not know low level details, but if instructed I may provide them.

Client: Ubuntu 17.10, svn version is 1.9.7 (r1800392) - official repository

Server: CentOs running collabnet svnserve 1.8.0


I started working ok with some 5 repository, but suddenly (after weeks) happens that two of them gets "blocked", I mean, svn ls or update commands hangs indefinitely without prompting any kind of message. What is really strange is that is happening only on some subdirectories on that  repositories, and if I try with other pc (ie Windows with TortoiseSvn), everything seems all right. I was not able to obtain any useful info nor logs on server, I think it is definitively a client problem but no idea where to look for more infos.

I am blocked by this problem and cannot go on working with my pc.

Thanks for your help!


Luca







--
Luca --Sent from my Pigeon Post
Reply | Threaded
Open this post in threaded view
|

Re: Bug - svn hangs

AndreasMohr
On Sun, Nov 26, 2017 at 11:03:11PM +0100, Luca Baraldi wrote:
>    I am blocked by this problem and cannot go on working with my pc.

As an initial quick emergency hint by an outside person,
try using strace/ltrace to figure out more context info
(i.e., *why* it might be hanging).

Good luck!

Andreas Mohr
Reply | Threaded
Open this post in threaded view
|

Re: Bug - svn hangs

Luca Baraldi

Thanks Andreas.

I just tried but my skills fall short on system calls.

Seems it is blocked on the middle of a read() line, even the line seems half printed in the log...

The line which would go as

read(3, "( success ( ( ) 0: ) ) ( success"..., 16384) = 377

In the bad case is

read(3,

And stayed there until I kill process...

I can send you a goodTest and a badTest, outputted from strace. Both are "svn ls" of the same repository but different folders (good one is a parent folder of the bad one).

Can you see something more?

Thanks!

Luca



On 27/11/2017 10:16, Andreas Mohr wrote:
On Sun, Nov 26, 2017 at 11:03:11PM +0100, Luca Baraldi wrote:
   I am blocked by this problem and cannot go on working with my pc.
As an initial quick emergency hint by an outside person,
try using strace/ltrace to figure out more context info
(i.e., *why* it might be hanging).

Good luck!

Andreas Mohr

--
Luca --Sent from my Pigeon Post

goodTest (66K) Download Attachment
badTest (64K) Download Attachment
goodTest2 (66K) Download Attachment
goodTest3 (66K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Bug - svn hangs

Matt Simmons
What is /proc/<PID>/fd/3 linked to?

On Sat, Dec 2, 2017 at 3:54 AM Luca Baraldi <[hidden email]> wrote:

Thanks Andreas.

I just tried but my skills fall short on system calls.

Seems it is blocked on the middle of a read() line, even the line seems half printed in the log...

The line which would go as

read(3, "( success ( ( ) 0: ) ) ( success"..., 16384) = 377

In the bad case is

read(3,

And stayed there until I kill process...

I can send you a goodTest and a badTest, outputted from strace. Both are "svn ls" of the same repository but different folders (good one is a parent folder of the bad one).

Can you see something more?

Thanks!

Luca



On 27/11/2017 10:16, Andreas Mohr wrote:
On Sun, Nov 26, 2017 at 11:03:11PM +0100, Luca Baraldi wrote:
   I am blocked by this problem and cannot go on working with my pc.
As an initial quick emergency hint by an outside person,
try using strace/ltrace to figure out more context info
(i.e., *why* it might be hanging).

Good luck!

Andreas Mohr

--
Luca --Sent from my Pigeon Post
--
"Today, vegetables... Tomorrow, the world!" 
Reply | Threaded
Open this post in threaded view
|

Re: Bug - svn hangs

Luca Baraldi
ll /proc/4830/fd/3 
lrwx------ 1 luca luca 64 dic  2 13:24 /proc/4830/fd/3 -> socket:[362320]

On 02/12/2017 13:12, Matt Simmons wrote:
What is /proc/<PID>/fd/3 linked to?

On Sat, Dec 2, 2017 at 3:54 AM Luca Baraldi <[hidden email]> wrote:

Thanks Andreas.

I just tried but my skills fall short on system calls.

Seems it is blocked on the middle of a read() line, even the line seems half printed in the log...

The line which would go as

read(3, "( success ( ( ) 0: ) ) ( success"..., 16384) = 377

In the bad case is

read(3,

And stayed there until I kill process...

I can send you a goodTest and a badTest, outputted from strace. Both are "svn ls" of the same repository but different folders (good one is a parent folder of the bad one).

Can you see something more?

Thanks!

Luca



On 27/11/2017 10:16, Andreas Mohr wrote:
On Sun, Nov 26, 2017 at 11:03:11PM +0100, Luca Baraldi wrote:
   I am blocked by this problem and cannot go on working with my pc.
As an initial quick emergency hint by an outside person,
try using strace/ltrace to figure out more context info
(i.e., *why* it might be hanging).

Good luck!

Andreas Mohr

--
Luca --Sent from my Pigeon Post
--
"Today, vegetables... Tomorrow, the world!" 

--
Luca --Sent from my Pigeon Post
Reply | Threaded
Open this post in threaded view
|

Re: Bug - svn hangs

Luca Baraldi

Hello, it finally seems to solve the problem an upgrade of kernel version to 4.13.0-19-generic

At last!

Thanks to everyone


On 02/12/2017 13:26, Luca Baraldi wrote:
ll /proc/4830/fd/3 
lrwx------ 1 luca luca 64 dic  2 13:24 /proc/4830/fd/3 -> socket:[362320]

On 02/12/2017 13:12, Matt Simmons wrote:
What is /proc/<PID>/fd/3 linked to?

On Sat, Dec 2, 2017 at 3:54 AM Luca Baraldi <[hidden email]> wrote:

Thanks Andreas.

I just tried but my skills fall short on system calls.

Seems it is blocked on the middle of a read() line, even the line seems half printed in the log...

The line which would go as

read(3, "( success ( ( ) 0: ) ) ( success"..., 16384) = 377

In the bad case is

read(3,

And stayed there until I kill process...

I can send you a goodTest and a badTest, outputted from strace. Both are "svn ls" of the same repository but different folders (good one is a parent folder of the bad one).

Can you see something more?

Thanks!

Luca



On 27/11/2017 10:16, Andreas Mohr wrote:
On Sun, Nov 26, 2017 at 11:03:11PM +0100, Luca Baraldi wrote:
   I am blocked by this problem and cannot go on working with my pc.
As an initial quick emergency hint by an outside person,
try using strace/ltrace to figure out more context info
(i.e., *why* it might be hanging).

Good luck!

Andreas Mohr

--
Luca --Sent from my Pigeon Post
--
"Today, vegetables... Tomorrow, the world!" 

--
Luca --Sent from my Pigeon Post

--
Luca --Sent from my Pigeon Post