Skip to content

Logical error: Sizes of nested column and null map of Nullable column are not equal after deserialization (null map size = A, nested column size = B) (STID: 6726-6444) #114368

Description

@Avogar

Important: This issue was automatically generated and is used by CI for matching failures. DO NOT modify the body content. DO NOT remove labels.

Test name: Logical error: Sizes of nested column and null map of Nullable column are not equal after deserialization (null map size = A, nested column size = B) (STID: 6726-6444)
CI report: Stress test (amd_tsan)
Failing test history: cidb

Test output:

Log files: clickhouse-server.err.log, stderr.log
Error:
Logical error: 'Sizes of nested column and null map of Nullable column are not equal after deserialization (null map size = 1, nested column size = 0)'.
Logical error: 'Sizes of nested column and null map of Nullable column are not equal after deserialization (null map size = 1, nested column size = 0)'.
Logical error: 'Sizes of nested column and null map of Nullable column are not equal after deserialization (null map size = 1, nested column size = 0)'.
---

Stack trace:
__pthread_kill @ 0x00000000000969bd
raise @ 0x0000000000042476
__ieee754_lgamma_r @ 0x00000000000287f3
___interceptor_abort @ 0x000000000d0fbb65
src/Common/Exception.cpp:66:5: DB::abortOnFailedAssertion(String const&, std::basic_string_view<char, std::char_traits<char>>, void* const*, unsigned long, unsigned long) @ 0x0000000018008685
src/Common/Exception.cpp:115:13: DB::Exception::handleErrorCode(String const&, std::basic_string_view<char, std::char_traits<char>>, int, bool, std::vector<void*, std::allocator<void*>> const&) @ 0x000000001800969a
src/Common/Exception.cpp:171:19: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000001800a18b
src/Common/Exception.h:201:100: DB::Exception::Exception(String&&, int, String, bool) @ 0x000000000d1aeeae
src/Common/Exception.h:57:54: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000d1ae5c7
src/Common/Exception.h:219:77: DB::Exception::Exception<unsigned long, unsigned long>(int, FormatStringHelperImpl<std::type_identity<unsigned long>::type, std::type_identity<unsigned long>::type>, unsigned long&&, unsigned long&&) @ 0x0000000015bebc46
src/DataTypes/Serializations/SerializationNullable.cpp:178:15: DB::SerializationNullable::deserializeBinaryBulkWithMultipleStreams(COW<DB::IColumn>::immutable_ptr<DB::IColumn>&, unsigned long, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr<DB::ISerialization::DeserializeBinaryBulkState>&, std::unordered_map<String, std::unique_ptr<DB::ISerialization::ISubstreamsCacheElement, std::default_delete<DB::ISerialization::ISubstreamsCacheElement>>, std::hash<String>, std::equal_to<String>, std::allocator<std::pair<String const, std::unique_ptr<DB::ISerialization::ISubstreamsCacheElement, std::default_delete<DB::ISerialization::ISubstreamsCacheElement>>>>>*) const @ 0x0000000021ef554b
src/Storages/MergeTree/MergeTreeIndexSet.cpp:129:28: DB::MergeTreeIndexGranuleSet::deserializeBinary(DB::ReadBuffer&, unsigned char) @ 0x000000002b28d4b7
src/Storages/MergeTree/MergeTreeIndices.cpp:138:5: DB::IMergeTreeIndexGranule::deserializeBinaryWithMultipleStreams(std::map<DB::MergeTreeIndexSubstream::Type, DB::MergeTreeReaderStream*, std::less<DB::MergeTreeIndexSubstream::Type>, std::allocator<std::pair<DB::MergeTreeIndexSubstream::Type const, DB::MergeTreeReaderStream*>>>&, DB::MergeTreeIndexDeserializationState&) @ 0x000000002b282c58
inlined from src/Storages/MergeTree/MergeTreeIndexReader.cpp:143: operator()<std::shared_ptr<DB::IMergeTreeIndexGranule> >
src/Storages/MergeTree/MergeTreeIndexReader.cpp:167:14: DB::MergeTreeIndexReader::read(unsigned long, DB::IMergeTreeIndexCondition const*, std::shared_ptr<DB::IMergeTreeIndexGranule>&, DB::MarkRanges const*) @ 0x000000002b22a055
src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:2751:28: DB::MergeTreeDataSelectExecutor::filterMarksUsingIndex(std::shared_ptr<DB::IMergeTreeIndex const>, std::shared_ptr<DB::IMergeTreeIndexCondition>, std::optional<DB::KeyCondition> const&, std::shared_ptr<DB::IMergeTreeDataPart const>, DB::MarkRanges const&, DB::RangesInDataPartReadHints const&, DB::MergeTreeReaderSettings const&, DB::MarkCache*, DB::UncompressedCache*, DB::VectorSimilarityIndexCache*, bool, boost::dynamic_bitset<unsigned long, std::allocator<unsigned long>>&, std::shared_ptr<Poco::Logger>) @ 0x000000002b1abc2c
src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1163:70: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(DB::MergeTreeDataSelectExecutor::IndexAnalysisContext&, DB::RangesInDataParts, std::vector<DB::ReadFromMergeTree::IndexStat, std::allocator<DB::ReadFromMergeTree::IndexStat>>&)::$_3::operator()(unsigned long) const @ 0x000000002b1a026c

Metadata

Metadata

Assignees

No one assigned

    Labels

    fuzzProblem found by one of the fuzzerstestingSpecial issue with list of bugs found by CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions