[GRADLE-1083] daemon hangs after a ctrl-c Created: 30/Jul/10  Updated: 04/Jan/13  Resolved: 22/Sep/11

Status: Resolved
Project: Gradle
Affects Version/s: 0.9.1
Fix Version/s: 1.0-milestone-5

Type: Bug
Reporter: Chris Beams Assignee: Unassigned
Resolution: Fixed Votes: 0


Repro steps:

  1. start gradle daemon
  2. run a successful gradle clean
  3. start a gradle build
  4. ctrl-c before the process completes
  5. start gradle build once again
  6. notice the process hangs

This happens frequently for me, though I can't say whether it's been 100% of the time.

I've also noticed that if I leave the process alone long enough, it will sometimes return and complete execution. For example, I had a post ctrl-c gradle clean take 58 seconds all inclusive.

Comment by Chris Beams [ 02/Aug/10 ]

After posting this, I tried ctrl-c a couple more times, and the hanging was not reliably repeatable. So it may take some playing around to reproduce this one.

Generated at Wed Jun 30 11:46:28 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.