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

Bug 361141

Summary: Freeze of entire Eclipse SDK after a Git push from EGIT
Product: [Technology] EGit Reporter: Alessio Pollero <alessio.pollero>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: critical    
Priority: P3 CC: alessio.pollero, remy.suen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Error reopening Eclipse after the freeze.
none
Thread dump
none
UI screenshot none

Description Alessio Pollero CLA 2011-10-17 09:56:19 EDT
Build Identifier: 20110301-1815

Working in a workspace with more than one project inside i modify some file on a project (that doesn't have a git repository associated) and i don't save the file that i'm working on, then i select another project in Package explorer(this project have a git repository associated) and right click on it then Team menu and click on push, at this point eclipse ask to me if i want to save the file that i've modified before, i respond Yes.
After this procedure Eclipse SDK remain completely frozen, the application doesn't respond and i have to kill it with task manger.

However i don't understand neither why eclipse ask for saving the file that is not a file of the project which push is executed.

Reproducible: Always

Steps to Reproduce:
1. Modify a file in a project (that doesn't have a git repository)
2. Without saving the file, select another project(that have a git repository) and from team menu push the changes
3. When eclipse prompt for saving the file select Yes
Comment 1 Alessio Pollero CLA 2011-10-17 09:59:31 EDT
Created attachment 205326 [details]
Error reopening Eclipse after the freeze.

After reopening the project i get this error.
Comment 2 Remy Suen CLA 2011-10-17 16:30:07 EDT
(In reply to comment #0)
> After this procedure Eclipse SDK remain completely frozen, the application
> doesn't respond and i have to kill it with task manger.

So the UI doesn't repaint itself anymore? Or can you still click around? If you can reproduce the problem, can you attach a thread dump to this bug?
wiki.eclipse.org/index.php/How_to_report_a_deadlock
Comment 3 Alessio Pollero CLA 2011-10-18 02:28:08 EDT
Created attachment 205383 [details]
Thread dump
Comment 4 Alessio Pollero CLA 2011-10-18 02:30:07 EDT
Created attachment 205384 [details]
UI screenshot
Comment 5 Alessio Pollero CLA 2011-10-18 02:34:16 EDT
The UI is completely frozen and i can't click around because the application doesn't respond anymore ...

I can reproduce the problem any time that i follow the procedure that i listed in the Steps to reproduce section, 

I've uploaded a Thread Dump and a screenshot of the UI, let me know if you need something else ...

I'm on JDK 7 ...
Comment 6 Remy Suen CLA 2011-10-18 06:48:17 EDT
(In reply to comment #3)
> Created attachment 205383 [details]
> Thread dump

Alessio, please open a bug with Aptana. You are not using EGit but Aptana's own Git plug-in.