[io] Require manual rules for all leaf count arrays?
Maintainer thường phản hồi trong vòng 1 ngày
@pcanal đang làm issue này rồi.
Từ ngày 19/5/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Check duplicate issues.
- Checked for duplicates
Description
It appears that having a read rule for one leaf count array requires treatment of all arrays using the same leaf count branch.
Reproducer
A reproducer is SoAEvolv.multiple.tar.gz, which is writing
struct SoAEvolv {
int fElements = 0;
float *fA = nullptr; //[fElements]
float *fB = nullptr; //[fElements]
ClassDefNV(SoAEvolv, 2)
};
and then reading it back into
struct SoAEvolv {
int fElements = 0;
double *fA = nullptr; //[fElements]
double *fB = nullptr; //[fElements]
ClassDefNV(SoAEvolv, 3)
};
while trying to evolve it with
#pragma read sourceClass="SoAEvolv" source="int fElements; float *fA" version="[-2]" targetClass="SoAEvolv" target="fA" code="{printf(\"onfile.fA = %p\n\", onfile.fA); fA = new double[onfile.fElements]{onfile.fA[0]};}"
When running ./read_soaevolv the output is:
onfile.fA = 0x3236ef0
Error in <TBufferFile::CheckByteCount>: object of class SoAEvolv read too few bytes: 12 instead of 16
fA = 0x377f800, fB = 0
showing that the manual rule executed, but fB was not read and ROOT is reporting an error.
ROOT version
master
Installation method
from source
Operating system
Linux
Additional context
FYI @Electricks94
- Ngôn ngữ chính
- C++
- Star
- 3.3k
- Fork
- 1.6k
- Merge trung bình
- 2 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 207
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của root-project/root
-
thisroot.sh: wrong ROOTSYS in zsh when the shell's command line has a newlineCó thể đã có người làm @dpiparo đã nhận 10 ngày trước. Đang mởbug in:Build System
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
root-project/root#23746 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Header cleanup campaignCó thể đã có người làm @hageboeck đã nhận hôm nay. Đang mở
root-project/root#23880 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[graph] TScatter / TScatter2D stops drawing remaining points if a non-positive value is encountered in log scaleCó thể đã có người làm @muntasir-396 đã nhận 4 ngày trước. Đang mởgood first issue improvement in:Graphics
root-project/root#23833 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
TDataMember::GetOffset interfers to TDataMember::GetOffsetCintCó thể đã có người làm @pcanal đã nhận 7 ngày trước. Đang mởbug in:Core Libraries
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
root-project/root#23777 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`TChain::GetEntries` internal caching ineffective?Có thể đã có người làm @pcanal đã nhận 13 ngày trước. Đang mởimprovement in:TTree
root-project/root#23738 · 6 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của root-project/root
Issue tương tự
-
Missing icon for .cpp2 filesĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
madskristensen/FileIcons#385 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
microsoft/SysmonCommon#26 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
espressif/esp-matter#1913 ·
-
bug priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
chipsalliance/verible#2644 ·