Commit 7643a6e
Fix of a hang in ITSClusterTask
This commit fixes a hang observed in the MC nightlies since 11. August 2026.
The patch corrects upon findings of a debug session which surfaced that
- ITSTracksClustersQC never returns.
- It keeps its semaphore, so the other timeframes never run.
- The QC finalisation stalls and the GRID watchdog kills the job.
- The task aborts inside free() while it is destroyed.
- The crash handler then deadlocks, so the process never exits.
The destructor deletes the dcol maps in the inner barrel branch. For layers 0 to 2
this frees hDcolMapOBSor and hDcolMapOBEor at index -3, -2 and -1. They belong in
the outer barrel branch.
startOfCycle resets the same histograms without a null check. createAllHistos skips
disabled layers, so they can be null.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent b63cdd9 commit 7643a6e
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
| 62 | + | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
| |||
0 commit comments