EGit freezes Eclipse in 2019-06 release [message #1808547] |
Wed, 26 June 2019 16:03 |
Alex Mising name Messages: 149 Registered: March 2010 |
Senior Member |
|
|
Hello,
I've installed 2019-06 release to try it and I'm having issues with EGit. It blocks the UI thread and freezes Eclipse.
It happens with something as simple as going to "Window->Preferences->Team->Git->Configuration" (also hangs when I try to add an existing cloned repo to EGit).
I took a thread dump with jstack and it always seems to be inside some jgit code that seems to be retrieving file attributes?
"main" #1 prio=6 os_prio=0 tid=0x00000000078dc800 nid=0x37dc waiting on condition [0x000000000026c000]
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:240)
at org.eclipse.jgit.util.FS$FileStoreAttributeCache.getFsTimestampResolution(FS.java:211)
at org.eclipse.jgit.util.FS.getFsTimerResolution(FS.java:321)
at org.eclipse.jgit.internal.storage.file.FileSnapshot.<init>(FileSnapshot.java:186)
at org.eclipse.jgit.internal.storage.file.FileSnapshot.save(FileSnapshot.java:122)
at org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:156)
at org.eclipse.egit.ui.internal.preferences.ConfigurationEditorComponent.initControlsFromConfig(ConfigurationEditorComponent.java:464)
at org.eclipse.egit.ui.internal.preferences.ConfigurationEditorComponent.createContents(ConfigurationEditorComponent.java:428)
at org.eclipse.egit.ui.internal.preferences.GlobalConfigurationPreferencePage.createContents(GlobalConfigurationPreferencePage.java:160)
at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:244)
at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1429)
at org.eclipse.jface.preference.PreferenceDialog$8.run(PreferenceDialog.java:1196)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:47)
at org.eclipse.ui.internal.JFaceUtil$$Lambda$8/1511813739.run(Unknown Source)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:176)
at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1188)
Has the version of jgit changed in 2019-06? This could be a possible bug of jgit...
UPDATE: I am using JDK 1.8.0.212 on Windows 7 and my git home (where repositories are cloned) are on NTFS.
[Updated on: Wed, 26 June 2019 16:07] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03851 seconds