[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Endless loop when detecting filesystem timestamps resolution

On 17 Jul 2019, at 16:31 , Dmitry Pavlenko <pavlenko@xxxxxxxxxxxxx> wrote:


We're using JGit library internally and for one of our clients it entered into an endless loop.

The stack trace obtained by 'jstack' is

  java.lang.Thread.State: TIMED_WAITING (sleeping)
       at java.lang.Thread.sleep(Native Method)
       at java.lang.Thread.sleep(Thread.java:340)
       at java.util.concurrent.TimeUnit.sleep(TimeUnit.java:386)
       at org.eclipse.jgit.util.FS$FileStoreAttributeCache.<init>(FS.java:242)
       at org.eclipse.jgit.util.FS$FileStoreAttributeCache.getFsTimestampResolution(FS.java:213)

This is https://bugs.eclipse.org/bugs/show_bug.cgi?id=548598 and is being worked on.
See https://git.eclipse.org/r/#/c/144897/ and the series of related commits.