<< Back to previous view |
[QB-1007] Concurrent class loading results deadlock
|
|
Status: | Resolved |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 3.1.55 |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Robin Shen | Assigned To: | Robin Shen |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
To reproduce:
1. restart quickbuild. 2. create a configuration running three steps concurrently. Each of these step call sleep command for 60 seconds. 3. cancel the build, and sometimes only one step is cancelled. This happens because multiple threads enter into interruption handling code of Commandline class, and needs to load some new classes, and some thread may go through, while other threads are blocked. |
Comments |
Comment by Robin Shen [ 06/Aug/11 05:52 AM ] |
This seems like a JDK issue. It can be reproduced for JDK 1.5.0_16 on Windows. Upgrading JDK6 or JDK1.5.0_19 solves the problem.
|