Skip to content

Segmentation fault (STID: 6336-79b2) #99037

@shankar-iyer

Description

@shankar-iyer

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: Segmentation fault (STID: 6336-79b2)
CI report: BuzzHouse (amd_msan)
Failing test history: cidb

Test output:

Error:
Segmentation fault
---

Stack trace:
./ci/tmp/build/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:671:9: DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() @ 0x000000003c5d0deb
./ci/tmp/build/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:668:1: DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() @ 0x000000003c5d17ce
inlined from ./contrib/llvm-project/libcxx/include/__memory/shared_count.h:92: std::__shared_count::__release_shared[abi:fe210105]()
inlined from ./contrib/llvm-project/libcxx/include/__memory/shared_count.h:121: std::__shared_weak_count::__release_shared[abi:fe210105]()
inlined from ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:561: ~shared_ptr
./src/Disks/IO/ReadBufferFromRemoteFSGather.h:19:7: DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() @ 0x000000003f9d3973
./src/Disks/IO/ReadBufferFromRemoteFSGather.h:19:7: DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() @ 0x000000003f9d3d0e
inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:81: std::default_delete<DB::ReadBufferFromFileBase>::operator()[abi:fe210105](DB::ReadBufferFromFileBase*) const
inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:294: std::unique_ptr<DB::ReadBufferFromFileBase, std::default_delete<DB::ReadBufferFromFileBase>>::reset[abi:fe210105](DB::ReadBufferFromFileBase*)
inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:263: ~unique_ptr
./ci/tmp/build/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:420:5: DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() @ 0x000000003c63ccbd
./ci/tmp/build/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:411:1: DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() @ 0x000000003c63d00e
inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:81: std::default_delete<DB::ReadBuffer>::operator()[abi:fe210105](DB::ReadBuffer*) const
inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:294: std::unique_ptr<DB::ReadBuffer, std::default_delete<DB::ReadBuffer>>::reset[abi:fe210105](DB::ReadBuffer*)
./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:263:5: std::unique_ptr<DB::ReadBuffer, std::default_delete<DB::ReadBuffer>>::~unique_ptr[abi:fe210105]() @ 0x000000002b45102c
./ci/tmp/build/./src/Common/FileChecker.cpp:204:1: DB::FileChecker::load() @ 0x0000000050fc0097
./ci/tmp/build/./src/Common/FileChecker.cpp:39:9: DB::FileChecker::FileChecker(std::shared_ptr<DB::IDisk>, String const&) @ 0x0000000050fbe613
./ci/tmp/build/./src/Storages/StorageStripeLog.cpp:299:7: DB::StorageStripeLog::StorageStripeLog(std::shared_ptr<DB::IDisk>, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, DB::LoadingStrictnessLevel, std::shared_ptr<DB::Context>) @ 0x0000000051991f38
inlined from ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:38: DB::StorageStripeLog* std::construct_at[abi:fe210105]<DB::StorageStripeLog, std::shared_ptr<DB::IDisk>&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, DB::LoadingStrictnessLevel const&, std::shared_ptr<DB::Context>, DB::StorageStripeLog*>(DB::StorageStripeLog*, std::shared_ptr<DB::IDisk>&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, DB::LoadingStrictnessLevel const&, std::shared_ptr<DB::Context>&&)
inlined from ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:46: DB::StorageStripeLog* std::__construct_at[abi:fe210105]<DB::StorageStripeLog, std::shared_ptr<DB::IDisk>&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, DB::LoadingStrictnessLevel const&, std::shared_ptr<DB::Context>, DB::StorageStripeLog*>(DB::StorageStripeLog*, std::shared_ptr<DB::IDisk>&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, DB::LoadingStrictnessLevel const&, std::shared_ptr<DB::Context>&&)
inlined from ./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits<std::allocator<DB::StorageStripeLog>>::construct[abi:fe210105]<DB::StorageStripeLog, std::shared_ptr<DB::IDisk>&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, DB::LoadingStrictnessLevel const&, std::shared_ptr<DB::Context>, 0>(std::allocator<DB::StorageStripeLog>&, DB::StorageStripeLog*, std::shared_ptr<DB::IDisk>&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, DB::LoadingStrictnessLevel const&, std::shared_ptr<DB::Context>&&)
inlined from ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:162: __shared_ptr_emplace<std::shared_ptr<DB::IDisk> &, const std::basic_string<char, std::char_traits<char>, std::allocator<char> > &, const DB::StorageID &, const DB::ColumnsDescription &, const DB::ConstraintsDescription &, const std::basic_string<char, std::char_traits<char>, std::allocator<char> > &, const DB::LoadingStrictnessLevel &, std::shared_ptr<DB::Context>, std::allocator<DB::StorageStripeLog>, 0>
./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:736:49: std::shared_ptr<DB::StorageStripeLog> std::allocate_shared[abi:fe210105]<DB::StorageStripeLog, std::allocator<DB::StorageStripeLog>, std::shared_ptr<DB::IDisk>&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, DB::LoadingStrictnessLevel const&, std::shared_ptr<DB::Context>, 0>(std::allocator<DB::StorageStripeLog> const&, std::shared_ptr<DB::IDisk>&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, DB::LoadingStrictnessLevel const&, std::shared_ptr<DB::Context>&&) @ 0x00000000519b1252
inlined from ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:744: std::shared_ptr<DB::StorageStripeLog> std::make_shared[abi:fe210105]<DB::StorageStripeLog, std::shared_ptr<DB::IDisk>&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, DB::LoadingStrictnessLevel const&, std::shared_ptr<DB::Context>, 0>(std::shared_ptr<DB::IDisk>&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, DB::LoadingStrictnessLevel const&, std::shared_ptr<DB::Context>&&)
inlined from ./ci/tmp/build/./src/Storages/StorageStripeLog.cpp:725: operator()
inlined from ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:87: std::__invoke_result_impl<void, DB::registerStorageStripeLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&>::type std::__invoke[abi:fe210105]<DB::registerStorageStripeLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&>(DB::registerStorageStripeLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&)
inlined from ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:334: std::shared_ptr<DB::IStorage> std::__invoke_void_return_wrapper<std::shared_ptr<DB::IStorage>, false>::__call[abi:fe210105]<DB::registerStorageStripeLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&>(DB::registerStorageStripeLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&)
inlined from ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:348: std::shared_ptr<DB::IStorage> std::__invoke_r[abi:fe210105]<std::shared_ptr<DB::IStorage>, DB::registerStorageStripeLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&>(DB::registerStorageStripeLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&)
./contrib/llvm-project/libcxx/include/__functional/function.h:450:10: ? @ 0x00000000519a3e53
inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:508: ?
inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:772: ?
./ci/tmp/build/./src/Storages/StorageFactory.cpp:228:12: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr<DB::Context>, std::shared_ptr<DB::Context>, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel, bool) const @ 0x0000000050cd4f8f
./ci/tmp/build/./src/Interpreters/InterpreterCreateQuery.cpp:2038:42: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr<DB::DDLGuard, std::default_delete<DB::DDLGuard>>&, DB::LoadingStrictnessLevel) @ 0x00000000436b5ada
./ci/tmp/build/./src/Interpreters/InterpreterCreateQuery.cpp:1780:20: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000004369a2c9
./ci/tmp/build/./src/Interpreters/InterpreterCreateQuery.cpp:2468:12: DB::InterpreterCreateQuery::execute() @ 0x00000000436cb2b5
./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1751:40: DB::executeQueryImpl(char const*, char const*, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum, std::unique_ptr<DB::ReadBuffer, std::default_delete<DB::ReadBuffer>>&, boost::intrusive_ptr<DB::IAST>&, std::shared_ptr<DB::ImplicitTransactionControlExecutor>, std::function<void ()>, DB::QueryResultDetails&) @ 0x000000004455f094
./ci/tmp/build/./src/Interpreters/executeQuery.cpp:2307:19: DB::executeQuery(std::unique_ptr<DB::ReadBuffer, std::default_delete<DB::ReadBuffer>>, DB::WriteBuffer&, std::shared_ptr<DB::Context>, std::function<void (DB::QueryResultDetails const&)>, DB::QueryFlags, std::optional<DB::FormatSettings> const&, std::function<void (DB::IOutputFormat&, String const&, std::shared_ptr<DB::Context const> const&, std::optional<DB::FormatSettings> const&)>, std::function<void ()>, std::function<void ()>) @ 0x000000004457228f
./ci/tmp/build/./src/Interpreters/executeQuery.cpp:2169:5: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, std::shared_ptr<DB::Context>, std::function<void (DB::QueryResultDetails const&)>, DB::QueryFlags, std::optional<DB::FormatSettings> const&, std::function<void (DB::IOutputFormat&, String const&, std::shared_ptr<DB::Context const> const&, std::optional<DB::FormatSettings> const&)>, std::function<void ()>, std::function<void ()>) @ 0x00000000445703b8
./ci/tmp/build/./src/Interpreters/DDLWorker.cpp:556:9: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr<zkutil::ZooKeeper> const&, bool) @ 0x0000000043189ad2
./ci/tmp/build/./src/Interpreters/DDLWorker.cpp:726:30: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr<zkutil::ZooKeeper> const&, bool) @ 0x0000000043182e6f
./ci/tmp/build/./src/Databases/DatabaseReplicatedWorker.cpp:481:5: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr<DB::Context const>, bool) @ 0x000000003f4c5854
./ci/tmp/build/./src/Databases/DatabaseReplicated.cpp:1407:36: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(boost::intrusive_ptr<DB::IAST> const&, std::shared_ptr<DB::Context const>, DB::QueryFlags, std::unique_ptr<DB::DDLGuard, std::default_delete<DB::DDLGuard>>&&) @ 0x000000003f40d52c
./ci/tmp/build/./src/Interpreters/InterpreterCreateQuery.cpp:1561:30: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000004369269f
./ci/tmp/build/./src/Interpreters/InterpreterCreateQuery.cpp:2468:12: DB::InterpreterCreateQuery::execute() @ 0x00000000436cb2b5
./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1751:40: DB::executeQueryImpl(char const*, char const*, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum, std::unique_ptr<DB::ReadBuffer, std::default_delete<DB::ReadBuffer>>&, boost::intrusive_ptr<DB::IAST>&, std::shared_ptr<DB::ImplicitTransactionControlExecutor>, std::function<void ()>, DB::QueryResultDetails&) @ 0x000000004455f094
./ci/tmp/build/./src/Interpreters/executeQuery.cpp:2088:11: DB::executeQuery(String const&, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000004454c349
./ci/tmp/build/./src/Server/TCPHandler.cpp:788:68: DB::TCPHandler::runImpl() @ 0x0000000053f40fe0
./ci/tmp/build/./src/Server/TCPHandler.cpp:2926:9: DB::TCPHandler::run() @ 0x0000000053fb8ec4
./ci/tmp/build/./base/poco/Net/src/TCPServerConnection.cpp:40:3: Poco::Net::TCPServerConnection::start() @ 0x00000000630136a0
./ci/tmp/build/./base/poco/Net/src/TCPServerDispatcher.cpp:115:42: Poco::Net::TCPServerDispatcher::run() @ 0x00000000630146da
./ci/tmp/build/./base/poco/Foundation/src/ThreadPool.cpp:205:14: Poco::PooledThread::run() @ 0x0000000062eb2fda
./base/poco/Foundation/src/Thread_POSIX.cpp:341:27: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000062eac251
start_thread @ 0x0000000000094ac3
__clone3 @ 0x00000000001268d0

Metadata

Metadata

Assignees

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