From 7b3556e4ad2e921ec16dbb19bb56c35de73f1056 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Fri, 14 Feb 2025 18:53:07 -0600 Subject: [PATCH] ensure we copy current frame to prevent a segfault crash (#16591) --- frigate/object_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/object_processing.py b/frigate/object_processing.py index dfaf894f7..484f4a082 100644 --- a/frigate/object_processing.py +++ b/frigate/object_processing.py @@ -406,7 +406,7 @@ class CameraState: if current_frame is not None: self.current_frame_time = frame_time - self._current_frame = current_frame + self._current_frame = np.copy(current_frame) if self.previous_frame_id is not None: self.frame_manager.close(self.previous_frame_id)