Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TiFlash crash when it's stopping #8550

Closed
guo-shaoge opened this issue Dec 19, 2023 · 1 comment · Fixed by #8637
Closed

TiFlash crash when it's stopping #8550

guo-shaoge opened this issue Dec 19, 2023 · 1 comment · Fixed by #8637
Assignees
Labels
component/compute severity/major type/bug The issue is confirmed as a bug.

Comments

@guo-shaoge
Copy link
Contributor

guo-shaoge commented Dec 19, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

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

  [2023/12/15 10:13:05.167 +08:00] [ERROR] [BaseDaemon.cpp:560] ["
         0x77ac321\tfaultSignalHandler(int, siginfo_t*, void*) [tiflash+125485857]
                  \tlibs/libdaemon/src/BaseDaemon.cpp:211
    0x7eff26b02db0\t<unknown symbol> [libc.so.6+347568]
         0x76120b4\tDB::LocalAdmissionController::consumeResource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, double, unsigned long) [tiflash+123805876]
                  \tdbms/src/Flash/ResourceControl/LocalAdmissionController.h:606
         0x76155e5\tDB::DM::ConcatSkippableBlockInputStream<false>::addReadBytes(unsigned long) [tiflash+123819493]
                  \tdbms/src/Storages/DeltaMerge/SkippableBlockInputStream.h:226
         0x7614d56\tDB::DM::ConcatSkippableBlockInputStream<false>::read() [tiflash+123817302]
                  \tdbms/src/Storages/DeltaMerge/SkippableBlockInputStream.h:193
         0x761ad4f\tDB::DM::DeltaMergeBlockInputStream<DB::DM::DeltaValueReader, DB::DM::DTCompactedEntries<55ul, 20ul, 3ul>::Iterator, false, false>::fillStableBlockIfNeeded() [tiflash+123841871]
                  \tdbms/src/Storages/DeltaMerge/DeltaMerge.h:433
         0x7619493\tDB::DM::DeltaMergeBlockInputStream<DB::DM::DeltaValueReader, DB::DM::DTCompactedEntries<55ul, 20ul, 3ul>::Iterator, false, false>::read() [tiflash+123835539]
                  \tdbms/src/Storages/DeltaMerge/DeltaMerge.h:208
         0x7615990\tDB::DM::DMRowKeyFilterBlockInputStream<true>::read() [tiflash+123820432]
                  \tdbms/src/Storages/DeltaMerge/RowKeyFilter.h:219
         0x75f296b\tDB::DM::readNextBlock(std::__1::shared_ptr<DB::IBlockInputStream> const&) [tiflash+123677035]
                  \tdbms/src/Storages/DeltaMerge/DeltaMergeHelpers.h:258
         0x75f1a23\tDB::DM::PKSquashingBlockInputStream<false>::read() [tiflash+123673123]
                  \tdbms/src/Storages/DeltaMerge/PKSquashingBlockInputStream.h:84
         0x75f296b\tDB::DM::readNextBlock(std::__1::shared_ptr<DB::IBlockInputStream> const&) [tiflash+123677035]
                  \tdbms/src/Storages/DeltaMerge/DeltaMergeHelpers.h:258
         0x1ddc2b5\tDB::DM::DMVersionFilterBlockInputStream<1>::initNextBlock() [tiflash+31310517]
                  \tdbms/src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.h:143
         0x1ddb7cf\tDB::DM::DMVersionFilterBlockInputStream<1>::read(DB::PODArray<unsigned char, 4096ul, Allocator<false>, 15ul, 16ul>*&, bool) [tiflash+31307727]
                  \tdbms/src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.cpp:334
         0x7620c44\tDB::DM::DMVersionFilterBlockInputStream<1>::read() [tiflash+123866180]
                  \tdbms/src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.h:95
         0x75c171d\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 long, DB::DM::WriteBatches&) [tiflash+123475741]
                  \tdbms/src/Storages/DeltaMerge/Segment.cpp:202
         0x75d3ae6\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&, DB::DM::WriteBatches&) const [tiflash+123550438]
                  \tdbms/src/Storages/DeltaMerge/Segment.cpp:1200
         0x759a9f5\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+123316725]                  \tdbms/src/Storages/DeltaMerge/DeltaMergeStore_InternalSegment.cpp:470
         0x7585264\tDB::DM::DeltaMergeStore::handleBackgroundTask(bool) [tiflash+123228772]
                  \tdbms/src/Storages/DeltaMerge/DeltaMergeStore_InternalBg.cpp:397
         0x80ab23b\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::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)::$_1> >(void*) [tiflash+134918715]
                  \t/usr/local/bin/../include/c++/v1/thread:291
    0x7eff26b4d802\tstart_thread [libc.so.6+653314]"] [source=BaseDaemon] [thread_id=2073]

3. What did you see instead (Required)

4. What is your TiFlash version? (Required)

master, v7.5.0

@guo-shaoge
Copy link
Contributor Author

LAC should be valid until storage components stopped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/compute severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants