[io] Require manual rules for all leaf count arrays?
メンテナーはふだん 1 日以内に返信
@pcanal がすでに取り組んでいます。
2026年5月19日 から。
評価
この issue はまだ評価されていません。
説明
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
- 主要言語
- C++
- スター
- 3.3k
- フォーク
- 1.6k
- 平均マージ
- 2日 16時間
- マージ済み PR(30日)
- 194
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
root-project/root のほかの issue
-
thisroot.sh: wrong ROOTSYS in zsh when the shell's command line has a newline対応中かも @dpiparo が 3 日前に担当しました。 オープンbug in:Build System
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
root-project/root#23746 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[tmva][sofie] Inputs of unsupported type (e.g. float16) give code that does not compile instead of an error対応中かも @lmoneta が 13 日前に担当しました。 オープンAI-Assisted bug in:SOFIE
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
root-project/root#23655 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[RDataFrame] Code that transforms `#var` alias to `R_rdf_sizeof_var` does not respect string literals対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 71/100
root-project/root#23790 ·
メンテナーはふだん 1 日以内に返信
-
bug in:Core Libraries
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
root-project/root#23777 ·
メンテナーはふだん 1 日以内に返信
-
`TChain::GetEntries` internal caching ineffective?対応中かも @pcanal が 6 日前に担当しました。 オープンimprovement in:TTree
root-project/root#23738 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
root-project/root の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
maplibre/maplibre-native#4822 ·
メンテナーはふだん 1 日以内に返信
-
bug-unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
ai_p2 comp-datalake
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ClickHouse/ClickHouse#127437 ·
メンテナーはふだん 1 日以内に返信
-
Jupyter kernel leaks two file descriptors per cell; after ~100 cells every cell fails with "pipe() failed"対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信