Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338342

Summary: Can't use plugin anymore
Product: [Technology] EGit Reporter: Fernando Ribeiro <fernando.ribeiro>
Component: CoreAssignee: Jens Baumgart <jens.baumgart>
Status: CLOSED DUPLICATE QA Contact:
Severity: blocker    
Priority: P3 CC: caniszczyk, fernando.ribeiro, robin.rosenberg, stefan.lay, vanthoff
Version: 0.11   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Thread Dump none

Description Fernando Ribeiro CLA 2011-02-27 11:32:11 EST
After the upgrade to 0.11.3, I'm unable to use the plugin in both 3.5 and 3.6, even after cleaning up workspace, project and repository files, the IDE freezes and nothing seems to be written to any log files.

I've opened a separate issue for you to evaluate keeping older versions available for issues like mine.

Please let me know how we can debug this together.
Comment 1 Chris Aniszczyk CLA 2011-02-28 20:05:40 EST
Can you post your logs?

Anything in the stacktrace that shows EGit or JGit is to blame?

If it's a deadlock... try this...

http://wiki.eclipse.org/How_to_report_a_deadlock
Comment 2 Jens Baumgart CLA 2011-03-03 04:29:48 EST
Easy way to get a thread dump: 
1. Start Eclipse with -consolelog (e.g. modify you shortcut)
2. When Eclipse hangs, activate the console window and press Ctrl-Break. A thread dump is written to the console window.
Comment 3 vant hoff CLA 2011-03-09 13:52:03 EST
(In reply to comment #0)
> After the upgrade to 0.11.3, I'm unable to use the plugin in both 3.5 and 3.6,
> even after cleaning up workspace, project and repository files, the IDE freezes
> and nothing seems to be written to any log files.
> 
> I've opened a separate issue for you to evaluate keeping older versions
> available for issues like mine.
> 
> Please let me know how we can debug this together.

I encounter the same problem. I tried with helios SR2 and helios rcp sr1 both hung up when switching to git perspective or git repository view. I'm working on windows 7.
Comment 4 Fernando Ribeiro CLA 2011-03-14 19:38:04 EDT
Created attachment 191176 [details]
Thread Dump
Comment 5 Fernando Ribeiro CLA 2011-03-14 19:38:41 EDT
Just attached the thread dump, let me know when you need more info.
Comment 6 Jens Baumgart CLA 2011-03-15 09:31:24 EDT
Worker-2 seems to block the rest. Worker-2 is not blocked itself, but maybe it's very slow. 

"Worker-2" prio=6 tid=0x02dcf000 nid=0x1734 runnable [0x064df000]
   java.lang.Thread.State: RUNNABLE
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:199)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
        - locked <0x22624018> (a java.io.BufferedInputStream)
        at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
        at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
        - locked <0x226260d8> (a java.io.InputStreamReader)
        at java.io.InputStreamReader.read(InputStreamReader.java:167)
        at java.io.BufferedReader.fill(BufferedReader.java:136)
        at java.io.BufferedReader.readLine(BufferedReader.java:299)
        - locked <0x226260d8> (a java.io.InputStreamReader)
        at java.io.BufferedReader.readLine(BufferedReader.java:362)
        at org.eclipse.jgit.util.FS.readPipe(FS.java:234)
        at org.eclipse.jgit.util.FS_Win32.gitPrefix(FS_Win32.java:94)
Comment 7 Robin Rosenberg CLA 2011-03-15 14:11:47 EDT
Could the process be waiting for input?
Comment 8 vant hoff CLA 2011-03-16 06:35:06 EDT
When I switch to git repository view, eclipse forks a bash process running a 'which' command on my machine. This seems to hang. When I kill this process Eclipse comes back to life. Maybe there is a conflict with msysgit installed on my machine.
Comment 9 Fernando Ribeiro CLA 2011-03-20 18:19:04 EDT
Any update yet?
Comment 10 Robin Rosenberg CLA 2011-03-21 02:50:44 EDT
What happens when you start git manually? and what happens if you then try to execute which git?
Comment 11 vant hoff CLA 2011-03-24 03:20:14 EDT
git works correctly on my machine when started manually. I tried with "git pull". "which git" puts out "/bin/git"
Comment 12 Robin Rosenberg CLA 2011-04-10 18:08:38 EDT

*** This bug has been marked as a duplicate of bug 337533 ***