Skip to content

20.8.3.18 DB::RWLockImpl::unlock segfault #15610

@filimonov

Description

@filimonov

Originally posted by @aubweb9 in #11940 (comment)

Hello,

I have kind of the same issue in version 20.8.3.18

2020.09.27 21:07:16.306908 [ 23103 ] {} <Fatal> BaseDaemon: ########################################
2020.09.27 21:07:16.316298 [ 23103 ] {} <Fatal> BaseDaemon: (version 20.8.3.18 (official build), build id: E6AA632BFA7BC9A5) (from thread 10426) (query_id: 25afeec8-49ba-4c38-acfd-9740b30240eb) Received signal Segmentation fault (11)
2020.09.27 21:07:16.317599 [ 23103 ] {} <Fatal> BaseDaemon: Address: NULL pointer. Access: read. Address not mapped to object.
2020.09.27 21:07:16.317693 [ 23103 ] {} <Fatal> BaseDaemon: Stack trace: 0x16f1dece 0x1791e787 0x1791f909 0x181e830e 0x181e859d 0x181ddc6f 0x1763dd33 0x1774b63a 0x1774b6a6 0x1751c465 0x170286bd 0x180dcc3d 0x17f20460 0x17f250ad 0x17f2597$
2020.09.27 21:07:16.318812 [ 23103 ] {} <Fatal> BaseDaemon: 3. std::__1::__hash_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, unsigned l$
2020.09.27 21:07:16.318939 [ 23103 ] {} <Fatal> BaseDaemon: 4. DB::RWLockImpl::unlock(std::__1::__list_iterator<DB::RWLockImpl::Group, void*>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)$
2020.09.27 21:07:16.318976 [ 23103 ] {} <Fatal> BaseDaemon: 5. std::__1::__shared_ptr_emplace<DB::RWLockImpl::LockHolderImpl, std::__1::allocator<DB::RWLockImpl::LockHolderImpl> >::__on_zero_shared() @ 0x1791f909 in /usr/bin/clickhouse
2020.09.27 21:07:16.320705 [ 23103 ] {} <Fatal> BaseDaemon: 6. DB::ReadFromStorageStep::~ReadFromStorageStep() @ 0x181e830e in /usr/bin/clickhouse
2020.09.27 21:07:16.320754 [ 23103 ] {} <Fatal> BaseDaemon: 7. DB::ReadFromStorageStep::~ReadFromStorageStep() @ 0x181e859d in /usr/bin/clickhouse
2020.09.27 21:07:16.320792 [ 23103 ] {} <Fatal> BaseDaemon: 8. DB::QueryPlan::~QueryPlan() @ 0x181ddc6f in /usr/bin/clickhouse
2020.09.27 21:07:16.320848 [ 23103 ] {} <Fatal> BaseDaemon: 9. ? @ 0x1763dd33 in /usr/bin/clickhouse
2020.09.27 21:07:16.320888 [ 23103 ] {} <Fatal> BaseDaemon: 10. ? @ 0x1774b63a in /usr/bin/clickhouse
2020.09.27 21:07:16.320912 [ 23103 ] {} <Fatal> BaseDaemon: 11. ? @ 0x1774b6a6 in /usr/bin/clickhouse
2020.09.27 21:07:16.324712 [ 23103 ] {} <Fatal> BaseDaemon: 12. DB::LazyBlockInputStream::readImpl() @ 0x1751c465 in /usr/bin/clickhouse
2020.09.27 21:07:16.325591 [ 23103 ] {} <Fatal> BaseDaemon: 13. DB::IBlockInputStream::read() @ 0x170286bd in /usr/bin/clickhouse
2020.09.27 21:07:16.325642 [ 23103 ] {} <Fatal> BaseDaemon: 14. DB::CreatingSetsTransform::work() @ 0x180dcc3d in /usr/bin/clickhouse
2020.09.27 21:07:16.325684 [ 23103 ] {} <Fatal> BaseDaemon: 15. ? @ 0x17f20460 in /usr/bin/clickhouse
2020.09.27 21:07:16.325710 [ 23103 ] {} <Fatal> BaseDaemon: 16. ? @ 0x17f250ad in /usr/bin/clickhouse
2020.09.27 21:07:16.325735 [ 23103 ] {} <Fatal> BaseDaemon: 17. ? @ 0x17f25976 in /usr/bin/clickhouse
2020.09.27 21:07:16.325828 [ 23103 ] {} <Fatal> BaseDaemon: 18. ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0xffce517 in /usr/bin/clickhouse
2020.09.27 21:07:16.325854 [ 23103 ] {} <Fatal> BaseDaemon: 19. ? @ 0xffccb53 in /usr/bin/clickhouse
2020.09.27 21:07:16.325946 [ 23103 ] {} <Fatal> BaseDaemon: 20. start_thread @ 0x7fa3 in /usr/lib/x86_64-linux-gnu/libpthread-2.28.so
2020.09.27 21:07:16.326031 [ 23103 ] {} <Fatal> BaseDaemon: 21. clone @ 0xf94cf in /usr/lib/x86_64-linux-gnu/libc-2.28.so

Metadata

Metadata

Labels

bugConfirmed user-visible misbehaviour in official releasecrashCrash / segfault / abortmajor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions