-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Segfault in DB::TableNameHints::getAllRegisteredNames() during drop query #53823
Copy link
Copy link
Closed
Closed
Copy link
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzers
Description
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:10.943070 [ 6966 ] {} <Fatal> BaseDaemon: ########## Short fault info ############
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:10.947281 [ 6966 ] {} <Fatal> BaseDaemon: (version 23.8.1.1, build id: 138A60BF352C05252AACF6DC17AE333FEAF26EEA, git hash: a49ea270c332588d13bee0f3cda6b302fd8a8ef0) (from thread 4367) Received signal 11
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:10.965393 [ 6966 ] {} <Fatal> BaseDaemon: Signal description: Segmentation fault
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:10.965855 [ 6966 ] {} <Fatal> BaseDaemon: Address: 0x70. Access: read. Address not mapped to object.
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:10.968916 [ 6966 ] {} <Fatal> BaseDaemon: Stack trace: 0x00007f1cdab5af74 0x0000556579380be1 0x00005565a1f2cccb 0x000055658e622d7c 0x000055658ae0b017 0x000055658ae0a7ed 0x000055658ae08613 0x000055658b4c2f2c 0x000055658b4d5832 0x000055658cae3445 0x000055658cae1acb 0x000055658cadf862 0x000055658da5c78c 0x000055658da53857 0x00005565907c56f4 0x00005565908004b0 0x000055659959edef 0x000055659959fbb7 0x0000556599a7fd5c 0x0000556599a78e08 0x00007f1cdab57b43 0x00007f1cdabe9a00
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:10.970256 [ 6966 ] {} <Fatal> BaseDaemon: ########################################
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:10.971781 [ 6966 ] {} <Fatal> BaseDaemon: (version 23.8.1.1, build id: 138A60BF352C05252AACF6DC17AE333FEAF26EEA, git hash: a49ea270c332588d13bee0f3cda6b302fd8a8ef0) (from thread 4367) (query_id: f3d57264-f2b4-4702-b2dd-537ea7c9204b) (query:
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:10.974328 [ 6966 ] {} <Fatal> BaseDaemon: Address: 0x70. Access: read. Address not mapped to object.
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:10.980642 [ 6966 ] {} <Fatal> BaseDaemon: Stack trace: 0x00007f1cdab5af74 0x0000556579380be1 0x00005565a1f2cccb 0x000055658e622d7c 0x000055658ae0b017 0x000055658ae0a7ed 0x000055658ae08613 0x000055658b4c2f2c 0x000055658b4d5832 0x000055658cae3445 0x000055658cae1acb 0x000055658cadf862 0x000055658da5c78c 0x000055658da53857 0x00005565907c56f4 0x00005565908004b0 0x000055659959edef 0x000055659959fbb7 0x0000556599a7fd5c 0x0000556599a78e08 0x00007f1cdab57b43 0x00007f1cdabe9a00
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:10.993698 [ 6966 ] {} <Fatal> BaseDaemon: 3. ? @ 0x00007f1cdab5af74 in ?
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:11.235598 [ 6966 ] {} <Fatal> BaseDaemon: 4. ./build_docker/./src/Common/ThreadFuzzer.cpp:0: pthread_mutex_lock @ 0x000000001d5f0be1 in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:11.269788 [ 6966 ] {} <Fatal> BaseDaemon: 5. ./build_docker/./contrib/llvm-project/libcxx/src/mutex.cpp:39: std::mutex::lock() @ 0x000000004619cccb in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:11.982908 [ 6966 ] {} <Fatal> BaseDaemon: 6. ./build_docker/./src/Storages/IStorage.cpp:222: DB::IStorage::getStorageID() const @ 0x0000000032892d7c in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:12.131199 [ 6966 ] {} <Fatal> BaseDaemon: 7. ./build_docker/./src/Interpreters/DatabaseCatalog.h:49: DB::TableNameHints::getAllRegisteredNames() const @ 0x000000002f07b017 in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:12.177124 [ 6966 ] {} <Fatal> BaseDaemon: 8. ./build_docker/./src/Common/NamePrompter.h:106: DB::IHints<1ul, DB::TableNameHints>::getHints(String const&) const @ 0x000000002f07a7ed in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:12.247870 [ 6966 ] {} <Fatal> BaseDaemon: 9.1. inlined from ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: std::vector<String, std::allocator<String>>::empty[abi:v15000]() const
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:12.248640 [ 6966 ] {} <Fatal> BaseDaemon: 9. ./build_docker/./src/Databases/IDatabase.cpp:26: DB::IDatabase::getTable(String const&, std::shared_ptr<DB::Context const>) const @ 0x000000002f078613 in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:13.208295 [ 6966 ] {} <Fatal> BaseDaemon: 10. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr<DB::Context const>, std::optional<DB::Exception>*) const @ 0x000000002f732f2c in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:14.084447 [ 6966 ] {} <Fatal> BaseDaemon: 11. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr<DB::Context const>) const @ 0x000000002f745832 in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:14.269776 [ 6966 ] {} <Fatal> BaseDaemon: 12. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr<DB::Context const>, DB::ASTDropQuery&, std::shared_ptr<DB::IDatabase>&, StrongTypedef<wide::integer<128ul, unsigned int>, DB::UUIDTag>&) @ 0x0000000030d53445 in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:14.446117 [ 6966 ] {} <Fatal> BaseDaemon: 13. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000030d51acb in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:14.610958 [ 6966 ] {} <Fatal> BaseDaemon: 14. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000030d4f862 in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:15.402107 [ 6966 ] {} <Fatal> BaseDaemon: 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000031ccc78c in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:16.485021 [ 6966 ] {} <Fatal> BaseDaemon: 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1229: DB::executeQuery(String const&, std::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum) @ 0x0000000031cc3857 in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:17.390147 [ 6966 ] {} <Fatal> BaseDaemon: 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x0000000034a356f4 in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:18.869904 [ 6966 ] {} <Fatal> BaseDaemon: 18. ./build_docker/./src/Server/TCPHandler.cpp:2058: DB::TCPHandler::run() @ 0x0000000034a704b0 in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:18.879975 [ 6966 ] {} <Fatal> BaseDaemon: 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000003d80edef in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:18.898599 [ 6966 ] {} <Fatal> BaseDaemon: 20.1. inlined from ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: std::default_delete<Poco::Net::TCPServerConnection>::operator()[abi:v15000](Poco::Net::TCPServerConnection*) const
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:18.900740 [ 6966 ] {} <Fatal> BaseDaemon: 20.2. inlined from ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305: std::unique_ptr<Poco::Net::TCPServerConnection, std::default_delete<Poco::Net::TCPServerConnection>>::reset[abi:v15000](Poco::Net::TCPServerConnection*)
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:18.911400 [ 6966 ] {} <Fatal> BaseDaemon: 20.3. inlined from ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259: ~unique_ptr
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:18.911761 [ 6966 ] {} <Fatal> BaseDaemon: 20. ./build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:116: Poco::Net::TCPServerDispatcher::run() @ 0x000000003d80fbb7 in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:18.932869 [ 6966 ] {} <Fatal> BaseDaemon: 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000003dcefd5c in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:18.958166 [ 6966 ] {} <Fatal> BaseDaemon: 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:0: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000003dce8e08 in /usr/bin/clickhouse
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:18.967763 [ 6966 ] {} <Fatal> BaseDaemon: 23. ? @ 0x00007f1cdab57b43 in ?
/var/log/clickhouse-server/clickhouse-server.stress.log:2023.08.24 20:47:18.968463 [ 6966 ] {} <Fatal> BaseDaemon: 24. ? @ 0x00007f1cdabe9a00 in ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzers