From 6440710d42d09789235e40709aa9893e34928f86 Mon Sep 17 00:00:00 2001 From: lukemartinlogan Date: Thu, 19 Oct 2023 00:40:09 -0500 Subject: [PATCH] Fix race conditioned segfault in hermes_data_op --- tasks/hermes_data_op/src/hermes_data_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/hermes_data_op/src/hermes_data_op.cc b/tasks/hermes_data_op/src/hermes_data_op.cc index 9aebb1052..279623450 100644 --- a/tasks/hermes_data_op/src/hermes_data_op.cc +++ b/tasks/hermes_data_op/src/hermes_data_op.cc @@ -37,8 +37,8 @@ class Server : public TaskLib { client_.Init(id_); op_id_map_["min"] = 0; op_id_map_["max"] = 1; - run_task_ = client_.AsyncRunOp(task->task_node_ + 1); op_graphs_.resize(HRUN_QM_RUNTIME->max_lanes_); + run_task_ = client_.AsyncRunOp(task->task_node_ + 1); task->SetModuleComplete(); }