From c5491f229ac73d419255e2a7a324aefce05bbf48 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Mon, 12 Jan 2026 05:47:02 +0000 Subject: [PATCH] crit: show dead task_state In some cases, CRIU can observe tasks that exit during checkpointing, and sets the state of these tasks to COMPEL_TASK_DEAD. This patch adds a string representation of this value that can be used by CRIT when decoding the images. Signed-off-by: Radostin Stoyanov --- lib/pycriu/images/pb2dict.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pycriu/images/pb2dict.py b/lib/pycriu/images/pb2dict.py index b80e3475f..f22887a52 100644 --- a/lib/pycriu/images/pb2dict.py +++ b/lib/pycriu/images/pb2dict.py @@ -154,6 +154,7 @@ flags_maps = { gen_maps = { 'task_state': { 1: 'Alive', + 2: 'Dead', 3: 'Stopped', 6: 'Zombie', },