TiFlash v8.5.8: SIGSEGV in RegionCollector::run during a BTreeMap range lookup

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

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, rust
Lĩnh vực
backend, databases

Hướng nghiên cứu

Start with components/raftstore/src/coprocessor/region_info_accessor.rs at RegionCollector::run around line 780, then trace the BTreeMap::range call into the Proxy revision identified by the engine Git hash. Check existing crash reports and tests for this signature; the report does not identify a triggering event or provide a reproducer. Done means determining whether this revision has a known matching crash and documenting which RegionCollector events or state would help diagnose a recurrence.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

contribution

A TiFlash process exited with SIGSEGV on a production cluster. The application signal log recorded a read from unmapped address 0x16a. The service manager then restarted the process.

Environment: TiFlash v8.5.8, engine Git hash 3abdec8bff315647a056e6bf910abd4b59af2011, Linux x86-64.

Crash stack (faulting frame first, Rust symbols shortened for readability):

btree::search::NodeRef::find_lower_bound_index
    libtiflash_proxy.so+89803221
BTreeMap::range
    libtiflash_proxy.so+89777476
RegionCollector::run
    libtiflash_proxy.so+89934952
    components/raftstore/src/coprocessor/region_info_accessor.rs:780
yatp worker

The faulting instruction address recorded in the core matched the address in the application signal stack. The application log provided the symbolized Proxy frames. The core was truncated.

Reproduction: Observed in production. We have not identified the triggering Region event or produced a standalone reproducer.

Is this crash signature known for the Proxy revision shipped with TiFlash v8.5.8? Which RegionCollector events or state should we capture if it recurs?

Ngôn ngữ chính
C++
Star
1k
Fork
428
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
100

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 pingcap/tiflash

Tất cả issue của pingcap/tiflash

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.