Skip to content

tiflash crash in LAC for upgrade integration test #10184

@guo-shaoge

Description

@guo-shaoge

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

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

  [2025/04/15 22:31:31.639 +00:00] [ERROR] [BaseDaemon.cpp:563] ["
         0x774d211\tfaultSignalHandler(int, siginfo_t*, void*) [tiflash+125096465]
                  \tlibs/libdaemon/src/BaseDaemon.cpp:214
    0x7ff43d9c5db0\t<unknown symbol> [libc.so.6+347568]
    0x7ff43da13b14\t___pthread_mutex_lock [libc.so.6+666388]
    0x7ff442563f46\tstd::__1::mutex::lock() [libc++.so.1+421702]
         0x75e79db\tDB::LocalAdmissionController::consumeResource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, double, unsigned long) [tiflash+123632091]
                  \tdbms/src/Flash/ResourceControl/LocalAdmissionController.h:534
         0x75eaf15\tDB::DM::ConcatSkippableBlockInputStream<false>::addReadBytes(unsigned long) [tiflash+123645717]
                  \tdbms/src/Storages/DeltaMerge/SkippableBlockInputStream.h:227
         0x75ea686\tDB::DM::ConcatSkippableBlockInputStream<false>::read() [tiflash+123643526]
                  \tdbms/src/Storages/DeltaMerge/SkippableBlockInputStream.h:194
         0x75f06ef\tDB::DM::DeltaMergeBlockInputStream<DB::DM::DeltaValueReader, DB::DM::DTCompactedEntries<55ul, 20ul, 3ul>::Iterator, false, false>::fillStableBlockIfNeeded() [tiflash+123668207]
                  \tdbms/src/Storages/DeltaMerge/DeltaMerge.h:433
         0x75eedd3\tDB::DM::DeltaMergeBlockInputStream<DB::DM::DeltaValueReader, DB::DM::DTCompactedEntries<55ul, 20ul, 3ul>::Iterator, false, false>::read() [tiflash+123661779]
                  \tdbms/src/Storages/DeltaMerge/DeltaMerge.h:208
         0x75eb2c0\tDB::DM::DMRowKeyFilterBlockInputStream<true>::read() [tiflash+123646656]
                  \tdbms/src/Storages/DeltaMerge/RowKeyFilter.h:219
         0x75c7fdb\tDB::DM::readNextBlock(std::__1::shared_ptr<DB::IBlockInputStream> const&) [tiflash+123502555]
                  \tdbms/src/Storages/DeltaMerge/DeltaMergeHelpers.h:260
         0x75c7093\tDB::DM::PKSquashingBlockInputStream<false>::read() [tiflash+123498643]
                  \tdbms/src/Storages/DeltaMerge/PKSquashingBlockInputStream.h:84
         0x75c7fdb\tDB::DM::readNextBlock(std::__1::shared_ptr<DB::IBlockInputStream> const&) [tiflash+123502555]
                  \tdbms/src/Storages/DeltaMerge/DeltaMergeHelpers.h:260
         0x1dc2a75\tDB::DM::DMVersionFilterBlockInputStream<1>::initNextBlock() [tiflash+31206005]
                  \tdbms/src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.h:146
         0x1dc1f4f\tDB::DM::DMVersionFilterBlockInputStream<1>::read(DB::PODArray<unsigned char, 4096ul, Allocator<false>, 15ul, 16ul>*&, bool) [tiflash+31203151]
                  \tdbms/src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.cpp:340
         0x75f6414\tDB::DM::DMVersionFilterBlockInputStream<1>::read() [tiflash+123692052]
                  \tdbms/src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.h:98
         0x759692d\tDB::DM::createNewStable(DB::DM::DMContext&, std::__1::shared_ptr<std::__1::vector<DB::DM::ColumnDefine, std::__1::allocator<DB::DM::ColumnDefine> > > const&, std::__1::shared_ptr<DB::IBlockInputStream> const&, unsigned l
                  \tdbms/src/Storages/DeltaMerge/Segment.cpp:203
         0x75a76bd\tDB::DM::Segment::prepareMergeDelta(DB::DM::DMContext&, std::__1::shared_ptr<std::__1::vector<DB::DM::ColumnDefine, std::__1::allocator<DB::DM::ColumnDefine> > > const&, std::__1::shared_ptr<DB::DM::SegmentSnapshot> const
                  \tdbms/src/Storages/DeltaMerge/Segment.cpp:1174
         0x756821c\tDB::DM::DeltaMergeStore::segmentMergeDelta(DB::DM::DMContext&, std::__1::shared_ptr<DB::DM::Segment> const&, DB::DM::DeltaMergeStore::MergeDeltaReason, std::__1::shared_ptr<DB::DM::SegmentSnapshot>) [tiflash+123109916]
                  \tdbms/src/Storages/DeltaMerge/DeltaMergeStore_InternalSegment.cpp:470
         0x7553030\tDB::DM::DeltaMergeStore::handleBackgroundTask(bool) [tiflash+123023408]
                  \tdbms/src/Storages/DeltaMerge/DeltaMergeStore_InternalBg.cpp:397
         0x801735b\tvoid* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, DB::BackgroundProcessingPool::BackgroundProcessingPool(int, std::__1::
                  \t/usr/local/bin/../include/c++/v1/thread:291
    0x7ff43da10802\tstart_thread [libc.so.6+653314]"] [source=BaseDaemon] [thread_id=936]

3. What did you see instead (Required)

no crash

4. What is your TiFlash version? (Required)

nightly (2025/04/15)

Metadata

Metadata

Assignees

Labels

type/bugThe issue is confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions