Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Hanging Eclipse

I do not know the cause of the problem.
But operations like SubmoduleWalk.forIndex should not be done in the UI thread.
Jens

From: Duft Markus <Markus.Duft@xxxxxxxxxxxxxxxx>
Date: Thursday, February 13, 2014 at 8:18 AM
To: "EGit developer discussion (egit-dev@xxxxxxxxxxx)" <egit-dev@xxxxxxxxxxx>
Subject: [egit-dev] Hanging Eclipse

Hey!

 

Lately I have found my eclipse hanging from time to time (every other minute) for a few seconds. When I look at the stack traces with jstack it looks something like this in the main thread:

 

"main" prio=10 tid=0x00007f42f000a000 nid=0x4040 sleeping[0x00007f42f8a84000]

   java.lang.Thread.State: RUNNABLE

        at sun.security.provider.SHA.implCompress(SHA.java:122)

        at sun.security.provider.DigestBase.engineUpdate(DigestBase.java:133)

        at java.security.MessageDigest$Delegate.engineUpdate(MessageDigest.java:568)

        at java.security.MessageDigest.update(MessageDigest.java:313)

        at org.eclipse.jgit.dircache.DirCacheEntry.<init>(DirCacheEntry.java:170)

        at org.eclipse.jgit.dircache.DirCache.readFrom(DirCache.java:483)

        at org.eclipse.jgit.dircache.DirCache.read(DirCache.java:411)

        at org.eclipse.jgit.dircache.DirCache.read(DirCache.java:194)

        at org.eclipse.jgit.dircache.DirCache.read(DirCache.java:166)

        at org.eclipse.jgit.lib.Repository.readDirCache(Repository.java:1018)

        at org.eclipse.jgit.submodule.SubmoduleWalk.forIndex(SubmoduleWalk.java:95)

        at org.eclipse.egit.ui.internal.staging.StagingViewContentProvider.inputChanged(StagingViewContentProvider.java:321)

        at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:276)

        at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1690)

        at org.eclipse.egit.ui.internal.staging.StagingView$42.run(StagingView.java:2071)

        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)

        - locked <0x00000007d4fe3770> (a org.eclipse.swt.widgets.RunnableLock)

 

We are not using submodules at all. Is there something wrong? Restarting eclipse most of the time helps me out for a while.

 

This is on 3.2.0 release with eclipse 4.3.1. Does somebody know about this issue already?

 

Cheers,

Markus

 

--

Mit freundlichen Grüßen / Best regards

 

Markus Duft | Senior Software Engineer

SSI SCHÄFER | Salomon Automation GmbH | Friesachstraße 15 | 8114 Friesach bei Graz | Austria

Phone +43 3127 200-575 | Fax +43 3127 200-22

markus.duft@xxxxxxxxxxxxxxxx

Website | Blog | YouTube | Facebook

 

Salomon Automation GmbH | Friesachstrasse 15 | 8114 Friesach bei Graz | Austria
Registered Office: Friesach bei Graz | Commercial Register: 49324 K | VAT no. ATU28654300
Commercial Court: Landesgericht für Zivilrechtssachen Graz

Back to the top