Skip to content

[6.38] [PyROOT] Fix a GIL deadlock in THx.Fit#21198

Merged
dpiparo merged 4 commits intoroot-project:v6-38-00-patchesfrom
root-project-bot:BP_6.38_pull_21129
Feb 9, 2026
Merged

[6.38] [PyROOT] Fix a GIL deadlock in THx.Fit#21198
dpiparo merged 4 commits intoroot-project:v6-38-00-patchesfrom
root-project-bot:BP_6.38_pull_21129

Conversation

@root-project-bot
Copy link

Backport of #21129, requested by @dpiparo
For your information @hageboeck

hageboeck and others added 4 commits February 9, 2026 09:00
TH1.Fit might call into Python functions, which would require the GIL to
be held. If TH1.Fit holds it, though, the process deadlocks.
Here, the GIL is released before TH1.Fit, which runs fully in C++
anyway.

Fix root-project#21080.

(cherry picked from commit e8a739a)
This saves startup times and collects TH1 tests in one place.

(cherry picked from commit 9372b50)
The timeout of the test is reduced because the deadlock would otherwise
show only after 1500s.

(cherry picked from commit b14edf9)
@github-actions
Copy link

github-actions bot commented Feb 9, 2026

Test Results

    19 files      19 suites   3d 5h 12m 43s ⏱️
 3 715 tests  3 715 ✅ 0 💤 0 ❌
68 853 runs  68 853 ✅ 0 💤 0 ❌

Results for commit 787d682.

@dpiparo dpiparo merged commit 458b26c into root-project:v6-38-00-patches Feb 9, 2026
25 of 26 checks passed
@dpiparo dpiparo deleted the BP_6.38_pull_21129 branch February 9, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants