Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[io] Crash when removing leaf count array of non-primitive type

Đang mở
#22,097 4 bình luận 0 reaction 2 người được giao Xem trên GitHub

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 29/4/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug experiment in:I/O
Check duplicate issues.
  • Checked for duplicates
Description

In the context of schema evolution for CMS SoA data structures, we are seeing the following crash:

Fatal: kFALSE violated at line 1712 of `/path/to/root/io/io/src/TStreamerInfoReadBuffer.cxx'

This happens when removing a leaf count array of non-primitive type.

Reproducer

A reproducer is SoAEvolv.tar.gz, which is writing

struct Example {
   int fB;

   ClassDefNV(Example, 2)
};

struct SoAEvolv {
   int fElements = 0;
   int *fA = nullptr; //[fElements]
   Example *fE = nullptr; //[fElements]

   ClassDefNV(SoAEvolv, 2)
};

and then reading back into

struct SoAEvolv {
   int fElements = 0;
   int *fA = 0; //[fElements]

   ClassDefNV(SoAEvolv, 3)
};
ROOT version

6.36, but also latest master

Installation method

CMSSW, but also 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 17 giờ
Pull request đã merge (30 ngày)
188

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của root-project/root

Tất cả issue của root-project/root

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.