-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Client crash due to disconnected connection after failed INSERT #83123
Copy link
Copy link
Labels
crashCrash / segfault / abortCrash / segfault / abortfuzzProblem found by one of the fuzzersProblem found by one of the fuzzers
Description
Describe the bug
How to reproduce
I can try to reduce the script, but it's long.
Error message and/or stacktrace
########## Short fault info ############
(version 25.7.1.2048 (official build), build id: D86D4017F95A7BB95E4223C08A9E12A29E691816, git hash: c1e504e1c8bf2e4c5088a25904ad44c23ed964d8, architecture: x86_64) (from thread 2296) Received signal 11
Signal description: Segmentation fault
Address: 0x20. Access: read. Address not mapped to object.
Stack trace: 0x000055618926a422 0x0000556189243e44 0x0000556189241cf3 0x000055618923b0ed 0x00005561800d5963 0x00005561800d5f5e 0x0000556189245e3f 0x0000556189247230 0x000055618924f738 0x00005561800bf022 0x0000556191270e31 0x00005561800ca4a6 0x0000556178f70ea7 0x00007f71d47c0d90 0x00007f71d47c0e40 0x0000556178f6202e
########################################
(version 25.7.1.2048 (official build), build id: D86D4017F95A7BB95E4223C08A9E12A29E691816, git hash: c1e504e1c8bf2e4c5088a25904ad44c23ed964d8) (from thread 2296) (no query) Received signal Segmentation fault (11)
Address: 0x20. Access: read. Address not mapped to object.
Stack trace: 0x000055618926a422 0x0000556189243e44 0x0000556189241cf3 0x000055618923b0ed 0x00005561800d5963 0x00005561800d5f5e 0x0000556189245e3f 0x0000556189247230 0x000055618924f738 0x00005561800bf022 0x0000556191270e31 0x00005561800ca4a6 0x0000556178f70ea7 0x00007f71d47c0d90 0x00007f71d47c0e40 0x0000556178f6202e
3.0. inlined from /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/IO/BufferBase.h:40: DB::BufferBase::Buffer::end() const
3.1. inlined from /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/IO/VarInt.h:93: DB::readVarUInt(unsigned long&, DB::ReadBuffer&)
3. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Client/Connection.cpp:1307: DB::Connection::receivePacket() @ 0x000000001cce8422
4. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Client/ClientBase.cpp:2072: DB::ClientBase::receiveEndOfQuery() @ 0x000000001ccc1e44
5. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Client/ClientBase.cpp:1786: DB::ClientBase::processInsertQuery(String, std::shared_ptr<DB::IAST>) @ 0x000000001ccbfcf3
6. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Client/ClientBase.cpp:2243: DB::ClientBase::processParsedSingleQuery(std::basic_string_view<char, std::char_traits<char>>, std::shared_ptr<DB::IAST>, bool&, unsigned long) @ 0x000000001ccb90ed
7. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/programs/client/FuzzLoop.cpp:107: DB::Client::processASTFuzzerStep(String const&, std::shared_ptr<DB::IAST> const&) @ 0x0000000013b53963
8. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/programs/client/FuzzLoop.cpp:334: DB::Client::processWithASTFuzzer(std::basic_string_view<char, std::char_traits<char>>) @ 0x0000000013b53f5e
9. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Client/ClientBase.cpp:2590: DB::ClientBase::executeMultiQuery(String const&) @ 0x000000001ccc3e3f
10. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Client/ClientBase.cpp:3412: DB::ClientBase::processMultiQueryFromFile(String const&) @ 0x000000001ccc5230
11. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Client/ClientBase.cpp:3429: DB::ClientBase::runNonInteractive() @ 0x000000001cccd738
12. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/programs/client/Client.cpp:403: DB::Client::main(std::vector<String, std::allocator<String>> const&) @ 0x0000000013b3d022
13. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/base/poco/Util/src/Application.cpp:315: Poco::Util::Application::run() @ 0x0000000024ceee31
14. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/programs/client/Client.cpp:1139: mainEntryClickHouseClient(int, char**) @ 0x0000000013b484a6
15. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/programs/main.cpp:340: main @ 0x000000000c9eeea7
16. __libc_start_call_main @ 0x0000000000029d90
17. __libc_start_main_alias_2 @ 0x0000000000029e40
18. _start @ 0x000000000c9e002e
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
crashCrash / segfault / abortCrash / segfault / abortfuzzProblem found by one of the fuzzersProblem found by one of the fuzzers