This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 2785202816 [Bug](regression-test) be coredump in pipeline when grace 
exit in regression test (#18131)
2785202816 is described below

commit 2785202816b97a86507f6685b905899d8c3ed56e
Author: HappenLee <[email protected]>
AuthorDate: Mon Mar 27 18:36:27 2023 +0800

    [Bug](regression-test) be coredump in pipeline when grace exit in 
regression test (#18131)
---
 be/src/pipeline/task_queue.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/pipeline/task_queue.cpp b/be/src/pipeline/task_queue.cpp
index ff0b3c59ed..6a05ee0945 100644
--- a/be/src/pipeline/task_queue.cpp
+++ b/be/src/pipeline/task_queue.cpp
@@ -139,7 +139,7 @@ void TaskQueue::close() {
 }
 
 PipelineTask* TaskQueue::try_take(size_t core_id) {
-    PipelineTask* task;
+    PipelineTask* task = nullptr;
     while (!_closed) {
         task = _async_queue[core_id].try_take(false);
         if (task) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to