From 1e70af7a9d124f5c401a3850bc5719c4e0ab413f Mon Sep 17 00:00:00 2001 From: Huamonarch Date: Tue, 12 May 2026 16:17:09 +0800 Subject: [PATCH] Remove rm -rf of shared memory file from EqpAlgICEI destructor The workaround was needed because bipc::string items in shared memory would segfault on restart when tag names exceeded SSO length. Now that display data (items, etc.) lives in local-memory DisplayCache and only cold doubles remain in shared memory, the dangling-allocator bug no longer exists. Deleting the file also broke mon-cron IPC across restarts. --- eqpalg/eqpalg_icei.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/eqpalg/eqpalg_icei.cpp b/eqpalg/eqpalg_icei.cpp index 7e773cd..e883fc0 100644 --- a/eqpalg/eqpalg_icei.cpp +++ b/eqpalg/eqpalg_icei.cpp @@ -91,8 +91,6 @@ EqpAlgICEI::~EqpAlgICEI() { if (glob_process_type == ProcessType::kMon) { if (mem_cached_thread_->joinable()) { mem_cached_thread_->join(); - string ss0 = "rm -rf /users/dsc/shm/MapRuleStat_boost.mmap"; - system(ss0.c_str()); } } if (glob_process_type == ProcessType::kTask) {