Skip to content

Fix error Task was not found in task queue#18964

Merged
alesapin merged 6 commits intomasterfrom
more-info-for-polling-queue-exception
Jan 13, 2021
Merged

Fix error Task was not found in task queue#18964
alesapin merged 6 commits intomasterfrom
more-info-for-polling-queue-exception

Conversation

@KochetovNicolai
Copy link
Copy Markdown
Member

@KochetovNicolai KochetovNicolai commented Jan 12, 2021

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix error Task was not found in task queue (possible only for remote queries, with async_socket_for_remote = 1).

@robot-clickhouse robot-clickhouse added the pr-not-for-changelog This PR should not be mentioned in the changelog label Jan 12, 2021
@KochetovNicolai
Copy link
Copy Markdown
Member Author

Other crash in stress test (debug)

2021.01.12 19:34:48.546600 [ 158 ] {} <Trace> BaseDaemon: Received signal 15
2021.01.12 19:35:00.815803 [ 158 ] {} <Trace> BaseDaemon: Received signal -2
2021.01.12 19:35:00.815880 [ 158 ] {} <Information> BaseDaemon: Stop SignalListener thread
2021.01.12 20:24:11.498616 [ 321 ] {} <Trace> BaseDaemon: Received signal 11
2021.01.12 20:24:11.517812 [ 172540 ] {} <Fatal> BaseDaemon: ########################################
2021.01.12 20:24:11.526925 [ 172540 ] {} <Fatal> BaseDaemon: (version 21.1.1.5660, build id: 5740EA2FE078FD97E537956D5A9BAB31D4C22526) (from thread 167737) (query_id: 02792a96-d9fb-47f1-9b34-25205bfc3b51) Received signal Segmentation fault (11)
2021.01.12 20:24:11.556213 [ 172540 ] {} <Fatal> BaseDaemon: Address: 0x7f74d011ef98 Access: write. Attempted access has violated the permissions assigned to the memory area.
2021.01.12 20:24:11.559462 [ 172540 ] {} <Fatal> BaseDaemon: Stack trace: 0x1e19b368 0x1e19b2a5 0x1073c51e 0x1078c729 0x1078befe 0x10775ae3 0x107758d7 0x7f7568f013c0 0x1e19b368 0x1e19b2a5 0x1072a7ee 0x1072b4d8 0x1076b12c 0x1095bdaf 0x1095bd71 0x1095bc53 0x19b9708e 0x19b97040 0x19b96ff0 0x19b96f74 0x19b96e72 0x19b96b01 0x1d9cd732 0x1d9e8fc5 0x1d9e8f4d 0x1d9e8ef7 0x1d9cd927 0x1d9e8fc5
2021.01.12 20:24:11.667748 [ 172540 ] {} <Fatal> BaseDaemon: 4. ./obj-x86_64-linux-gnu/../contrib/FastMemcpy/FastMemcpy.h:96: memcpy_fast @ 0x1e19b368 in /usr/bin/clickhouse
2021.01.12 20:24:11.759035 [ 172540 ] {} <Fatal> BaseDaemon: 5. ./obj-x86_64-linux-gnu/../contrib/FastMemcpy/memcpy_wrapper.c:5: memcpy @ 0x1e19b2a5 in /usr/bin/clickhouse
2021.01.12 20:24:11.759852 [ 172540 ] {} <Fatal> BaseDaemon: 6. ./obj-x86_64-linux-gnu/../src/IO/WriteBuffer.h:81: DB::WriteBuffer::write(char const*, unsigned long) @ 0x1073c51e in /usr/bin/clickhouse
2021.01.12 20:24:11.760688 [ 172540 ] {} <Fatal> BaseDaemon: 7. ./obj-x86_64-linux-gnu/../src/IO/WriteHelpers.h:112: DB::writeStringBinary(StringRef const&, DB::WriteBuffer&) @ 0x1078c729 in /usr/bin/clickhouse
2021.01.12 20:24:11.768128 [ 172540 ] {} <Fatal> BaseDaemon: 8. ./obj-x86_64-linux-gnu/../src/Common/TraceCollector.cpp:86: DB::TraceCollector::collect(DB::TraceType, StackTrace const&, long) @ 0x1078befe in /usr/bin/clickhouse
2021.01.12 20:24:11.772225 [ 172540 ] {} <Fatal> BaseDaemon: 9. ./obj-x86_64-linux-gnu/../src/Common/QueryProfiler.cpp:64: DB::(anonymous namespace)::writeTraceInfo(DB::TraceType, int, siginfo_t*, void*) @ 0x10775ae3 in /usr/bin/clickhouse
2021.01.12 20:24:11.772876 [ 172540 ] {} <Fatal> BaseDaemon: 10. ./obj-x86_64-linux-gnu/../src/Common/QueryProfiler.cpp:185: DB::QueryProfilerReal::signalHandler(int, siginfo_t*, void*) @ 0x107758d7 in /usr/bin/clickhouse
2021.01.12 20:24:11.773173 [ 172540 ] {} <Fatal> BaseDaemon: 11. ? @ 0x153c0 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
2021.01.12 20:24:11.875013 [ 172540 ] {} <Fatal> BaseDaemon: 12. ./obj-x86_64-linux-gnu/../contrib/FastMemcpy/FastMemcpy.h:96: memcpy_fast @ 0x1e19b368 in /usr/bin/clickhouse
2021.01.12 20:24:11.962787 [ 172540 ] {} <Fatal> BaseDaemon: 13. ./obj-x86_64-linux-gnu/../contrib/FastMemcpy/memcpy_wrapper.c:5: memcpy @ 0x1e19b2a5 in /usr/bin/clickhouse
2021.01.12 20:24:11.963592 [ 172540 ] {} <Fatal> BaseDaemon: 14. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/__string:388: std::__1::char_traits<char>::copy(char*, char const*, unsigned long) @ 0x1072a7ee in /usr/bin/clickhouse
2021.01.12 20:24:11.964375 [ 172540 ] {} <Fatal> BaseDaemon: 15. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/string:1859: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long) @ 0x1072b4d8 in /usr/bin/clickhouse
2021.01.12 20:24:11.975689 [ 172540 ] {} <Fatal> BaseDaemon: 16. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/string:1884: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string(char const*, unsigned long) @ 0x1076b12c in /usr/bin/clickhouse
2021.01.12 20:24:11.978709 [ 172540 ] {} <Fatal> BaseDaemon: 17. ./obj-x86_64-linux-gnu/../src/Core/Field.h:686: std::__1::enable_if<(sizeof (char)) == (1), void>::type DB::Field::create<char>(char const*, unsigned long) @ 0x1095bdaf in /usr/bin/clickhouse
2021.01.12 20:24:11.981221 [ 172540 ] {} <Fatal> BaseDaemon: 18. ./obj-x86_64-linux-gnu/../src/Core/Field.h:334: DB::Field::Field(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&) @ 0x1095bd71 in /usr/bin/clickhouse
2021.01.12 20:24:11.983171 [ 172540 ] {} <Fatal> BaseDaemon: 19. ./obj-x86_64-linux-gnu/../src/Core/Field.h:335: DB::Field::Field(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) @ 0x1095bc53 in /usr/bin/clickhouse
2021.01.12 20:24:12.039143 [ 172540 ] {} <Fatal> BaseDaemon: 20. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:886: void std::__1::allocator<DB::ASTLiteral>::construct<DB::ASTLiteral, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&>(DB::ASTLiteral*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) @ 0x19b9708e in /usr/bin/clickhouse
2021.01.12 20:24:12.103120 [ 172540 ] {} <Fatal> BaseDaemon: 21. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/__memory/allocator_traits.h:521: void std::__1::allocator_traits<std::__1::allocator<DB::ASTLiteral> >::__construct<DB::ASTLiteral, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&>(std::__1::integral_constant<bool, true>, std::__1::allocator<DB::ASTLiteral>&, DB::ASTLiteral*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) @ 0x19b97040 in /usr/bin/clickhouse
2021.01.12 20:24:12.153943 [ 172540 ] {} <Fatal> BaseDaemon: 22. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/__memory/allocator_traits.h:482: void std::__1::allocator_traits<std::__1::allocator<DB::ASTLiteral> >::construct<DB::ASTLiteral, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&>(std::__1::allocator<DB::ASTLiteral>&, DB::ASTLiteral*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) @ 0x19b96ff0 in /usr/bin/clickhouse
2021.01.12 20:24:12.202940 [ 172540 ] {} <Fatal> BaseDaemon: 23. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:2594: std::__1::__shared_ptr_emplace<DB::ASTLiteral, std::__1::allocator<DB::ASTLiteral> >::__shared_ptr_emplace<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&>(std::__1::allocator<DB::ASTLiteral>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) @ 0x19b96f74 in /usr/bin/clickhouse
2021.01.12 20:24:12.272485 [ 172540 ] {} <Fatal> BaseDaemon: 24. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:3360: std::__1::shared_ptr<DB::ASTLiteral> std::__1::allocate_shared<DB::ASTLiteral, std::__1::allocator<DB::ASTLiteral>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, void>(std::__1::allocator<DB::ASTLiteral> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) @ 0x19b96e72 in /usr/bin/clickhouse
2021.01.12 20:24:12.342343 [ 172540 ] {} <Fatal> BaseDaemon: 25. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:3369: std::__1::shared_ptr<DB::ASTLiteral> std::__1::make_shared<DB::ASTLiteral, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, void>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) @ 0x19b96b01 in /usr/bin/clickhouse
2021.01.12 20:24:12.418718 [ 172540 ] {} <Fatal> BaseDaemon: 26. ./obj-x86_64-linux-gnu/../src/Parsers/ExpressionElementParsers.cpp:1181: DB::ParserStringLiteral::parseImpl(DB::IParser::Pos&, std::__1::shared_ptr<DB::IAST>&, DB::Expected&) @ 0x1d9cd732 in /usr/bin/clickhouse
2021.01.12 20:24:12.486802 [ 172540 ] {} <Fatal> BaseDaemon: 27. ./obj-x86_64-linux-gnu/../src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::__1::shared_ptr<DB::IAST>&, DB::Expected&)::$_0::operator()() const @ 0x1d9e8fc5 in /usr/bin/clickhouse
2021.01.12 20:24:12.579221 [ 172540 ] {} <Fatal> BaseDaemon: 28. ./obj-x86_64-linux-gnu/../src/Parsers/IParserBase.h:31: bool DB::IParserBase::wrapParseImpl<DB::IParserBase::parse(DB::IParser::Pos&, std::__1::shared_ptr<DB::IAST>&, DB::Expected&)::$_0>(DB::IParser::Pos&, DB::IParserBase::IncreaseDepthTag, DB::IParserBase::parse(DB::IParser::Pos&, std::__1::shared_ptr<DB::IAST>&, DB::Expected&)::$_0 const&) @ 0x1d9e8f4d in /usr/bin/clickhouse
2021.01.12 20:24:12.645201 [ 172540 ] {} <Fatal> BaseDaemon: 29. ./obj-x86_64-linux-gnu/../src/Parsers/IParserBase.cpp:11: DB::IParserBase::parse(DB::IParser::Pos&, std::__1::shared_ptr<DB::IAST>&, DB::Expected&) @ 0x1d9e8ef7 in /usr/bin/clickhouse
2021.01.12 20:24:12.712984 [ 172540 ] {} <Fatal> BaseDaemon: 30. ./obj-x86_64-linux-gnu/../src/Parsers/ExpressionElementParsers.cpp:1261: DB::ParserLiteral::parseImpl(DB::IParser::Pos&, std::__1::shared_ptr<DB::IAST>&, DB::Expected&) @ 0x1d9cd927 in /usr/bin/clickhouse
2021.01.12 20:24:12.783528 [ 172540 ] {} <Fatal> BaseDaemon: 31. ./obj-x86_64-linux-gnu/../src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::__1::shared_ptr<DB::IAST>&, DB::Expected&)::$_0::operator()() const @ 0x1d9e8fc5 in /usr/bin/clickhouse
2021.01.12 20:24:13.918504 [ 172540 ] {} <Fatal> BaseDaemon: Calculated checksum of the binary: E957B605A08637324A2F5459D7AC1889. There is no information about the reference checksum.

@robot-clickhouse robot-clickhouse added pr-bugfix Pull request with bugfix, not backported by default and removed pr-not-for-changelog This PR should not be mentioned in the changelog labels Jan 12, 2021
@KochetovNicolai KochetovNicolai marked this pull request as ready for review January 12, 2021 18:44
@KochetovNicolai KochetovNicolai changed the title Print log in case of exception in PollingQueue Fix error Task was not found in task queue Jan 12, 2021
@alesapin alesapin self-assigned this Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants