Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328082 - Deadlock when "Checking out files" after initial clone
Summary: Deadlock when "Checking out files" after initial clone
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 17:18 EDT by albatros CLA
Modified: 2011-10-14 10:33 EDT (History)
1 user (show)

See Also:


Attachments
Thread Dump (14.81 KB, application/octet-stream)
2010-10-18 17:21 EDT, albatros CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description albatros CLA 2010-10-18 17:18:58 EDT
Build Identifier: M20100211-1343

When importing a specific repository the interface deadlocks and eclipse uses 100% one cpu in a dual core system, after extracting 24MB out 27MB of a file in the repository.

The first 24 is really slow as well but that might be another problem.

Git from the command line does not have any problems with repository.

Reproducible: Always

Steps to Reproduce:
1. Import -> Projects from git
2. clone git://github.com/skynetalice/KKPortal.git
3. next -> next -> Finish
Comment 1 albatros CLA 2010-10-18 17:21:09 EDT
Created attachment 181135 [details]
Thread Dump

Created with VisualVM
Comment 2 albatros CLA 2010-10-18 17:25:01 EDT
The actual file was found like this:

albatros@gara:~/.eclipse/workspace3/KKPortal$ lsof -p $(pgrep eclipse) | grep KKP
eclipse 7979 albatros   39r   REG       8,17 74523375  13279241 /home/albatros/.eclipse/workspace3/KKPortal/.git/objects/pack/pack-2ba84e6332d524a8f92a871bcaec05d71c566397.pack
eclipse 7979 albatros  117w   REG       8,17  2457600  13844588 /home/albatros/.eclipse/workspace3/KKPortal/lib/gwt/gwt-dev.jar
eclipse 7979 albatros  118w   REG       8,17  2356006  13279289 /home/albatros/.eclipse/workspace3/KKPortal/.git/objects/noz4313158852125110978.tmp

the tmp file was watched while is was being extracted and apart from it being slow in some spots it came to complete halt at 24MB where I waited for around 15 minutes.
Comment 3 albatros CLA 2010-10-18 17:28:20 EDT
The Egit version is 0.9.3 and I cannot test the nightly version since I get a "No repository found at http://download.eclipse.org/egit/updates-nightly"
Comment 4 Jens Baumgart CLA 2011-10-14 10:33:50 EDT
With current EGit I could clone the repository git://github.com/skynetalice/KKPortal.git in a normal time.
Please also note that Git is not made for versioning big binary files like gwt-dev.jar (27 MB).