-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Tasks in BackgroundSchedulePool cannot throw: Cannot parse input: expected 'version: 1' before: '\ncreation_csn: 43 #82718
Copy link
Copy link
Closed
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzers
Description
Describe the bug
It's different from #50666 and apparently a recent change
How to reproduce
No response
Error message and/or stacktrace
2025.06.27 12:51:24.960058 [ 27810 ] {} <Test> AzureObjectStorage: Removing single object: jceayannbflqrxznnuyiowzdjjoyxzfg
2025.06.27 12:51:24.961594 [ 6804 ] {BgSchPool::8cd421ed-06a6-47d9-b2a6-80c9ad520cca} <Error> void DB::BackgroundSchedulePoolTaskInfo::execute(BackgroundSchedulePool &): Code: 27. DB::Exception: Cannot parse input: expected 'version: 1' before: '\ncreation_csn: 43': While loading version metadata from table test_jo84u8mu.reader (b0f5ae6b-bf73-45d7-9393-2ac5c79d976f) part all_1_1_0. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below):
0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::Exception::Exception(String const&, int) @ 0x00000000232e1620
1. ./ci/tmp/build/./src/Common/Exception.cpp:115: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000126f5d54
2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000008c78500
3. DB::Exception::Exception<String&>(int, FormatStringHelperImpl<std::type_identity<String&>::type>, String&) @ 0x0000000008c97960
4. ./ci/tmp/build/./src/IO/ReadHelpers.cpp:95: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x00000000128182cc
5. ./ci/tmp/build/./src/IO/ReadHelpers.cpp:131: DB::assertString(char const*, DB::ReadBuffer&) @ 0x0000000012818768
6. ./ci/tmp/build/./src/Interpreters/TransactionVersionMetadata.cpp:343: DB::VersionMetadata::read(DB::ReadBuffer&) @ 0x000000001b13e152
7. ./ci/tmp/build/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:1824: DB::IMergeTreeDataPart::loadVersionMetadata() const @ 0x000000001d6b511f
8. ./ci/tmp/build/./src/Storages/MergeTree/MergeTreeData.cpp:1726: DB::MergeTreeData::loadDataPart(DB::MergeTreePartInfo const&, String const&, std::shared_ptr<DB::IDisk> const&, DB::MergeTreeDataPartState, std::mutex&) @ 0x000000001d7cf4b7
9. ./ci/tmp/build/./src/Storages/MergeTree/MergeTreeData.cpp:1851: DB::MergeTreeData::loadDataPartWithRetries(DB::MergeTreePartInfo const&, String const&, std::shared_ptr<DB::IDisk> const&, DB::MergeTreeDataPartState, std::mutex&, unsigned long, unsigned long, unsigned long) @ 0x000000001d7d5716
10. ./ci/tmp/build/./src/Storages/MergeTree/MergeTreeData.cpp:2314: DB::MergeTreeData::refreshDataParts(unsigned long) @ 0x000000001d7e0b89
11. ./ci/tmp/build/./src/Storages/MergeTree/MergeTreeData.cpp:2253: void std::__function::__policy_invoker<void ()>::__call_impl[abi:ne190107]<std::__function::__default_alloc_func<DB::MergeTreeData::loadDataParts(bool, std::optional<std::unordered_set<String, std::hash<String>, std::equal_to<String>, std::allocator<String>>>)::$_5, void ()>>(std::__function::__policy_storage const*) @ 0x000000001d88f833
12. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000018f9cc89
13. ./ci/tmp/build/./src/Core/BackgroundSchedulePool.cpp:356: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000018fa1eaf
14. ./ci/tmp/build/./src/Core/BackgroundSchedulePool.cpp:219: void std::__function::__policy_invoker<void ()>::__call_impl[abi:ne190107]<std::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000018fa2b6e
15. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000128a0043
16. ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:117: void* std::__thread_proxy[abi:ne190107]<std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, void (ThreadPoolImpl<std::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::thread>::ThreadFromThreadPool*>>(void*) @ 0x00000000128a8d9c
17. __tsan_thread_start_func @ 0x0000000008beb428
18. ? @ 0x0000000000094ac3
19. ? @ 0x0000000000126850
(version 25.7.1.1409 (official build))
2025.06.27 12:51:24.962230 [ 43811 ] {9381613b-760f-4937-a6be-f295c4024b9c} <Trace> WriteBufferFromAzureBlobStorage: Committed single block for blob `tqkmwsmvxwslwwjayrldpjowkbxervez`
2025.06.27 12:51:24.962316 [ 43811 ] {9381613b-760f-4937-a6be-f295c4024b9c} <Test> DiskObjectStorage(azure): Write file: store/b04/b048a11c-59f2-4203-a4fc-56adb2b56da2/tmp_insert_all_1_1_0/default_compression_codec.txt
2025.06.27 12:51:24.961830 [ 6804 ] {BgSchPool::8cd421ed-06a6-47d9-b2a6-80c9ad520cca} <Fatal> : Logical error: 'false && "Tasks in BackgroundSchedulePool cannot throw"'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzers