[io] Require manual rules for all leaf count arrays?
Los mantenedores suelen responder en 1 día
@pcanal ya está trabajando en esto.
Desde el 19/5/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- C++
- Estrellas
- 3.3k
- Forks
- 1.6k
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 188
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de root-project/root
-
thisroot.sh: wrong ROOTSYS in zsh when the shell's command line has a newlinePosiblemente ocupada @dpiparo la tomó hace 4 días. Abiertobug in:Build System
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
root-project/root#23746 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[tmva][sofie] Inputs of unsupported type (e.g. float16) give code that does not compile instead of an errorPosiblemente ocupada @lmoneta la tomó hace 14 días. AbiertoAI-Assisted bug in:SOFIE
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
root-project/root#23655 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[RDataFrame] Code that transforms `#var` alias to `R_rdf_sizeof_var` does not respect string literalsPosiblemente ocupada @vepadulano la tomó hace 1 día. Abiertobug in:RDataFrame
Dificultad 3/5 1-2 días Aptitud para principiantes 71/100
root-project/root#23790 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
TDataMember::GetOffset interfers to TDataMember::GetOffsetCintPosiblemente ocupada @pcanal la tomó hace 1 día. Abiertobug in:Core Libraries
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
root-project/root#23777 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
`TChain::GetEntries` internal caching ineffective?Posiblemente ocupada @pcanal la tomó hace 7 días. Abiertoimprovement in:TTree
root-project/root#23738 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de root-project/root
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
[BUG] Failed archive extraction deletes the dataset cachePosiblemente ocupada @dajiaohuang la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
alibaba/GraphScope#4674 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 93/100
webarkit/WebARKitLib#107 ·
Los mantenedores suelen responder en 1 día
-
--view / --edit / --review passed without '=' abort the app with an uncaught std::out_of_rangeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ONLYOFFICE/DesktopEditors#2527 ·
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
HEL3AN/econspace-mmo#529 ·
Los mantenedores suelen responder en 1 día