[GRADLE-1723] impossible to acquire lock problem when resolving dependencies Created: 05/Aug/11 Updated: 04/Jan/13 Resolved: 12/Oct/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.0-milestone-4 |
Fix Version/s: | 1.0-milestone-5 |
Type: | Bug | ||
Reporter: | Szczepan Faber | Assignee: | Adam Murdoch |
Resolution: | Fixed | Votes: | 3 |
Attachments: | thread-dump.txt |
Description |
Comments |
Comment by René Gröschke (Inactive) [ 07/Aug/11 ] |
As mentioned on the mailinglist, I get the same error in one of our multiprojectbuilds. before starting the mp build, there are no lck files in my cache directory. after the failed build there are no lck files either. it seems, that a subproject creates the lock on a library and another subproject with the same dependency. it's always the same dependency that fails, but i havn't yet figured out, what the special scenario with this dependency is. regards, rene |
Comment by Davide Cavestro [ 21/Sep/11 ] |
Just hit the same problem with 1.0-milestone-4, though I haven't seen any error: the process seems hanging, or maybe I should wait some time to get a failure. 1.0-milestone-3 works fine. |
Comment by Davide Cavestro [ 21/Sep/11 ] |
I noticed there actually was a .lck file that caused milestone-4 to hang
find ~/.gradle/caches/artifacts/ -name "*.lck"
/home/davide/.gradle/caches/artifacts/asm/asm-util/wharfdata-3.2.kryo.lck
Removing it while a milestone-4 process was hanging, it continued soon with no problems. |