Skip to content

TiFlash meet bus error and crash in some specific env #10163

@windtalker

Description

@windtalker

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

CPU: Kunpeng-920(arm)
OS:

Kylin Linux Advanced Server release V10 (Sword)
Linux localhost.localdomain 4.19.90-24.4.v2101.ky10.aarch64 #1 SMP Mon May 24 14:45:37 CST 2021 aarch64 aarch64 aarch64 GNU/Linux

log

[2025/05/14 01:46:18.005 +08:00] [ERROR] [BaseDaemon.cpp:366] [########################################] [source=BaseDaemon] [thread_id=780]
[2025/05/14 01:46:18.005 +08:00] [ERROR] [BaseDaemon.cpp:367] ["(from thread 632) Received signal Bus error(7)."] [source=BaseDaemon] [thread_id=780]
[2025/05/14 01:46:18.005 +08:00] [ERROR] [BaseDaemon.cpp:426] ["Invalid address alignment."] [source=BaseDaemon] [thread_id=780]
[2025/05/14 01:46:22.843 +08:00] [ERROR] [BaseDaemon.cpp:559] ["\n  0xaaad99324274\tfaultSignalHandler(int, siginfo_t*, void*) [tiflash+121258612]\n                \tlibs/libdaemon/src/BaseDaemon.cpp:210\n  0xfffd2ce107c0\t<unknown symbol> [linux-vdso.so.1+1984]\n  0xff991e4fc4a8\t<unknown symbol>"] [source=BaseDaemon] [thread_id=780]

After some debug, we found the crash point is in

std::unique_lock lock(cached_column_info->mu);

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiFlash version? (Required)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions