morningman opened a new issue #6119:
URL: https://github.com/apache/incubator-doris/issues/6119


   **Describe the bug**
   ```
   #0  0x00000000019fb29f in doris::SchemaChangeHandler::_validate_alter_result 
(this=<optimized out>, new_tablet=std::shared_ptr<doris::Tablet> (use count 3, 
weak count 1) = {...}, request=...)
       at ../src/olap/schema_change.cpp:2204
   #1  0x0000000001a0fe73 in 
doris::SchemaChangeHandler::_do_process_alter_tablet_v2 (this=<optimized out>, 
request=...) at ../src/olap/schema_change.cpp:1618
   #2  0x0000000001a10862 in 
doris::SchemaChangeHandler::process_alter_tablet_v2 (this=0x3fd3b60 
<doris::SchemaChangeHandler::instance()::instance>, request=...) at 
../src/olap/schema_change.cpp:1389
   #3  0x0000000001a3b56d in doris::EngineAlterTabletTask::execute 
(this=0x7f6dc4119b10) at ../src/olap/task/engine_alter_tablet_task.cpp:40
   #4  0x00000000011e52d9 in doris::StorageEngine::execute_task 
(this=0x619b200, task=0x7f6dc4119b10) at ../src/olap/storage_engine.cpp:991
   #5  0x0000000001846f6a in doris::TaskWorkerPool::_alter_tablet 
(this=0x6333520, agent_task_req=..., signature=427282, 
task_type=doris::TTaskType::ALTER, finish_task_request=0x7f6dc4119c00)
       at ../src/agent/task_worker_pool.cpp:533
   #6  0x00000000018519ca in 
doris::TaskWorkerPool::_alter_tablet_worker_thread_callback (this=0x6333520) at 
../src/agent/task_worker_pool.cpp:490
   #7  0x000000000152de80 in std::function<void ()>::operator()() const 
(this=0x6428f18) at 
/opt/rh/devtoolset-10/root/usr/include/c++/10/bits/std_function.h:622
   #8  doris::FunctionRunnable::run (this=0x6428f10) at 
../src/util/threadpool.cpp:42
   #9  doris::ThreadPool::dispatch_thread (this=0x5caddc0) at 
../src/util/threadpool.cpp:548
   #10 0x0000000001528413 in std::function<void ()>::operator()() const 
(this=0x65d7998) at 
/opt/rh/devtoolset-10/root/usr/include/c++/10/bits/std_function.h:622
   #11 doris::Thread::supervise_thread (arg=0x65d7980) at 
../src/util/thread.cpp:385
   #12 0x000000318b207851 in __nptl_setxid () from /lib64/libpthread.so.0
   #13 0x0000000000000000 in ?? ()
   ```
   
   **To Reproduce**
   Hard to reproduce. The reason may be that the meta lock is not added when 
`get_rowset_by_version()` is called, which leads to some undefined behaviors.


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to