Skip to content

[ntuple] Implement RField<TObject>::ReadInClusterImpl #18405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 16, 2025

Conversation

hahnjo
Copy link
Member

@hahnjo hahnjo commented Apr 14, 2025

Otherwise RFieldBase::ReadInClusterImpl tries to use the principal column to translate to a global index, which results in a nullptr dereference.

Fixes #18404

@hahnjo hahnjo requested review from pcanal, silverweed and enirolf April 14, 2025 16:13
@hahnjo hahnjo self-assigned this Apr 14, 2025
@hahnjo hahnjo requested a review from jblomer as a code owner April 14, 2025 16:13
Copy link
Member

@pcanal pcanal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

github-actions bot commented Apr 14, 2025

Test Results

    18 files      18 suites   4d 3h 5m 52s ⏱️
 2 738 tests  2 737 ✅ 0 💤 1 ❌
47 613 runs  47 612 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 4686fed.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@enirolf enirolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for also fixing the test typos!

@hahnjo hahnjo marked this pull request as draft April 15, 2025 12:03
hahnjo added 3 commits April 16, 2025 13:03
... in preparation of RField<TObject>::ReadInCluster
Otherwise RFieldBase::ReadInClusterImpl tries to use the principal
column to translate to a global index, which results in a nullptr
dereference.

Fixes root-project#18404
@hahnjo hahnjo force-pushed the ntuple-vector-TObject branch from fd5dd4d to 4686fed Compare April 16, 2025 11:09
@hahnjo hahnjo marked this pull request as ready for review April 16, 2025 11:10
@dpiparo dpiparo merged commit d486882 into root-project:master Apr 16, 2025
20 of 22 checks passed
@hahnjo hahnjo deleted the ntuple-vector-TObject branch April 17, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ntuple] Unable to read collection of TObject
5 participants