Discussion:
Bug - svn hangs
Luca Baraldi
2017-11-26 22:03:11 UTC
Permalink
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/
Andreas Mohr
2017-11-27 09:16:31 UTC
Permalink
Post by Luca Baraldi
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 Baraldi
2017-12-02 11:53:20 UTC
Permalink
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
Post by Andreas Mohr
Post by Luca Baraldi
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/
Matt Simmons
2017-12-02 12:12:24 UTC
Permalink
What is /proc/<PID>/fd/3 linked to?
Post by 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
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 Baraldi
2017-12-02 12:26:13 UTC
Permalink
ll /proc/4830/fd/3
lrwx------ 1 luca luca 64 dic  2 13:24 /proc/4830/fd/3 -> socket:[362320]
Post by Matt Simmons
What is /proc/<PID>/fd/3 linked to?
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
Post by Andreas Mohr
Post by Luca Baraldi
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 Baraldi
2017-12-06 22:20:01 UTC
Permalink
Hello, it finally seems to solve the problem an upgrade of kernel
version to 4.13.0-19-generic

At last!

Thanks to everyone
Post by Luca Baraldi
ll /proc/4830/fd/3
lrwx------ 1 luca luca 64 dic  2 13:24 /proc/4830/fd/3 -> socket:[362320]
Post by Matt Simmons
What is /proc/<PID>/fd/3 linked to?
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
Post by Andreas Mohr
Post by Luca Baraldi
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/
Continue reading on narkive:
Loading...