zhannngchen opened a new pull request, #21751:
URL: https://github.com/apache/doris/pull/21751
## Proposed changes
Issue Number: close #xxx
Fix core
```
(gdb) bt
#0 0x0000556ab7d8a099 in std::__shared_ptr<doris::RowsetMeta,
(__gnu_cxx::_Lock_policy)2>::get (this=0x68)
at
/mnt/disk2/zhangchen/env/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1291
#1 std::__shared_ptr_access<doris::RowsetMeta, (__gnu_cxx::_Lock_policy)2,
false, false>::_M_get (this=0x68)
at
/mnt/disk2/zhangchen/env/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:990
#2 std::__shared_ptr_access<doris::RowsetMeta, (__gnu_cxx::_Lock_policy)2,
false, false>::operator-> (this=0x68)
at
/mnt/disk2/zhangchen/env/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:984
#3 doris::Rowset::merge_rowset_meta (this=0x7f31ec3a3de0, other=<error
reading variable: Cannot access memory at address 0x70>) at
/mnt/disk2/zhangchen/doris-dev/be/src/olap/rowset/rowset.cpp:85
#4 0x0000556ab803f2bd in doris::TxnManager::publish_txn
(this=0x7f32fa9f7b40, meta=0x7f32fd871a60, partition_id=14635,
transaction_id=55775, tablet_id=14664, schema_hash=650230612, tablet_uid=...,
version=...,
stats=0x7f32fbe54738) at
/mnt/disk2/zhangchen/doris-dev/be/src/olap/txn_manager.cpp:390
#5 0x0000556ab803e284 in doris::TxnManager::publish_txn (this=0x68,
partition_id=1, tablet=..., transaction_id=0, version=...,
stats=0x7f32fbe54738) at
/mnt/disk2/zhangchen/doris-dev/be/src/olap/txn_manager.cpp:174
#6 0x0000556ab802be93 in doris::TabletPublishTxnTask::handle
(this=0x7f32fbe546d0) at
/mnt/disk2/zhangchen/doris-dev/be/src/olap/task/engine_publish_version_task.cpp:262
#7 0x0000556ab82a957f in doris::ThreadPool::dispatch_thread
(this=0x7f32f98b8400) at
/mnt/disk2/zhangchen/doris-dev/be/src/util/threadpool.cpp:531
#8 0x0000556ab82a06cc in std::function<void ()>::operator()() const
(this=0x7f31ec3a3de0)
at
/mnt/disk2/zhangchen/env/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:560
#9 doris::Thread::supervise_thread (arg=0x7f330d24e600) at
/mnt/disk2/zhangchen/doris-dev/be/src/util/thread.cpp:465
#10 0x00007f332753eea5 in __pthread_mutex_unlock_full (mutex=0x7f31ec3a3de0,
decr=104) at pthread_mutex_unlock.c:101
#11 0x0000000000000000 in ?? ()
```
segcompaction failure caused the rowset build failed, then we got an
nullptr, which caused the program coredump
## Further comments
If this is a relatively large or complex change, kick off the discussion at
[[email protected]](mailto:[email protected]) by explaining why you
chose the solution you did and what alternatives you considered, etc...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]