Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Compaction Rowset::end_version null pointer #9371

Closed
3 tasks done
xinyiZzz opened this issue May 5, 2022 · 0 comments · Fixed by #9379
Closed
3 tasks done

[Bug] Compaction Rowset::end_version null pointer #9371

xinyiZzz opened this issue May 5, 2022 · 0 comments · Fixed by #9379

Comments

@xinyiZzz
Copy link
Contributor

xinyiZzz commented May 5, 2022

Search before asking

  • I had searched in the issues and found no similar issues.

Version

trunk

What's Wrong?

image

#0 0x0000561edfab5b14 in std::__shared_ptr<doris::RowsetMeta, (__gnu_cxx::_Lock_policy)2>::get (this=0x88)
at /var/local/ldb-toolchain/include/c++/11/bits/shared_ptr_base.h:1291
#1 0x0000561edfab15c2 in std::__shared_ptr_access<doris::RowsetMeta, (__gnu_cxx::_Lock_policy)2, false, false>::_M_get (this=0x88)
at /var/local/ldb-toolchain/include/c++/11/bits/shared_ptr_base.h:990
#2 0x0000561edfaadcd4 in std::__shared_ptr_access<doris::RowsetMeta, (__gnu_cxx::_Lock_policy)2, false, false>::operator-> (this=0x88)
at /var/local/ldb-toolchain/include/c++/11/bits/shared_ptr_base.h:984
#3 0x0000561edfaab5a4 in doris::Rowset::end_version (this=0x0) at /root/doris-release/be/src/olap/rowset/rowset.h:142
#4 0x0000561edfbb66cb in doris::Compaction::do_compaction_impl (this=0x561f52eeabb0, permits=5) at /root/doris-release/be/src/olap/compaction.cpp:141
#5 0x0000561edfbb55e0 in doris::Compaction::do_compaction (this=0x561f52eeabb0, permits=5) at /root/doris-release/be/src/olap/compaction.cpp:56
#6 0x0000561edfbbe116 in doris::CumulativeCompaction::execute_compact_impl (this=0x561f52eeabb0) at /root/doris-release/be/src/olap/cumulative_compaction.cpp:75
#7 0x0000561edfbb5475 in doris::Compaction::execute_compact (this=0x561f52eeabb0) at /root/doris-release/be/src/olap/compaction.cpp:45
#8 0x0000561edfae5ed4 in doris::Tablet::execute_compaction (this=0x561f060c9410, compaction_type=doris::CUMULATIVE_COMPACTION)
at /root/doris-release/be/src/olap/tablet.cpp:1406
#9 0x0000561edfa82381 in operator() (__closure=0x561f4892d9b0) at /root/doris-release/be/src/olap/olap_server.cpp:570
#10 0x0000561edfa85728 in std::__invoke_impl<void, doris::StorageEngine::_submit_compaction_task(doris::TabletSharedPtr, doris::CompactionType)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /var/local/ldb-toolchain/include/c++/11/bits/invoke.h:61
#11 0x0000561edfa84aca in std::__invoke_r<void, doris::StorageEngine::_submit_compaction_task(doris::TabletSharedPtr, doris::CompactionType)::<lambda()>&>(struct {...} &) (
__fn=...) at /var/local/ldb-toolchain/include/c++/11/bits/invoke.h:111
#12 0x0000561edfa840b3 in std::_Function_handler<void(), doris::StorageEngine::_submit_compaction_task(doris::TabletSharedPtr, doris::CompactionType)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /var/local/ldb-toolchain/include/c++/11/bits/std_function.h:291
#13 0x0000561edfeb640c in std::function<void ()>::operator()() const (this=0x561f4e1a72d8) at /var/local/ldb-toolchain/include/c++/11/bits/std_function.h:560
#14 0x0000561ee01aafe8 in doris::FunctionRunnable::run (this=0x561f4e1a72d0) at /root/doris-release/be/src/util/threadpool.cpp:45

What You Expected?

win

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant